X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fdidm%2Fdidm.yaml;h=39cce2ab68841f10a8d57f9c5392114c359d457e;hb=64004f2b80728c840d8f4e638fc187ab45afa181;hp=d5952ff396c9c32b051f1518ffb4e1bc9288fa71;hpb=622bb07eb5b4673333ee9891b4326382103bb307;p=releng%2Fbuilder.git diff --git a/jjb/didm/didm.yaml b/jjb/didm/didm.yaml index d5952ff39..39cce2ab6 100644 --- a/jjb/didm/didm.yaml +++ b/jjb/didm/didm.yaml @@ -9,6 +9,7 @@ - 'didm-verify-{stream}' - 'didm-merge-{stream}' - 'didm-daily-{stream}' + - 'didm-distribution-{stream}' - 'didm-integration-{stream}' - 'didm-sonar' - 'didm-clm' @@ -19,9 +20,16 @@ stream: - master: branch: 'master' + jdk: openjdk7 + jdks: + - openjdk7 + - stable-lithium: + branch: 'stable/lithium' + jdk: openjdk7 + jdks: + - openjdk7 project: 'didm' - jdk: 'openjdk7' # For the Job templates below replace instances of: # PROJECT with your project name (eg. controller) @@ -51,9 +59,7 @@ - dynamic_verify - axis: type: jdk - values: - - openjdk7 - + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -151,7 +157,7 @@ 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 source:jar javadoc:jar' + goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar -Dmerge' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' settings: '{didm-settings}' global-settings: '{odl-global-settings}' @@ -163,7 +169,6 @@ - findbugs publishers: - - email-notification: email-prefix: '[didm]' - maven-deploy: @@ -235,14 +240,68 @@ email-prefix: '[didm]' - jacoco-report +- job-template: + name: 'didm-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: 'didm-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) @@ -306,7 +365,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '7' @@ -360,7 +419,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '{build-days-to-keep}'