简体   繁体   English

运行jenkins作业而不触发下游作业

[英]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.

相关问题 运行 jenkins 作业而不触发其下游作业 - Run a jenkins job without triggering its downstream jobs Jenkins矩阵作业未触发多个下游作业 - Jenkins matrix job not triggering multiple downstream jobs Jenkins下游作业未从“构建流程”作业中触发 - Jenkins downstream jobs not triggering from Build Flow job 如何在詹金斯中将参数作为环境变量从上游作业传递到下游作业? 无需对下游工作进行参数化 - How to pass parameter as environment variable from upstream job to downstream job in jenkins? without downstream jobs being parametrized 詹金斯下游工作在Gerrit事件上触发 - Jenkins downstream jobs triggering on Gerrit event 詹金斯(Jenkins)的工作有很多下游工作难以负担 - Jenkins job with many downstream jobs struggles to load Jenkins Pipeline:触发下游作业以便稍后运行 - Jenkins Pipeline: trigger downstream job to run later Jenkins 无需等待即可获取下游作业的 URL - Jenkins get URL of Downstream Job without Waiting 詹金斯管道下游工作-在特定阶段继续下一个工作 - Jenkins Pipeline Downstream Jobs - continue with next job at specific stage 在Jenkins中设置主作业的下游作业的内部版本号 - Set build number of downstream jobs from master job in Jenkins
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM