Stop triggering on draft contributions to Integration
[releng/builder.git] / jjb / integration / integration-macros.yaml
index f963636680ced6899270625c82e4464a53e96063..8930da462cae774670d25930d7a1f089df671194 100644 (file)
@@ -59,7 +59,7 @@
     parameters:
         - string:
             name: PATCHREFSPEC
-            default: ''
+            default: '{branch}'
             description: 'Integration Patch Refspec'
 
 - scm:
@@ -86,6 +86,7 @@
             branches:
                 - 'origin/{branch}'
             skip-tag: true
+
 - scm:
     name: integration-patch-scm
     scm:
             server-name: 'OpenDaylight'
             trigger-on:
                 - patchset-created-event:
-                    exclude-drafts: 'false'
+                    exclude-drafts: 'true'
                     exclude-trivial-rebase: 'false'
                     exclude-no-code-change: 'false'
                 - draft-published-event
             server-name: 'OpenDaylight'
             trigger-on:
                 - patchset-created-event:
-                    exclude-drafts: 'false'
+                    exclude-drafts: 'true'
                     exclude-trivial-rebase: 'false'
                     exclude-no-code-change: 'false'
                 - draft-published-event
             server-name: 'OpenDaylight'
             trigger-on:
                 - patchset-created-event:
-                    exclude-drafts: 'false'
+                    exclude-drafts: 'true'
                     exclude-trivial-rebase: 'false'
                     exclude-no-code-change: 'false'
                 - draft-published-event