From 65f5b4a0f8344eb4ab7badc382999036e3209da2 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Fri, 7 Oct 2016 08:18:15 -0700 Subject: [PATCH] Skip voting on merge jobs 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 --- jjb/global-macros.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index ec44e9a3e..de087dceb 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -168,6 +168,11 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' + skip-vote: + successful: true + failed: true + unstable: true + notbuilt: true # Publishers - publisher: -- 2.16.6