From: Ricardo Noriega Date: Thu, 11 Jul 2019 16:11:31 +0000 (+0200) Subject: Remove triggering job on patchsets X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F67%2F1167%2F2;p=ci-management.git Remove triggering job on patchsets This should only be triggered by comment keyword Signed-off-by: Ricardo Noriega Change-Id: Ifb10ff9a2d842a16869c46b4f6f2f79aaebb2a30 --- diff --git a/jjb/akraino-templates/akraino-jjb-kni.yaml b/jjb/akraino-templates/akraino-jjb-kni.yaml index 207e2cf..fd39f08 100644 --- a/jjb/akraino-templates/akraino-jjb-kni.yaml +++ b/jjb/akraino-templates/akraino-jjb-kni.yaml @@ -590,12 +590,7 @@ 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' @@ -612,7 +607,7 @@ 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}'