Projects can create a list of csit jobs to trigger from
the distribution created in it's distro-check job using
the variable {csit-gate-list}. If the variable doesn't
exist, this change will not affect those projects.
Also, the bool 'block_on_csit' can be set to make
distribution-check that runs csit a voting job or
not (true vs false)
Change-Id: I8a13f21f52eeb7ab001efd0abce95d64188a8bc0
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
java-version: openjdk8
mvn-version: mvn35
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 #
#####################
# Job Configuration #
dist-pom: distribution/pom.xml
- distribution-check-bootup
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}'
publishers:
- email-notification:
email-recipients: '{email-recipients}'
- gerrit-tox-verify
- odl-maven-jobs
- 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'
stream:
- neon:
branch: 'master'