X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fdistribution%2Fdistribution-templates.yaml;h=b7019f85492e06c48f1160bd88820ba3061593a2;hb=e1cc5b83666733a7cdc47bb3f42b75cd7a7c8f9e;hp=b86d2dd8f01f06f4b1c99bc9368f4449616cd47b;hpb=059ac90cc129c285403afa50872e8858e07d9597;p=releng%2Fbuilder.git diff --git a/jjb/integration/distribution/distribution-templates.yaml b/jjb/integration/distribution/distribution-templates.yaml index b86d2dd8f..b7019f854 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}' @@ -9,8 +6,15 @@ # Default parameters # ###################### - 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,12 +23,11 @@ # 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' concurrent: true - jdk: '{java-version}' properties: - opendaylight-infra-properties: @@ -73,6 +76,8 @@ builders: - distribution-check-wipe + - lf-update-java-alternatives: + java-version: '{java-version}' - inject: properties-file: 'allowed_projects.txt' - distribution-check-build-project: @@ -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,12 @@ - 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,9 +168,11 @@ builders: - wipe-org-opendaylight-repo - - provide-maven-settings: + - lf-provide-maven-settings: global-settings-file: 'global-settings' settings-file: 'integration-settings' + - lf-update-java-alternatives: + java-version: '{java-version}' - maven-target: maven-version: mvn35 pom: pom.xml @@ -166,7 +184,7 @@ {profile} # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT. java-opts: - - '-Xmx1024m -XX:MaxPermSize=256m' + - '-Xmx1024m' settings: integration-settings settings-type: cfp global-settings: global-settings @@ -188,9 +206,11 @@ # 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,10 +247,12 @@ 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' + - lf-update-java-alternatives: + java-version: '{java-version}' - integration-set-variables - distribute-build-url: path: '$KARAF_ARTIFACT/src/main/assembly' @@ -244,7 +266,7 @@ -Dsft.heap.max=4g -Djenkins -Dmerge -Dstream={stream} {profile} - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' + maven-opts: '-Xmx1024m' settings: integration-settings settings-type: cfp global-settings: global-settings @@ -276,7 +298,7 @@ ###################### # Default parameters # ###################### - + disable-job: false mvn-version: mvn35 ##################### @@ -284,12 +306,11 @@ ##################### # 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' concurrent: true - jdk: '{java-version}' properties: - opendaylight-infra-properties: @@ -334,6 +355,8 @@ builders: - distribution-check-wipe + - lf-update-java-alternatives: + java-version: '{java-version}' - inject: properties-file: 'allowed_projects.txt' - distribution-check-build-project: @@ -358,7 +381,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 +398,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 +420,14 @@ 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-max-mem: '' + controller-debug-map: '' + controller-scope: '' + controller-use-features-boot: '' + feature-elasticsearch-attribute: '{elasticsearch-attribute}' - integration-jdk-version: jdkversion: '{jre}' - distribution-karaf-version: @@ -425,9 +454,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 +497,3 @@ email-prefix: '[{project-name}]' - integration-csit-archive-build - lf-infra-publish -