X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fvtn%2Fvtn.yaml;h=c757013cc56e6b8407b544144e03bd7f6e204d63;hb=c9bdf379008ddaa5af55ef20829b0a262e846f84;hp=7ce129b52206e26ed5d1c8325df2615f5c3ab6fc;hpb=54ab095fafabc3fdb27f2d11aaaa066859c95a3a;p=releng%2Fbuilder.git diff --git a/jjb/vtn/vtn.yaml b/jjb/vtn/vtn.yaml index 7ce129b52..c757013cc 100644 --- a/jjb/vtn/vtn.yaml +++ b/jjb/vtn/vtn.yaml @@ -9,26 +9,27 @@ - '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-helium: - branch: 'stable/helium' + - stable-lithium: + branch: 'stable/lithium' jdk: openjdk7 jdks: - openjdk7 - - stable-lithium: - branch: 'stable/lithium' + - stable-helium: + branch: 'stable/helium' jdk: openjdk7 jdks: - openjdk7 @@ -48,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 @@ -96,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 @@ -121,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 @@ -157,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 @@ -192,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 @@ -226,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 @@ -246,6 +243,63 @@ 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 @@ -257,8 +311,8 @@ # 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 @@ -293,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 @@ -344,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 @@ -368,11 +423,11 @@ - jacoco-report - job-template: - name: 'vtn-clm' + name: 'vtn-clm-{stream}' project-type: maven node: dynamic_verify - jdk: 'openjdk7' + jdk: '{jdk}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -388,7 +443,7 @@ - git-scm: credentials-id: '{ssh-credentials}' refspec: '' - branch: 'master' + branch: '{branch}' wrappers: - build-timeout @@ -403,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'