X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fvtn%2Fvtn.yaml;h=93668083270456d2ff2893cdb77c7f9f63001417;hb=856550d26528bd58e0a915720f24aaee5bf6e6e4;hp=d0df4668db120f0bad4fc2b7668047c483efe06b;hpb=32e9107ae6688b84d0590a9f729818ce8e4010cb;p=releng%2Fbuilder.git diff --git a/jjb/vtn/vtn.yaml b/jjb/vtn/vtn.yaml index d0df4668d..936680832 100644 --- a/jjb/vtn/vtn.yaml +++ b/jjb/vtn/vtn.yaml @@ -9,8 +9,10 @@ - 'vtn-verify-{stream}' - 'vtn-merge-{stream}' - 'vtn-daily-{stream}' + - 'vtn-distribution-{stream}' - 'vtn-integration-{stream}' - 'vtn-sonar' + - 'vtn-clm' # stream: branch with - in place of / (eg. stable-helium) @@ -18,11 +20,21 @@ stream: - master: branch: 'master' + jdk: openjdk7 + jdks: + - openjdk7 - stable-helium: branch: 'stable/helium' + jdk: openjdk7 + jdks: + - openjdk7 + - stable-lithium: + branch: 'stable/lithium' + jdk: openjdk7 + jdks: + - openjdk7 project: 'vtn' - jdk: 'openjdk7' # For the Job templates below replace instances of: # PROJECT with your project name (eg. controller) @@ -52,8 +64,7 @@ - dynamic_verify - axis: type: jdk - values: - - openjdk7 + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -76,7 +87,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-submitted: @@ -96,6 +108,7 @@ - jacoco-nojava-workaround publishers: + - findbugs - email-notification: email-prefix: '[vtn]' - jacoco-report @@ -135,7 +148,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-merged: @@ -156,6 +170,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - archive-artifacts: artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**' @@ -202,7 +219,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -221,19 +239,76 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[vtn]' - jacoco-report +- job-template: + name: 'vtn-distribution-{stream}' + + 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: '{mvn32}' + root-pom: 'pom.xml' + goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar' + 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) @@ -262,11 +337,12 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - reverse: - jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream}' + jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}' result: 'success' prebuilders: @@ -283,9 +359,12 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: - email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin]' + email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]' - jacoco-report - job-template: @@ -293,7 +372,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '7' @@ -314,7 +393,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -330,6 +410,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - sonar: language: 'java' @@ -338,3 +421,54 @@ email-prefix: '[vtn]' - jacoco-report +- job-template: + name: 'vtn-clm' + + project-type: maven + node: dynamic_verify + jdk: 'openjdk7' + + 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: 'master' + + wrappers: + - build-timeout + - ssh-agent-credentials: + users: + - '{ssh-credentials}' + + triggers: + - timed: '@weekly' + + prebuilders: + - wipe-org-opendaylight-repo + + maven: + maven-name: '{mvn32}' + 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' + settings: '{vtn-settings}' + global-settings: '{odl-global-settings}' + + postbuilders: + - check-clm: + application-name: vtn + + publishers: + - email-notification: + email-prefix: '[vtn]' +