X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fvtn%2Fvtn.yaml;h=c757013cc56e6b8407b544144e03bd7f6e204d63;hb=c9bdf379008ddaa5af55ef20829b0a262e846f84;hp=d01c3d5c50cc838a41566faf8df320a41c511c57;hpb=bd634d3f17cb18e4d087f279ca0d6d98fd4e4f40;p=releng%2Fbuilder.git diff --git a/jjb/vtn/vtn.yaml b/jjb/vtn/vtn.yaml index d01c3d5c5..c757013cc 100644 --- a/jjb/vtn/vtn.yaml +++ b/jjb/vtn/vtn.yaml @@ -9,21 +9,32 @@ - 'vtn-verify-{stream}' - 'vtn-merge-{stream}' - 'vtn-daily-{stream}' + - 'vtn-distribution-{stream}' - 'vtn-integration-{stream}' - 'vtn-sonar' - - 'vtn-clm' + - 'vtn-clm-{stream}' - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) stream: - - master: + - beryllium: branch: 'master' + jdk: openjdk7 + jdks: + - openjdk7 + - stable-lithium: + branch: 'stable/lithium' + jdk: openjdk7 + jdks: + - openjdk7 - stable-helium: branch: 'stable/helium' + jdk: openjdk7 + jdks: + - openjdk7 project: 'vtn' - jdk: 'openjdk7' # For the Job templates below replace instances of: # PROJECT with your project name (eg. controller) @@ -38,8 +49,8 @@ # The purpose of this job template is to setup a ODL verify job # # Required Variables: - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) project-type: matrix node: matrix_master @@ -53,9 +64,7 @@ - dynamic_verify - axis: type: jdk - values: - - openjdk7 - + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -88,15 +97,15 @@ builders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround - maven-target: - maven-version: '{mvn32}' + maven-version: '{mvn33}' pom: 'pom.xml' goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' java-opts: - '-Xmx1024m -XX:MaxPermSize=256m' settings: '{vtn-settings}' global-settings: '{odl-global-settings}' - - jacoco-nojava-workaround publishers: - findbugs @@ -113,8 +122,8 @@ # and deploy artifacts to Nexus. # # Required Variables: - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) project-type: maven node: dynamic_merge @@ -149,18 +158,16 @@ prebuilders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround maven: - maven-name: '{mvn32}' + maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{vtn-settings}' global-settings: '{odl-global-settings}' - postbuilders: - - jacoco-nojava-workaround - reporters: - findbugs @@ -184,8 +191,8 @@ # builder and pushes to Sonar analysis. # # Required Variables: - # stream: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) project-type: maven node: dynamic_verify @@ -218,18 +225,16 @@ prebuilders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround maven: - maven-name: '{mvn32}' + maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{vtn-settings}' global-settings: '{odl-global-settings}' - postbuilders: - - jacoco-nojava-workaround - reporters: - findbugs @@ -238,18 +243,76 @@ email-prefix: '[vtn]' - jacoco-report +- job-template: + name: 'vtn-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' + + 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 + + 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: 'vtn-integration-{stream}' disabled: false - # Job template for ODL merge jobs + # Job template for ODL integration verify jobs # - # The purpose of this job template is to setup a ODL merge job - # and deploy artifacts to Nexus. + # 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: branch with - in place of / (eg. stable-helium) - # branch: branch (eg. stable/helium) + # stream: release stream (eg. stable-lithium or beryllium) + # branch: git branch (eg. stable/lithium or master) project-type: maven node: dynamic_merge @@ -284,18 +347,16 @@ prebuilders: - wipe-org-opendaylight-repo + - jacoco-nojava-workaround maven: - maven-name: '{mvn32}' + maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar' + goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{vtn-settings}' global-settings: '{odl-global-settings}' - postbuilders: - - jacoco-nojava-workaround - reporters: - findbugs @@ -309,7 +370,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '7' @@ -335,18 +396,21 @@ triggers: - timed: 'H H * * *' + - gerrit-trigger-patch-sonar: + name: 'vtn' + + prebuilders: + - wipe-org-opendaylight-repo + - jacoco-nojava-workaround maven: - maven-name: '{mvn32}' + maven-name: '{mvn33}' root-pom: 'pom.xml' goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{vtn-settings}' global-settings: '{odl-global-settings}' - postbuilders: - - jacoco-nojava-workaround - reporters: - findbugs @@ -359,7 +423,7 @@ - jacoco-report - job-template: - name: 'vtn-clm' + name: 'vtn-clm-{stream}' project-type: maven node: dynamic_verify @@ -379,7 +443,7 @@ - git-scm: credentials-id: '{ssh-credentials}' refspec: '' - branch: 'master' + branch: '{branch}' wrappers: - build-timeout @@ -394,7 +458,7 @@ - wipe-org-opendaylight-repo maven: - maven-name: '{mvn32}' + maven-name: '{mvn33}' root-pom: 'pom.xml' goals: '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'