X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fdistribution%2Fdistribution-templates.yaml;h=b12ff84cedc63ccc1e53456de67f5f3668ed59f1;hb=7581f24dee995645d3ca2d1b089b5c4047553e54;hp=b86d2dd8f01f06f4b1c99bc9368f4449616cd47b;hpb=da1033c2034891dc078562a6a490563c925888d0;p=releng%2Fbuilder.git diff --git a/jjb/integration/distribution/distribution-templates.yaml b/jjb/integration/distribution/distribution-templates.yaml index b86d2dd8f..b12ff84ce 100644 --- a/jjb/integration/distribution/distribution-templates.yaml +++ b/jjb/integration/distribution/distribution-templates.yaml @@ -1,7 +1,4 @@ --- -- project: - name: distribution-templates - - job-template: name: '{project-name}-distribution-check-{stream}' @@ -11,6 +8,14 @@ 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 # @@ -19,7 +24,7 @@ # 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' @@ -106,6 +111,15 @@ 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}' @@ -116,10 +130,13 @@ - 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: @@ -152,7 +169,7 @@ builders: - wipe-org-opendaylight-repo - - provide-maven-settings: + - lf-provide-maven-settings: global-settings-file: 'global-settings' settings-file: 'integration-settings' - maven-target: @@ -188,9 +205,12 @@ # 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: @@ -227,8 +247,8 @@ 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 @@ -276,7 +296,7 @@ ###################### # Default parameters # ###################### - + disable-job: false mvn-version: mvn35 ##################### @@ -284,7 +304,7 @@ ##################### # 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' @@ -358,7 +378,7 @@ - distribution-check-warn-9191 - distribution-check-warn-9192 - integration-upload-distribution: - dist-pom: distribution/pom.xml + dist-pom: '{dist-pom}' - distribution-check-bootup publishers: @@ -375,7 +395,7 @@ # 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: @@ -397,8 +417,12 @@ 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: @@ -425,9 +449,12 @@ # 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: @@ -465,4 +492,3 @@ email-prefix: '[{project-name}]' - integration-csit-archive-build - lf-infra-publish -