Skip voting on merge jobs 17/3317/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 7 Oct 2016 15:18:15 +0000 (08:18 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 7 Oct 2016 15:18:15 +0000 (08:18 -0700)
As of Gerrit 2.13 we get an error if we vote on a change that has been
merged. As the votes couldn't be before, nor now, changed after Gerrit
submission has been merged (closed) there is no point in voting.

Change-Id: I267cc0db3ca8515056bd0c428ffbdbc7879509c1
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/global-macros.yaml

index ec44e9a..de087dc 100644 (file)
                   branches:
                     - branch-compare-type: 'ANT'
                       branch-pattern: '**/{branch}'
+            skip-vote:
+                successful: true
+                failed: true
+                unstable: true
+                notbuilt: true
 
 # Publishers
 - publisher: