X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fiotdm%2Fiotdm.yaml;h=61727351089be1737bb3ed7a9dc1f6ad60aa177e;hb=a25e99cc12ed6d0934913aead7fbc4bdf713c1de;hp=f2a24a86463b872e8d2421991e9b2f5628b58e91;hpb=622bb07eb5b4673333ee9891b4326382103bb307;p=releng%2Fbuilder.git diff --git a/jjb/iotdm/iotdm.yaml b/jjb/iotdm/iotdm.yaml index f2a24a864..617273510 100644 --- a/jjb/iotdm/iotdm.yaml +++ b/jjb/iotdm/iotdm.yaml @@ -9,6 +9,7 @@ - 'iotdm-verify-{stream}' - 'iotdm-merge-{stream}' - 'iotdm-daily-{stream}' + - 'iotdm-distribution-{stream}' - 'iotdm-integration-{stream}' - 'iotdm-sonar' - 'iotdm-clm' @@ -19,9 +20,18 @@ stream: - master: branch: 'master' + jdk: openjdk7 + jdks: + - openjdk7 + - openjdk8 + - stable-lithium: + branch: 'stable/lithium' + jdk: openjdk7 + jdks: + - openjdk7 + - openjdk8 project: 'iotdm' - jdk: 'openjdk7' # For the Job templates below replace instances of: # PROJECT with your project name (eg. controller) @@ -51,10 +61,7 @@ - dynamic_verify - axis: type: jdk - values: - - openjdk7 - - openjdk8 - + values: '{obj:jdks}' logrotate: daysToKeep: '{build-days-to-keep}' @@ -164,7 +171,6 @@ - findbugs publishers: - - email-notification: email-prefix: '[iotdm]' - maven-deploy: @@ -236,14 +242,68 @@ email-prefix: '[iotdm]' - jacoco-report +- job-template: + name: 'iotdm-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: 'iotdm-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) @@ -307,7 +367,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '7' @@ -361,7 +421,7 @@ project-type: maven node: dynamic_verify - jdk: '{jdk}' + jdk: 'openjdk7' logrotate: daysToKeep: '{build-days-to-keep}'