The '{is-skip-vote}' is always 'true' for the jobs 11/50611/1
authordongwenjuan <dong.wenjuan@zte.com.cn>
Mon, 15 Jan 2018 06:19:28 +0000 (14:19 +0800)
committerdongwenjuan <dong.wenjuan@zte.com.cn>
Mon, 15 Jan 2018 06:19:28 +0000 (14:19 +0800)
fix it temporarily, will ask jjb team for this issue.

Change-Id: I470f7114f74123f0419d2605837742208867753e
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
jjb/doctor/doctor.yml

index 5612401..95cb476 100644 (file)
       - git-scm-gerrit
 
     triggers:
-      - 'doctor-verify':
-          project: '{project}'
-          branch: '{branch}'
-          files: 'doctor_tests/**'
-          is-skip-vote: false
+      - gerrit:
+          server-name: 'gerrit.opnfv.org'
+          trigger-on:
+            - patchset-created-event:
+                exclude-drafts: 'false'
+                exclude-trivial-rebase: 'false'
+                exclude-no-code-change: 'false'
+            - draft-published-event
+            - comment-added-contains-event:
+                comment-contains-value: 'recheck'
+            - comment-added-contains-event:
+                comment-contains-value: 'reverify'
+          projects:
+            - project-compare-type: 'ANT'
+              project-pattern: '{project}'
+              branches:
+                - branch-compare-type: 'ANT'
+                  branch-pattern: '**/{branch}'
+              file-paths:
+                - compare-type: ANT
+                  pattern: 'doctor_tests/**'
 
     builders:
       - shell: |
           project: '{project}'
           branch: '{branch}'
           files: 'doctor_tests/**'
-          is-skip-vote: true
 
     builders:
       - shell: |
                 - compare-type: ANT
                   pattern: '{files}'
           skip-vote:
-            successful: '{is-skip-vote}'
-            failed: '{is-skip-vote}'
-            unstable: '{is-skip-vote}'
-            notbuilt: '{is-skip-vote}'
+            successful: true
+            failed: true
+            unstable: true
+            notbuilt: true