fix: hicn-docs jobs should skip voting 22/37422/1
authorMauro Sardara <msardara@cisco.com>
Fri, 14 Oct 2022 10:05:12 +0000 (12:05 +0200)
committerMauro Sardara <msardara@cisco.com>
Fri, 14 Oct 2022 10:05:19 +0000 (12:05 +0200)
The +1 should be given only at the end of functional tests.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ia7aa366247d9ad3c001996fc5a1ea207c764e238

jjb/hicn/hicn-docs.yaml
jjb/hicn/hicn.yaml

index 4423af8..89fb9fc 100644 (file)
@@ -54,7 +54,7 @@
           build-timeout: "{build-timeout}"
 
     triggers:
-      - gerrit-trigger-checkstyle:
+      - gerrit-trigger-checkstyle-nonvoting:
           name: "{project}"
           branch: "{branch}"
 
index 9d1dabe..135ee6a 100644 (file)
               branches:
                 - branch-compare-type: "ANT"
                   branch-pattern: "**/{branch}"
-          override-votes: true
-          gerrit-build-notbuilt-verified-value: 0
-          gerrit-build-successful-verified-value: 1
           # yamllint disable-line rule:line-length
           notbuilt-message: "Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes."
           # yamllint disable-line rule:line-length
           successful-message: "build_success-{stream}-{os}-{executor-arch}"
           skip-vote:
             successful: true
-            failed: false
-            unstable: false
-            notbuilt: false
+            failed: true
+            unstable: true
+            notbuilt: true
+          override-votes: true
+          gerrit-build-successful-verified-value: 1
+          gerrit-build-failed-verified-value: 1
+          gerrit-build-unstable-verified-value: 1
+          gerrit-build-notbuilt-verified-value: 1
 
     builders:
       - shell: !include-raw-escape: