[英]Avoid report to verified/code-review flag for a specific Jenkins Job
I'm using Jenkins with gerrit trigger.我正在使用带有 gerrit 触发器的 Jenkins。
We have a global gerrit trigger configuration that says that if a build is marked as NOT_BUILT the plugin should overwrite verified and code-review flag on gerrit with 0.我们有一个全局 gerrit 触发器配置,它表示如果构建被标记为 NOT_BUILT,则插件应该用 0 覆盖 gerrit 上的已验证和代码审查标志。
I can't change the default configuration of the plugin but for a certain job I need to avoid that overwrite in case the build is in NOT_BUILT status.我无法更改插件的默认配置,但对于某些工作,我需要避免覆盖,以防构建处于 NOT_BUILT 状态。
Is there an easy way to achieve that without installing additional plugins?有没有一种简单的方法可以在不安装额外插件的情况下实现这一目标?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.