Merge "Set triggers for integration jobs & adjust offline job"
[releng/builder.git] / jjb / integration / integration-jobs.yaml
index 0386cb487c68c984b5057bd61954b6041d162bab..189f1be668fb04c1ce1e863edfe0f4bd1f886259 100644 (file)
 
     jdk: 'openjdk7'
 
-# For the Job templates below replace instances of:
-# PROJECT with your project name (eg. controller)
-# MAVEN_GOALS with your maven goals to build
-# MAVEN_OPTS with your maven options to build
+    # Trigger jobs (upstream dependencies)
+    trigger-jobs: 'odlparent-distribution-{stream},yangtools-distribution-{stream},controller-distribution-{stream},aaa-distribution-{stream},integration-distribution-merge-{stream}'
 
 - job-template:
     name: 'integration-csit-verify-{stream}'
                 - '{ssh-credentials}'
 
     triggers:
-        - timed: 'H H * * *'
+        - reverse:
+            jobs: '{trigger-jobs}'
+            result: 'success'
 
     builders:
         - integration-deploy-controller-offline