X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fsxp%2Fsxp.yaml;h=860e8ef4838082c65cb02c9a14114f53c15d159c;hb=e730706e25180c4cc95598f818873efcc528807f;hp=1f0bc5d0091b655d2f83156eed68fb92eda9e10e;hpb=411e226f98b67e93d99bd77159ad36e0e8d0919f;p=releng%2Fbuilder.git diff --git a/jjb/sxp/sxp.yaml b/jjb/sxp/sxp.yaml index 1f0bc5d00..860e8ef48 100644 --- a/jjb/sxp/sxp.yaml +++ b/jjb/sxp/sxp.yaml @@ -11,6 +11,7 @@ - 'sxp-daily-{stream}' - 'sxp-integration-{stream}' - 'sxp-sonar' + - 'sxp-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: 'sxp' - jdk: 'openjdk7' # For the Job templates below replace instances of: # PROJECT with your project name (eg. controller) @@ -40,10 +46,19 @@ # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) - project-type: maven - node: dynamic_verify + project-type: matrix + node: matrix_master concurrent: true - jdk: '{jdk}' + + axes: + - axis: + type: slave + name: nodes + values: + - dynamic_verify + - axis: + type: jdk + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -66,29 +81,28 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-submitted: name: 'sxp' branch: '{branch}' - prebuilders: + builders: - wipe-org-opendaylight-repo - - maven: - maven-name: '{mvn32}' - 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: '{sxp-settings}' - global-settings: '{odl-global-settings}' - ignore-upstream-changes: true - - postbuilders: + - maven-target: + maven-version: '{mvn32}' + pom: 'pom.xml' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ' + java-opts: + - '-Xmx1024m -XX:MaxPermSize=256m' + settings: '{sxp-settings}' + global-settings: '{odl-global-settings}' - jacoco-nojava-workaround publishers: + - findbugs - email-notification: email-prefix: '[sxp]' - jacoco-report @@ -128,7 +142,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-merged: @@ -149,6 +164,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: @@ -194,7 +212,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -213,6 +232,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[sxp]' @@ -222,10 +244,11 @@ name: 'sxp-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) @@ -254,7 +277,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - reverse: @@ -275,6 +299,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[sxp] [odlparent] [controller] [yangtools] [tcpmd5]' @@ -285,7 +312,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '7' @@ -306,7 +333,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -322,6 +350,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - sonar: language: 'java' @@ -330,3 +361,54 @@ email-prefix: '[sxp]' - jacoco-report +- job-template: + name: 'sxp-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: '{sxp-settings}' + global-settings: '{odl-global-settings}' + + postbuilders: + - check-clm: + application-name: sxp + + publishers: + - email-notification: + email-prefix: '[sxp]' +