Merge "Enable merge jobs to trigger downstream job"
authorEric Ball <eball@linuxfoundation.org>
Thu, 18 Jul 2019 00:57:23 +0000 (00:57 +0000)
committerGerrit Code Review <gerrit@akraino.org>
Thu, 18 Jul 2019 00:57:23 +0000 (00:57 +0000)
jjb/akraino-templates/akraino-ta-common-macros.yaml
jjb/akraino-templates/akraino-ta-common-templates.yaml

index 8ed76b5..24436b9 100644 (file)
 - 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
index f0e868b..e1ecc08 100644 (file)
           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}'