首页 > 解决方案 > Avoid report to verified/code-review flag for a specific Jenkins Job

问题描述

I'm using Jenkins with gerrit trigger.

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.

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.

Is there an easy way to achieve that without installing additional plugins?

标签: jenkinsgerrit-trigger

解决方案


I suppose you don't want to "silence" the job (use the "Silent Mode" option), right?

You could try to use the "Skip Vote" option:

enter image description here

But I'm really not sure if it will work.


推荐阅读