Fix issue with Gerrit Trigger PatchSet created excludes 58/13458/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 8 Dec 2014 17:52:13 +0000 (12:52 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 8 Dec 2014 17:52:15 +0000 (12:52 -0500)
The Gerrit Trigger plugin since 2.12.0 now supports some new fields for
the patchset created event trigger for excluding retriggering for
changes where drafts, trivial rebase, or no code changes were submitted.

It seems by default these fields are set to true so JJB which does not
set these fields causes the build to unexpectedly not retrigger for
these cases.

Change-Id: Iefd3ac10fcef075317ccc658f46ab3369329cff5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/releng-jobs.yaml
jjb/releng-macros.yaml

index ac7a2cda15d02da5278007338cca5e71806279e3..03a7a839cc077c1ab78b792aaca8ce3e6a361b2f 100644 (file)
     triggers:
         - gerrit:
             trigger-on:
-                - patchset-created-event
+                - 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'
     triggers:
         - gerrit:
             trigger-on:
-                - patchset-created-event
+                - 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'
index 568585c5a19476cf7610c138b57ba54217bd6e7e..4bab7f435c5649200060c3878f38e0cd303b4852 100644 (file)
     triggers:
         - gerrit:
             trigger-on:
-                - patchset-created-event
+                - 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'