Copying artifacts from multiple upstream jobs at join in Jenkins

后端 未结 2 897
死守一世寂寞
死守一世寂寞 2020-12-20 18:48

Is it possible to have a Jenkins Job with has been triggered by the Join plugin copy artifacts from multiple upstream jobs?

I\'m trying to set-up a Jenkins configurat

2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-20 19:19

    If your builds are parameterized with a unique parameter for each run of the join-diamond, you can use that parameter in the CopyArtifact plugin to determine which build to copy from. You would want to specify "Latest successful build" and qualify it with the parameter and value.

    We have a similar situation where I work; multiple simultaneous runs of a join-diamond. The parameter in the build allows the downstream jobs to get the correct artifacts from the upstream jobs.

提交回复
热议问题