---
-- project:
- name: distribution-templates
-
- job-template:
name: '{project-name}-distribution-check-{stream}'
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'
+ disable-job: false
#####################
# Job Configuration #
# Operation: This job template builds a patch, creates a distribution containing
# the patch (making sure dependencies are specified),
# and performs the distribution deploy test.
- disabled: false
+ disabled: '{disable-job}'
project-type: freestyle
node: 'centos7-builder-8c-8g'
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}'
- job-template:
name: 'distribution-verify-{type}-{stream}'
+ disable-job: 'false'
+
project-type: freestyle
node: centos7-builder-8c-8g
concurrent: true
jdk: '{java-version}'
+ disabled: '{disable-job}'
properties:
- opendaylight-infra-properties:
builders:
- wipe-org-opendaylight-repo
- - provide-maven-settings:
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- maven-target:
# separate lifecycle:
# https://issues.apache.org/jira/browse/MNG-5666
+ disable-job: false
+
project-type: maven
node: 'centos7-builder-8c-8g'
jdk: '{java-version}'
+ disabled: '{disable-job}'
properties:
- opendaylight-infra-properties:
prebuilders:
- wipe-org-opendaylight-repo
- - jacoco-nojava-workaround
- - provide-maven-settings:
+ - lf-jacoco-nojava-workaround
+ - lf-provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: 'integration-settings'
- integration-set-variables
######################
# Default parameters #
######################
-
+ disable-job: false
mvn-version: mvn35
#####################
#####################
# Like a {project}-distribution-check, but few steps less as there is no upstream project involved.
- disabled: false
+ disabled: '{disable-job}'
project-type: freestyle
node: 'centos7-builder-8c-8g'
# This job works for both managed & self-managed distro.
project-type: freestyle
- node: centos7-builder-4c-4g
+ node: centos7-builder-2c-8g
concurrent: false
properties:
bundle-url: '{bundle-url}'
- integration-repo-url:
repo-url: '{sm-repos}'
- - integration-controller-features:
+ - integration-controller-parameters:
controller-features: '{sm-features}'
+ # Parameters below are unused in this job so set them all to blank
+ controller-debug-map: ''
+ controller-scope: ''
+ controller-use-features-boot: ''
- integration-jdk-version:
jdkversion: '{jre}'
- distribution-karaf-version:
# Operation: This job deploys odl-integration-all.
# This job works for just managed distro.
+ disable-job: false
+
project-type: freestyle
node: centos7-builder-4c-4g
concurrent: false
+ disabled: '{disable-job}'
properties:
- opendaylight-infra-properties:
email-prefix: '[{project-name}]'
- integration-csit-archive-build
- lf-infra-publish
-