X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fodlparent%2Fodlparent.yaml;h=5a47082b421e923a7219cdaea36517711f37df4b;hb=c0005a1499d962ed366d089a8bb1d40cc6b38657;hp=ecca30d8de82846eb7c804b27fe29a9d6a96d9ae;hpb=411e226f98b67e93d99bd77159ad36e0e8d0919f;p=releng%2Fbuilder.git diff --git a/jjb/odlparent/odlparent.yaml b/jjb/odlparent/odlparent.yaml index ecca30d8d..5a47082b4 100644 --- a/jjb/odlparent/odlparent.yaml +++ b/jjb/odlparent/odlparent.yaml @@ -11,6 +11,7 @@ - 'odlparent-daily-{stream}' - 'odlparent-integration-{stream}' - 'odlparent-sonar' + - 'odlparent-clm' # stream: branch with - in place of / (eg. stable-helium) @@ -18,11 +19,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: 'odlparent' - jdk: 'openjdk7' # For the Job templates below replace instances of: # PROJECT with your project name (eg. controller) @@ -40,10 +51,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 +86,28 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-submitted: name: 'odlparent' 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: '{odlparent-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: '{odlparent-settings}' + global-settings: '{odl-global-settings}' - jacoco-nojava-workaround publishers: + - findbugs - email-notification: email-prefix: '[odlparent]' - jacoco-report @@ -128,7 +147,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - gerrit-trigger-patch-merged: @@ -149,6 +169,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: @@ -194,7 +217,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -213,6 +237,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[odlparent]' @@ -222,10 +249,11 @@ name: 'odlparent-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 +282,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - reverse: @@ -275,6 +304,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - email-notification: email-prefix: '[odlparent] [odlparent]' @@ -285,7 +317,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '7' @@ -306,7 +338,8 @@ wrappers: - build-timeout - ssh-agent-credentials: - user: '{ssh-credentials}' + users: + - '{ssh-credentials}' triggers: - timed: 'H H * * *' @@ -322,6 +355,9 @@ postbuilders: - jacoco-nojava-workaround + reporters: + - findbugs + publishers: - sonar: language: 'java' @@ -330,3 +366,54 @@ email-prefix: '[odlparent]' - jacoco-report +- job-template: + name: 'odlparent-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: '{odlparent-settings}' + global-settings: '{odl-global-settings}' + + postbuilders: + - check-clm: + application-name: odlparent + + publishers: + - email-notification: + email-prefix: '[odlparent]' +