X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Freservation%2Freservation.yaml;h=fa5fcfd0b610652e8d033ceac639025b30c9ef9b;hb=5cf5961a3b764c82fbc22d1a03e6bff1aedbb7b5;hp=b56a4a4f7d87db9ae74379cc660e04d970bc12e8;hpb=9d3411a2306a1888938519663483b47b04d26182;p=releng%2Fbuilder.git diff --git a/jjb/reservation/reservation.yaml b/jjb/reservation/reservation.yaml index b56a4a4f7..20579ba49 100644 --- a/jjb/reservation/reservation.yaml +++ b/jjb/reservation/reservation.yaml @@ -6,34 +6,49 @@ - project: name: reservation jobs: + - '{name}-clm-{stream}' + - '{name}-distribution-{stream}' + - '{name}-distribution-check-{stream}' + - '{name}-integration-{stream}' + - '{name}-periodic-{stream}' + - '{name}-validate-autorelease-{stream}' - 'reservation-verify-{stream}' - 'reservation-merge-{stream}' - - 'reservation-daily-{stream}' - - 'reservation-distribution-{stream}' - - 'reservation-integration-{stream}' - 'reservation-sonar' - - 'reservation-clm-{stream}' - - 'reservation-validate-autorelease-{stream}' # stream: release stream (eg. stable-lithium or beryllium) # branch: git branch (eg. stable/lithium or master) stream: - - beryllium: + - boron: branch: 'master' + jdk: openjdk8 + jdks: + - openjdk8 + disable_autorelease: False + disable_distribution_check: False + - beryllium: + branch: 'stable/beryllium' jdk: openjdk7 jdks: - openjdk7 - openjdk8 - autorelease: False + disable_autorelease: False + disable_distribution_check: False - stable-lithium: branch: 'stable/lithium' jdk: openjdk7 jdks: - openjdk7 - autorelease: False + disable_autorelease: True + disable_distribution_check: True project: 'reservation' + mvn-settings: 'reservation-settings' + mvn-goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + mvn-opts: '-Xmx1024m -XX:MaxPermSize=256m' + dependencies: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},groupbasedpolicy-merge-{stream}' + email-upstream: '[reservation] [odlparent] [controller] [yangtools] [groupbasedpolicy]' # For the Job templates below replace instances of: # PROJECT_SHORTNAME with your project name (eg. circuitsw) @@ -67,28 +82,23 @@ values: '{obj:jdks}' logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + daysToKeep: '14' parameters: - - project-parameter: + - opendaylight-infra-parameters: project: '{project}' - - gerrit-parameter: branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' scm: - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' refspec: '$GERRIT_REFSPEC' choosing-strategy: 'gerrit' wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - gerrit-trigger-patch-submitted: @@ -96,25 +106,30 @@ branch: '{branch}' builders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{reservation-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'reservation-settings' - maven-target: maven-version: '{mvn33}' pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' java-opts: - '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{reservation-settings}' - global-settings: '{odl-global-settings}' + settings: 'reservation-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp publishers: + - archive-artifacts: + artifacts: '**/target/surefire-reports/*-output.txt, ' - findbugs - email-notification: email-prefix: '[reservation]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'reservation-merge-{stream}' @@ -133,46 +148,48 @@ jdk: '{jdk}' logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' + daysToKeep: '14' + numToKeep: '10' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - - project-parameter: + - opendaylight-infra-parameters: project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' scm: - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' refspec: '' choosing-strategy: 'default' wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' triggers: + - timed: 'H H * * 0' - gerrit-trigger-patch-merged: name: 'reservation' branch: '{branch}' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{reservation-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'reservation-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{reservation-settings}' - global-settings: '{odl-global-settings}' + settings: 'reservation-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp post-step-run-condition: UNSTABLE postbuilders: @@ -191,230 +208,47 @@ - maven-target: maven-version: '{mvn33}' pom: pom.xml - goals: 'site:deploy -Dstream={stream}' + goals: 'site:deploy -V -B -Dstream={stream}' java-opts: - '-Xmx2g' - settings: '{reservation-settings}' - global-settings: '{odl-global-settings}' + settings: 'reservation-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp - maven-target: maven-version: '{mvn33}' pom: deploy-site.xml - goals: 'site:deploy -Dstream={stream}' + goals: 'site:deploy -V -B -Dstream={stream}' java-opts: - '-Xmx2g' - settings: '{reservation-settings}' - global-settings: '{odl-global-settings}' - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[reservation]' - - maven-deploy: - id: '' - unique-version: true - deploy-unstable: false - - jacoco-report - -- job-template: - name: 'reservation-daily-{stream}' - - # Job template for daily builders - # - # The purpose of this job template is to setup a daily/nightly - # builder and pushes to Sonar analysis. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' - - wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - timed: 'H H * * *' - - prebuilders: - - wipe-org-opendaylight-repo - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{reservation-settings}' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{reservation-settings}' - global-settings: '{odl-global-settings}' + settings: 'reservation-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs publishers: + - archive-artifacts: + artifacts: '**/target/surefire-reports/*-output.txt, ' - email-notification: email-prefix: '[reservation]' - - jacoco-report - -- job-template: - name: 'reservation-distribution-{stream}' - - # Required variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: 'integration/distribution' - - scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' - - wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - reverse: - jobs: '{project}-merge-{stream}' - result: 'success' - - prebuilders: - - wipe-org-opendaylight-repo - - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{reservation-settings}' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: '{integration-settings}' - global-settings: '{odl-global-settings}' - - publishers: - - email-notification: - email-prefix: '[{project}]' - maven-deploy: id: '' unique-version: true deploy-unstable: false - -- job-template: - name: 'reservation-integration-{stream}' - disabled: false - - # Job template for ODL integration verify jobs - # - # This is similar to a normal verify job, but it runs - # when a project that's a dependency of your project - # is successfully built. - # - # Required Variables: - # stream: release stream (eg. stable-lithium or beryllium) - # branch: git branch (eg. stable/lithium or master) - - project-type: maven - node: dynamic_merge - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' - - wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},groupbasedpolicy-merge-{stream}' - result: 'success' - - prebuilders: - - wipe-org-opendaylight-repo - - jacoco-nojava-workaround - - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{reservation-settings}' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' - maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{reservation-settings}' - global-settings: '{odl-global-settings}' - - reporters: - - findbugs - - publishers: - - email-notification: - email-prefix: '[reservation] [odlparent] [controller] [yangtools] [groupbasedpolicy]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'reservation-sonar' + disabled: false project-type: maven node: dynamic_verify - jdk: 'openjdk7' + jdk: 'openjdk8' logrotate: daysToKeep: '7' @@ -423,40 +257,41 @@ artifactNumToKeep: '1' parameters: - - project-parameter: + - opendaylight-infra-parameters: project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' scm: - git-scm: - credentials-id: '{ssh-credentials}' refspec: '' branch: 'master' wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' + - opendaylight-infra-wrappers: + build-timeout: '{build-timeout}' triggers: - - timed: 'H H * * *' + - timed: 'H H * * 6' - gerrit-trigger-patch-sonar: name: 'reservation' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{reservation-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'reservation-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{reservation-settings}' - global-settings: '{odl-global-settings}' + settings: 'reservation-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs @@ -468,141 +303,6 @@ - email-notification: email-prefix: '[reservation]' - jacoco-report - -- job-template: - name: 'reservation-clm-{stream}' - - project-type: maven - node: dynamic_verify - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - scm: - - git-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - branch: '{branch}' - - wrappers: - - build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - timed: '@weekly' - - prebuilders: - - wipe-org-opendaylight-repo - - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{reservation-settings}' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: '{reservation-settings}' - global-settings: '{odl-global-settings}' - - postbuilders: - - check-clm: - application-name: reservation - - publishers: - - email-notification: - email-prefix: '[reservation]' - -- job-template: - name: 'reservation-validate-autorelease-{stream}' - disabled: '{autorelease}' - - project-type: maven - node: dynamic_verify - concurrent: true - jdk: '{jdk}' - - logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: '{branch}' - - autorelease-release-tag: - release-tag: 'validate' - - autorelease-release-branch: - release-branch: '{branch}' - - autorelease-release-datestamp: - datestamp: true - - scm: - - git: - url: 'https://git.opendaylight.org/gerrit/releng/autorelease' - refspec: '' - branches: - - 'origin/{branch}' - skip-tag: true - submodule: - recursive: true - - wrappers: - - autorelease-build-timeout - - ssh-agent-credentials: - users: - - '{ssh-credentials}' - - triggers: - - gerrit-trigger-patch-submitted: - name: 'reservation' - branch: '{branch}' - - prebuilders: - - wipe-org-opendaylight-repo - - jacoco-nojava-workaround - - autorelease-checkout-gerrit-patch - - autorelease-generate-taglist - - autorelease-generate-release-patches - - maven-target: + - archive-build: maven-version: '{mvn33}' - pom: validate-pom.xml - goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - java-opts: - - '-Xmx8g' - settings: '{autorelease-settings}' - global-settings: '{odl-global-settings}' - - maven: - maven-name: '{mvn33}' - root-pom: 'pom.xml' - goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' - maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: '{autorelease-settings}' - global-settings: '{odl-global-settings}' - automatic-archiving: false - post-step-run-condition: UNSTABLE - - postbuilders: - - shell: "./scripts/list-project-dependencies.sh" - - autorelease-sys-stats - - publishers: - - archive-artifacts: - artifacts: '*.log' - - email-notification: - email-prefix: '[autorelease] [reservation]'