Jenkins - passing variables between jobs?

前端 未结 10 1659
你的背包
你的背包 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:30

    You can use Hudson Groovy builder to do this.

    First Job in pipeline

    enter image description here

    Second job in pipeline

    enter image description here

提交回复
热议问题