X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fdistribution%2Fdistribution-jobs.yaml;h=1ffd0ea7d9d4680920ff929e00d312b5aa9b1f91;hb=f93289b1fc422b77fcd00cfebe848c4eac982284;hp=d7a3b7e0d1fc30fe2d5803df7a9eacd1e131a1ef;hpb=f1da08779f5d366d56085b6dab703c72a3acdf5b;p=releng%2Fbuilder.git diff --git a/jjb/integration/distribution/distribution-jobs.yaml b/jjb/integration/distribution/distribution-jobs.yaml index d7a3b7e0d..1ffd0ea7d 100644 --- a/jjb/integration/distribution/distribution-jobs.yaml +++ b/jjb/integration/distribution/distribution-jobs.yaml @@ -6,7 +6,7 @@ name: 'distribution-verify-{stream}' project-type: freestyle - node: centos7-java-builder-2c-8g + node: centos7-builder-8c-8g concurrent: true jdk: '{jre}' @@ -20,7 +20,7 @@ project: '{project}' branch: '{branch}' refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof' + artifacts: '{archive-artifacts}' - integration-patch-refspec: branch: '$GERRIT_REFSPEC' @@ -35,7 +35,7 @@ triggers: - gerrit-trigger-patch-submitted: - server: '{server-name}' + gerrit-server-name: '{gerrit-server-name}' project: '{project}' branch: '{branch}' files: '**' @@ -43,7 +43,7 @@ builders: - wipe-org-opendaylight-repo - provide-maven-settings: - global-settings-file: 'odl-global-settings' + global-settings-file: 'global-settings' settings-file: 'integration-settings' - maven-target: maven-version: mvn33 @@ -51,19 +51,20 @@ goals: | clean install dependency:tree -DoutputFile=dependency_tree.txt -Dstream={stream} + -Dsft.heap.max=4g {opendaylight-infra-mvn-opts} + # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT. java-opts: - '-Xmx1024m -XX:MaxPermSize=256m' settings: integration-settings settings-type: cfp - global-settings: odl-global-settings + global-settings: global-settings global-settings-type: cfp publishers: - findbugs - - jacoco-report - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - lf-jacoco-report + - lf-infra-publish - email-notification: email-recipients: '{email-recipients}' email-prefix: '[int/dist]' @@ -77,7 +78,7 @@ # https://issues.apache.org/jira/browse/MNG-5666 project-type: maven - node: '{build-node}' + node: 'centos7-builder-8c-8g' jdk: '{jre}' properties: @@ -90,7 +91,7 @@ project: '{project}' branch: '{branch}' refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof **/target/surefire-reports/*-output.txt' + artifacts: '{archive-artifacts}' - distribution-karaf-version: karaf-version: '{karaf-version}' @@ -105,7 +106,7 @@ triggers: - gerrit-trigger-patch-merged: - server-name: '{server-name}' + gerrit-server-name: '{gerrit-server-name}' name: 'integration/distribution' branch: '{branch}' @@ -113,7 +114,7 @@ - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: 'odl-global-settings' + global-settings-file: 'global-settings' settings-file: 'integration-settings' - integration-set-variables - distribute-build-url: @@ -125,11 +126,12 @@ goals: > clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r + -Dsft.heap.max=4g -Djenkins -Dmerge -Dstream={stream} maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: 'integration-settings' settings-type: cfp - global-settings: 'odl-global-settings' + global-settings: 'global-settings' global-settings-type: cfp postbuilders: @@ -153,7 +155,7 @@ - '-Xmx2g' settings: 'integration-settings' settings-type: cfp - global-settings: 'odl-global-settings' + global-settings: 'global-settings' global-settings-type: cfp - maven-target: maven-version: 'mvn33' @@ -163,7 +165,7 @@ - '-Xmx2g' settings: 'integration-settings' settings-type: cfp - global-settings: 'odl-global-settings' + global-settings: 'global-settings' global-settings-type: cfp - integration-compare-distributions # TODO: the output of the above command is not *friendly* for the reader because the most important info @@ -178,22 +180,32 @@ id: '' unique-version: true deploy-unstable: false - - jacoco-report - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - lf-jacoco-report + - lf-infra-publish - email-notification: email-recipients: '{email-recipients}' email-prefix: '[int/dist]' - job-template: name: 'distribution-check-{stream}' - # Like a {project}-distribution-check, but one step less as there is no upstream project involved. + + ###################### + # Default parameters # + ###################### + + mvn-version: mvn33 + + ##################### + # Job Configuration # + ##################### + + # Like a {project}-distribution-check, but few steps less as there is no upstream project involved. disabled: false project-type: freestyle - node: '{build-node}' + node: 'centos7-builder-8c-8g' concurrent: true - jdk: '{jdk}' + jdk: '{java-version}' properties: - opendaylight-infra-properties: @@ -205,7 +217,7 @@ project: '{project}' branch: '{branch}' refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts} **/dependency_tree.txt **/target/surefire-reports/*-output.txt' + artifacts: '{archive-artifacts}' - distribution-karaf-version: karaf-version: '{karaf-version}' - maven-exec: @@ -228,7 +240,7 @@ triggers: - gerrit-trigger-patch-submitted: - server: '{server-name}' + gerrit-server-name: '{gerrit-server-name}' project: '{project}' branch: '{branch}' files: '**' @@ -238,32 +250,30 @@ - distribution-check-build-project: pom: 'distribution/pom.xml' mvn-opts: '{opendaylight-infra-mvn-opts}' + mvn-version: '{mvn-version}' + # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT. - distribution-check-verify-groupid: gerrit-project: 'integration' - distribution-check-delete-snapshots - distribution-check-configure-remotes - - distribution-check-repeat-build: - dist-pom: 'distribution/pom.xml' + - distribution-check-repeat-project-build: + pom: 'distribution/pom.xml' mvn-opts: '{opendaylight-infra-mvn-opts}' + mvn-version: '{mvn-version}' + # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT. + - integration-set-variables + - distribution-check-warn-9191 + - distribution-check-warn-9192 - integration-upload-distribution: dist-pom: distribution/pom.xml - - integration-distribution-check + - distribution-check-bootup publishers: - email-notification: email-recipients: '{email-recipients}' email-prefix: '[{project-name}]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: false - script-only-if-failed: false - mark-unstable-if-failed: true - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - integration-csit-archive-build + - lf-infra-publish - job-template: name: 'distribution-deploy-{stream}' @@ -272,7 +282,7 @@ # FIXME: List required variables. project-type: freestyle - node: centos7-java-builder-2c-8g + node: centos7-builder-4c-4g concurrent: false properties: @@ -285,7 +295,7 @@ project: '{project}' branch: '{branch}' refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts} **/*.hprof' + artifacts: '{archive-artifacts}' - integration-distribution-branch: branch: '{branch}' - integration-bundle-url: @@ -309,8 +319,7 @@ email-recipients: '{email-recipients}' email-prefix: '[int/dist]' - integration-csit-archive-build - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - lf-infra-publish - job-template: name: 'distribution-offline-{stream}' @@ -319,7 +328,7 @@ # FIXME: List required variables. project-type: freestyle - node: centos7-java-builder-2c-8g + node: centos7-builder-4c-4g concurrent: false properties: @@ -332,7 +341,7 @@ project: '{project}' branch: '{branch}' refspec: 'refs/heads/{branch}' - artifacts: '{archive-artifacts} **/*.hprof' + artifacts: '{archive-artifacts}' - integration-distribution-branch: branch: '{branch}' - integration-bundle-url: @@ -356,178 +365,4 @@ email-recipients: '{email-recipients}' email-prefix: '[int/dist]' - integration-csit-archive-build - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' - -# Delete these when Karaf 4 becomes Carbon default. - -# TODO: Is there a way to de-duplicate with generic template parts? - -- job-template: - name: 'distribution4-check-carbon' - disabled: false - - project-type: freestyle - node: '{build-node}' - concurrent: true - jdk: '{jdk}' - - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' - - parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: '{project}' - branch: stable/carbon - refspec: refs/heads/stable/carbon - artifacts: '{archive-artifacts} **/dependency_tree.txt **/target/surefire-reports/*-output.txt' - - distribution-karaf-version: - karaf-version: karaf4 - - maven-exec: - maven-version: mvn33 - - scm: - - integration-gerrit-scm: - basedir: distribution - refspec: '$GERRIT_REFSPEC' - branch: stable/carbon - - wrappers: - - opendaylight-infra-wrappers: - # Distro-check jobs typically run within 10 - 30 minutes - # with 45 minutes being the occassional edge case. - # enforce a 60 minute limit to ensure stuck jobs get - # cleared up sooner. - # Double that as Karaf 3+4 may take longer. - build-timeout: '120' - - triggers: - - gerrit-trigger-patch-submitted: - server: '{server-name}' - project: '{project}' - branch: 'stable/carbon' - files: '**' - - builders: - - distribution-check-wipe - - distribution-check-build-project: - pom: 'distribution/pom.xml' - mvn-opts: '{opendaylight-infra-mvn-opts}' - - distribution-check-verify-groupid: - gerrit-project: 'integration' - - distribution-check-delete-snapshots - - distribution-check-configure-remotes - - distribution-check-repeat-build: - dist-pom: 'distribution/pom.xml' - mvn-opts: '{opendaylight-infra-mvn-opts}' - - integration-upload-distribution: - dist-pom: distribution/pom.xml - - integration-distribution-check - - publishers: - - email-notification: - email-recipients: '{email-recipients}' - email-prefix: '[{project-name}]' - - postbuildscript: - builders: - - shell: | - #!/bin/bash - mkdir -p $WORKSPACE/archives - cp karaf*.log $WORKSPACE/archives - script-only-if-succeeded: false - script-only-if-failed: false - mark-unstable-if-failed: true - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' - -- job-template: - name: 'distribution4-deploy-carbon' - disabled: false - - project-type: freestyle - node: centos7-java-builder-2c-8g - concurrent: false - - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' - - parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: '{project}' - branch: 'stable/carbon' - refspec: 'refs/heads/stable/carbon' - artifacts: '{archive-artifacts} **/*.hprof' - - integration-distribution-branch: - branch: 'stable/carbon' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-jdk-version: - jdkversion: '{jre}' - - distribution-karaf-version: - karaf-version: karaf4 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - # TODO: Trigger from sanity (instead of weekly) when this job is stable for {stream}. - - builders: - - distribution-deploy-verify - - publishers: - - email-notification: - email-recipients: '{email-recipients}' - email-prefix: '[int/dist]' - - integration-csit-archive-build - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' - -- job-template: - name: 'distribution4-offline-carbon' - disabled: false - - project-type: freestyle - node: centos7-java-builder-2c-8g - concurrent: false - - properties: - - opendaylight-infra-properties: - build-days-to-keep: '{build-days-to-keep}' - - parameters: - - opendaylight-infra-parameters: - os-cloud: '{os-cloud}' - project: '{project}' - branch: 'stable/carbon' - refspec: 'refs/heads/stable/carbon' - artifacts: '{archive-artifacts} **/*.hprof' - - integration-distribution-branch: - branch: 'stable/carbon' - - integration-bundle-url: - bundle-url: '{bundle-url}' - - integration-jdk-version: - jdkversion: '{jre}' - - distribution-karaf-version: - karaf-version: karaf4 - - wrappers: - - opendaylight-infra-wrappers: - build-timeout: '{build-timeout}' - - # TODO: Trigger from sanity (instead of weekly) when this job is stable for {stream}. - - builders: - - distribution-deploy-offline - - publishers: - - email-notification: - email-recipients: '{email-recipients}' - email-prefix: '[int/dist]' - - integration-csit-archive-build - - opendaylight-infra-shiplogs: - maven-version: 'mvn33' + - lf-infra-publish