How do I trigger another job from hudson as a pre-build step?

后端 未结 4 1614
迷失自我
迷失自我 2020-12-01 05:46

How do I trigger another job from hudson as a pre-build step?

4条回答
  •  心在旅途
    2020-12-01 06:20

    I have the same issue and I found a way to do:

    I am using jenkins version jenkins-1.452-1.1.

    Say I have job A and B, and Job A is depending on job B. When building job B, I want A triggered automatically, and B is blocked until A build successfully.

    When define build configuration in build section, I add 'trigger build on other projects'. then fill the form.

提交回复
热议问题