Jenkins - passing variables between jobs?

前端 未结 10 1662
你的背包
你的背包 2020-11-28 06:53

I have two jobs in jenkins, both of which need the same parameter.

How can I run the first job with a parameter so that when it triggers the second job, the same pa

10条回答
  •  悲哀的现实
    2020-11-28 07:36

    You can use Parameterized Trigger Plugin which will let you pass parameters from one task to another.

    You need also add this parameter you passed from upstream in downstream.

提交回复
热议问题