Avoid report to verified/code-review flag for a specific Jenkins Job

231 Views Asked by At

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?

1

There are 1 best solutions below

2
On BEST ANSWER

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.