Remove triggering job on patchsets 67/1167/2
authorRicardo Noriega <rnoriega@redhat.com>
Thu, 11 Jul 2019 16:11:31 +0000 (18:11 +0200)
committerRicardo Noriega <rnoriega@redhat.com>
Mon, 15 Jul 2019 10:27:41 +0000 (12:27 +0200)
  This should only be triggered by comment keyword

Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: Ifb10ff9a2d842a16869c46b4f6f2f79aaebb2a30

jjb/akraino-templates/akraino-jjb-kni.yaml

index 207e2cf..fd39f08 100644 (file)
           build-timeout: '{build-timeout}'
           jenkins-ssh-credential: '{jenkins-ssh-credential}'
 
-    gerrit_verify_triggers:
-      - patchset-created-event:
-          exclude-drafts: false
-          exclude-trivial-rebase: false
-          exclude-no-code-change: false
-      - draft-published-event
+    gerrit_build_triggers:
       - comment-added-contains-event:
           comment-contains-value: '^build-binary'
 
     triggers:
       - gerrit:
           server-name: '{gerrit-server-name}'
-          trigger-on: '{obj:gerrit_verify_triggers}'
+          trigger-on: '{obj:gerrit_build_triggers}'
           projects:
             - project-compare-type: ANT
               project-pattern: '{project}'