cloud-infra: Fix triggers for docs jobs 78/3378/1
authorFatih Degirmenci <fdegir@gmail.com>
Mon, 13 Jan 2020 12:56:36 +0000 (13:56 +0100)
committerFatih Degirmenci <fdegir@gmail.com>
Mon, 13 Jan 2020 12:56:36 +0000 (13:56 +0100)
Change-Id: I692ca4c01491bcbaf2f1bc2f1d51cb390b1a35f0

jjb/cloud-infra/cloud-infra-docs.yaml

index ee9c614d016b134a277196414dcbe8b65fa1648b..caf64280baf76412a4245426c0aac3fdab61411f 100644 (file)
           clean_before: false
 
     triggers:
-      - gerrit:
-          server-name: 'Nordix Gerrit'
-          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: 'REG_EXP'
-              project-pattern: 'infra\/engine|infra\/docs'
-              branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**/{branch}'
-              disable-strict-forbidden-file-verification: 'false'
-              file-paths:
-                - compare-type: ANT
-                  pattern: 'docs/'
+      - nordix-gerrit-trigger-patchset-created:
+          project: 'infra\/engine|infra\/docs'
+          branch: '{branch}'
+          files: 'docs/**'
+          skip-vote:
+            successful: false
+            failed: false
+            unstable: false
+            notbuilt: false
           custom-url: '* $JOB_NAME $BUILD_URL'
 
     builders:
           project: 'infra\/docs'
           branch: '{branch}'
           files: 'docs/**'
+          custom-url: '* $JOB_NAME $BUILD_URL'
 
     wrappers:
       - nordixinfra-jjb-creds-wrapper