Exclude trivial rebases and drafts from triggering builds 77/15477/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 19 Jul 2018 14:45:10 +0000 (16:45 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 19 Jul 2018 14:47:47 +0000 (14:47 +0000)
Change-Id: Idca983dca032d4de08a7d2d578a1a6cdba653c89
Bug-AGL: SPEC-1597
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
jjb/global-macros.yaml

index 7e65998..6889cf8 100644 (file)
           server-name: 'gerrit.automotivelinux.org'
           trigger-on:
             - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
+                exclude-drafts: 'true'
+                exclude-trivial-rebase: 'true'
                 exclude-no-code-change: 'true'
             - draft-published-event
             - comment-added-contains-event:
-                comment-contains-value: 'recheck'
+                comment-contains-value: 'recheck$'
             - comment-added-contains-event:
-                comment-contains-value: 'rebuild'
+                comment-contains-value: 'rebuild$'
             - comment-added-contains-event:
-                comment-contains-value: 'reverify'
+                comment-contains-value: 'reverify$'
             - comment-added-contains-event:
-                comment-contains-value: 'RECHECK'
+                comment-contains-value: 'RECHECK$'
             - comment-added-contains-event:
-                comment-contains-value: 'REBUILD'
+                comment-contains-value: 'REBUILD$'
             - comment-added-contains-event:
-                comment-contains-value: 'REVERIFY'
+                comment-contains-value: 'REVERIFY$'
           projects:
             - project-compare-type: 'ANT'
               project-pattern: '{name}'
           server-name: 'gerrit.automotivelinux.org'
           trigger-on:
             - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
+                exclude-drafts: 'true'
+                exclude-trivial-rebase: 'true'
                 exclude-no-code-change: 'true'
             - draft-published-event
             - comment-added-contains-event:
-                comment-contains-value: 'recheck'
+                comment-contains-value: 'recheck$'
             - comment-added-contains-event:
-                comment-contains-value: 'rebuild'
+                comment-contains-value: 'rebuild$'
             - comment-added-contains-event:
-                comment-contains-value: 'reverify'
+                comment-contains-value: 'reverify$'
             - comment-added-contains-event:
-                comment-contains-value: 'RECHECK'
+                comment-contains-value: 'RECHECK$'
             - comment-added-contains-event:
-                comment-contains-value: 'REBUILD'
+                comment-contains-value: 'REBUILD$'
             - comment-added-contains-event:
-                comment-contains-value: 'REVERIFY'
+                comment-contains-value: 'REVERIFY$'
           projects:
             - project-compare-type: 'ANT'
               project-pattern: '{name}'
           server-name: 'gerrit.automotivelinux.org'
           trigger-on:
             - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
+                exclude-drafts: 'true'
+                exclude-trivial-rebase: 'true'
                 exclude-no-code-change: 'true'
             - draft-published-event
             - comment-added-contains-event:
-                comment-contains-value: 'recheck'
+                comment-contains-value: 'recheck$'
             - comment-added-contains-event:
-                comment-contains-value: 'rebuild'
+                comment-contains-value: 'rebuild$'
             - comment-added-contains-event:
-                comment-contains-value: 'reverify'
+                comment-contains-value: 'reverify$'
             - comment-added-contains-event:
-                comment-contains-value: 'RECHECK'
+                comment-contains-value: 'RECHECK$'
             - comment-added-contains-event:
-                comment-contains-value: 'REBUILD'
+                comment-contains-value: 'REBUILD$'
             - comment-added-contains-event:
-                comment-contains-value: 'REVERIFY'
+                comment-contains-value: 'REVERIFY$'
           projects:
             - project-compare-type: 'ANT'
               project-pattern: '{name}'
           server-name: 'gerrit.automotivelinux.org'
           trigger-on:
             - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
+                exclude-drafts: 'true'
+                exclude-trivial-rebase: 'true'
                 exclude-no-code-change: 'true'
             - draft-published-event
             - comment-added-contains-event:
-                comment-contains-value: 'recheck'
+                comment-contains-value: 'recheck$'
             - comment-added-contains-event:
-                comment-contains-value: 'rebuild'
+                comment-contains-value: 'rebuild$'
             - comment-added-contains-event:
-                comment-contains-value: 'reverify'
+                comment-contains-value: 'reverify$'
             - comment-added-contains-event:
-                comment-contains-value: 'RECHECK'
+                comment-contains-value: 'RECHECK$'
             - comment-added-contains-event:
-                comment-contains-value: 'REBUILD'
+                comment-contains-value: 'REBUILD$'
             - comment-added-contains-event:
-                comment-contains-value: 'REVERIFY'
+                comment-contains-value: 'REVERIFY$'
           projects:
             - project-compare-type: 'ANT'
               project-pattern: '{name}'
           server-name: 'gerrit.automotivelinux.org'
           trigger-on:
             - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
+                exclude-drafts: 'true'
+                exclude-trivial-rebase: 'true'
                 exclude-no-code-change: 'true'
             - draft-published-event
             - comment-added-contains-event:
-                comment-contains-value: 'recheck'
+                comment-contains-value: 'recheck$'
             - comment-added-contains-event:
-                comment-contains-value: 'rebuild'
+                comment-contains-value: 'rebuild$'
             - comment-added-contains-event:
-                comment-contains-value: 'reverify'
+                comment-contains-value: 'reverify$'
             - comment-added-contains-event:
-                comment-contains-value: 'RECHECK'
+                comment-contains-value: 'RECHECK$'
             - comment-added-contains-event:
-                comment-contains-value: 'REBUILD'
+                comment-contains-value: 'REBUILD$'
             - comment-added-contains-event:
-                comment-contains-value: 'REVERIFY'
+                comment-contains-value: 'REVERIFY$'
           projects:
             - project-compare-type: 'ANT'
               project-pattern: '{name}'
           server-name: 'gerrit.automotivelinux.org'
           trigger-on:
             - patchset-created-event:
-                exclude-drafts: 'false'
-                exclude-trivial-rebase: 'false'
+                exclude-drafts: 'true'
+                exclude-trivial-rebase: 'true'
                 exclude-no-code-change: 'false'
             - draft-published-event
             - comment-added-contains-event:
-                comment-contains-value: 'recheck'
+                comment-contains-value: 'recheck$'
             - comment-added-contains-event:
-                comment-contains-value: 'reverify'
+                comment-contains-value: 'reverify$'
           projects:
             - project-compare-type: 'ANT'
               project-pattern: '{name}'