X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fvtn%2Fvtn.yaml;h=3333b2956e189508a3742f2adb0441d2b42b4ece;hb=c0005a1499d962ed366d089a8bb1d40cc6b38657;hp=e54e49214674af4e6a32197022fa88247d08b8df;hpb=b1778c91dcc04d8cc5d927a5d31959bb80365355;p=releng%2Fbuilder.git diff --git a/jjb/vtn/vtn.yaml b/jjb/vtn/vtn.yaml index e54e49214..3333b2956 100644 --- a/jjb/vtn/vtn.yaml +++ b/jjb/vtn/vtn.yaml @@ -11,6 +11,7 @@ - 'vtn-daily-{stream}' - 'vtn-integration-{stream}' - 'vtn-sonar' + - 'vtn-clm' # stream: branch with - in place of / (eg. stable-helium) @@ -18,11 +19,16 @@ stream: - master: branch: 'master' + 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) @@ -52,9 +58,7 @@ - dynamic_verify - axis: type: jdk - values: - - openjdk7 - + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -77,7 +81,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-submitted: @@ -97,6 +102,7 @@ - jacoco-nojava-workaround publishers: + - findbugs - email-notification: email-prefix: '[vtn]' - jacoco-report @@ -136,7 +142,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-merged: @@ -157,6 +164,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/**' @@ -203,7 +213,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -222,6 +233,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[vtn]' @@ -231,10 +245,11 @@ 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) @@ -263,11 +278,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: @@ -284,9 +300,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: @@ -294,7 +313,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '7' @@ -315,7 +334,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -331,6 +351,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - sonar: language: 'java' @@ -339,3 +362,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]' +