简体   繁体   中英

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?

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:

在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM