Marking upstream Jenkins/Hudson as failed if downstream job fails

后端 未结 4 1329
-上瘾入骨i
-上瘾入骨i 2021-02-18 22:46

I am using Parameterized Trigger Plugin to trigger a downstream build.

How do I specify that my upstream job should fail if the downstream fails? The upstream job is

4条回答
  •  太阳男子
    2021-02-18 23:26

    Make sure you are using the correct step to execute your downstream jobs; I discovered that since I was executing mine as a "post build step", I didn't have the "Block until the triggered projects finish their builds" option. Changing that to "build task" as opposed to a "post build task", allowed me to find the options you are looking for within the Parameterized Trigger Plugin.

提交回复
热议问题