[英]Run jenkins job without triggering downstream jobs
I have a jenkins job with a couple of downstream jobs which are triggered upon the job finishing correctly. 我有一个詹金斯(Jenkins)工作,有几个下游工作,这些工作在正确完成工作后触发。
There are times when I want to run the initial job without triggering the downstream jobs. 有时我想运行初始作业而不触发下游作业。 Is this possible? 这可能吗?
It sounds like the conditional build step plugin might be of help. 听起来, 条件构建步骤插件可能会有所帮助。 You can configure it to trigger other jobs based on various conditions, like so: 您可以将其配置为根据各种条件触发其他作业,如下所示:
Here, the conditional build step has been configured to run downstream-job
if foo.txt exists in the current workspace. 在这里,如果当前工作空间中存在foo.txt,则将条件构建步骤配置为运行downstream-job
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.