From: Tamas Lendvay Date: Thu, 7 Nov 2019 09:55:15 +0000 (+0200) Subject: Add triggers to ci-build job. X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=0aba9396c42c50960f71ba9114ff2e65e4c6b90f;p=ci-management.git Add triggers to ci-build job. Triggers if manifest and build-tools repo changed. Signed-off-by: Tamas Lendvay Issue: REC-30 Change-Id: I8ba22ddc541c9c8d03fb95dd8ddbcdbf223b9e6b Signed-off-by: Tamas Lendvay --- diff --git a/jjb/akraino-templates/akraino-ta-common-templates.yaml b/jjb/akraino-templates/akraino-ta-common-templates.yaml index d340775..5757189 100644 --- a/jjb/akraino-templates/akraino-ta-common-templates.yaml +++ b/jjb/akraino-templates/akraino-ta-common-templates.yaml @@ -258,6 +258,23 @@ build-timeout: '{build-timeout}' jenkins-ssh-credential: '{jenkins-ssh-credential}' + triggers: + - gerrit: + server-name: '{gerrit-server-name}' + trigger-on: + - ref-updated-event + projects: + - project-compare-type: 'ANT' + project-pattern: 'ta/manifest' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + - project-compare-type: 'ANT' + project-pattern: 'ta/build-tools' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + builders: - lf-display-node-uuid - ta-builder-scm: