Making Jenkins (Hudson) job depend on another job

前端 未结 4 695
遇见更好的自我
遇见更好的自我 2021-02-12 07:58

I have two jobs:

  1. Upload
  2. Launch-instance

I want to make Launch-instance dependent on the other one, so that trig

4条回答
  •  一整个雨季
    2021-02-12 08:48

    Running dependent job via wget is not a general solution. Since jobs are run asynchornnously your Launch-job will not be hang and wait for Upload job for a completion. using sleep is just a dirty hack and is not an option for most cases... IMHO the best solution is to use: http://wiki.jenkins-ci.org/display/JENKINS/Join+Plugin

提交回复
热议问题