Merge "Add apex csit job to be triggered on distro-check"
authorSam Hague <shague@redhat.com>
Tue, 30 Oct 2018 20:21:26 +0000 (20:21 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 30 Oct 2018 20:21:26 +0000 (20:21 +0000)
jjb/integration/distribution/distribution-templates.yaml
jjb/netvirt/netvirt.yaml

index ece5c1073cc6aecac37b2c15d9ad47a7c4567580..fb4237169d7b7c143a9362775207699c05df6905 100644 (file)
 
     java-version: openjdk8
     mvn-version: mvn35
+    csit-gate-list: ''
+    block_on_csit: false
+    # Unless block_on_csit is true, the failure-threshold will be ignored. For project jobs that
+    # want to fail distribution check on csit jobs, they will only need a list of jobs to run
+    # plus the change of block_on_csit to true, and this failure-threshold: 'UNSTABLE' will take
+    # effect
+    failure-threshold: 'UNSTABLE'
 
     #####################
     # Job Configuration #
           dist-pom: distribution/pom.xml
       - distribution-check-bootup
 
+      - trigger-builds:
+          - project: '{csit-gate-list}'
+            block: '{obj:block_on_csit}'
+            block-thresholds:
+              failure-threshold: '{failure-threshold}'
+            predefined-parameters: |
+              BUNDLE_URL=$BUNDLE_URL
+              KARAF_VERSION=$KARAF_VERSION
+
     publishers:
       - email-notification:
           email-recipients: '{email-recipients}'
index c75f3620751ece9dc5a7406c2b18ed2f84e38ab6..104af96941c508b26704bafb0fb1fbe48db63455 100644 (file)
@@ -13,6 +13,9 @@
       - gerrit-tox-verify
       - odl-maven-jobs
 
+    csit-gate-list: 'netvirt-csit-1node-0cmb-1ctl-2cmp-apex-queens-gate-snat-conntrack-{stream}'
+    block_on_csit: false
+
     stream:
       - neon:
           branch: 'master'