How do I make a Jenkins job start after multiple simultaneous upstream jobs succeed?

前端 未结 6 1139
天命终不由人
天命终不由人 2020-11-28 19:07

In order to get the fastest feedback possible, we occasionally want Jenkins jobs to run in Parallel. Jenkins has the ability to start multiple downstream jobs (or \'fork\' t

6条回答
  •  执念已碎
    2020-11-28 19:44

    The Multijob plugin works beautifully for that scenario. It also comes in handy if you want a single "parent" job to kick off multiple "child" jobs but still be able to execute each of the children manually, by themselves. This works by creating "phases", to which you add 1 to n jobs. The build only continues when the entire phase is done, so if a phase as multiple jobs they all must complete before the rest are executed. Naturally, it is configurable whether the build continues if there is a failure within the phase.

提交回复
热议问题