From: Eric Ball Date: Thu, 18 Jul 2019 00:57:23 +0000 (+0000) Subject: Merge "Enable merge jobs to trigger downstream job" X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=e2ba355c1af4c10253e4d89554dd2e31a31af6e0;hp=6d3812bc897daa7198cbb2e5ba3bcd4a959c4864 Merge "Enable merge jobs to trigger downstream job" --- diff --git a/jjb/akraino-templates/akraino-ta-common-macros.yaml b/jjb/akraino-templates/akraino-ta-common-macros.yaml index 8ed76b5..24436b9 100644 --- a/jjb/akraino-templates/akraino-ta-common-macros.yaml +++ b/jjb/akraino-templates/akraino-ta-common-macros.yaml @@ -287,9 +287,13 @@ - publisher: name: ta-publisher-job-verify publishers: - - lf-infra-publish + - lf-infra-publish - publisher: name: ta-publisher-job-merge publishers: - - lf-infra-publish + - lf-infra-publish + - trigger-parameterized-builds: + - project: 'ta-ci-build' + condition: UNSTABLE_OR_BETTER + trigger-with-no-params: true diff --git a/jjb/akraino-templates/akraino-ta-common-templates.yaml b/jjb/akraino-templates/akraino-ta-common-templates.yaml index f0e868b..e1ecc08 100644 --- a/jjb/akraino-templates/akraino-ta-common-templates.yaml +++ b/jjb/akraino-templates/akraino-ta-common-templates.yaml @@ -251,11 +251,6 @@ build-timeout: '{build-timeout}' jenkins-ssh-credential: '{jenkins-ssh-credential}' - # TODO: define how it should be triggered - # Ideally should build whenever RPM is uploaded to nexus - triggers: - - timed: "@daily" - builders: - ta-builder-scm: git-url: '{git-url}'