如何在 Jenkins 流水线上使用 BuildBlockerProperty

时间:2021-03-11 15:33:28

标签: jenkins jenkins-pipeline

我尝试使用 Jenkins 的流水线语法代码生成器。 它在执行检索错误时产生一个 property 块,Pipeline 不支持 property

尝试将生成的 BuildBlockProperty 代码转换为 option 仍然无效。

我喜欢 Build Blocker Plugin 提供的功能,我想在 Pipeline 上使用相同的方式。 当其他作业(并发或优先)正在执行时,在队列中阻塞整个管道。

对于可锁定资源,部分管道开始填充执行程序。

0 个答案:

没有答案