- name: '{project-name}-distribution-{stream}'
-
- # Required variables:
- # stream: release stream (eg. boron or carbon)
- # branch: git branch (eg. stable/boron or master)
-
- # Need to keep jobs that deploy to Nexus at end of build as Maven
- # projects. Maybe reconsider this once upstream moves deploy to a
- # separate lifecycle:
- # https://issues.apache.org/jira/browse/MNG-5666
- project-type: maven
- node: '{build-node}'
- jdk: '{jdk}'
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - opendaylight-infra-parameters:
- project: 'integration/distribution'
- branch: '{branch}'
- refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts} **/dependency_tree.txt **/target/surefire-reports/*-output.txt'
-
- scm:
- - git-scm:
- refspec: ''
- branch: '{branch}'
-
- wrappers:
- - opendaylight-infra-wrappers:
- build-timeout: '{build-timeout}'
-
- triggers:
- - reverse:
- jobs: '{project}-merge-{stream}'
- result: 'success'
-
- prebuilders:
- - provide-maven-settings:
- global-settings-file: 'odl-global-settings'
- settings-file: '{mvn-settings}'
-
- maven:
- maven-name: 'mvn33'
- root-pom: 'pom.xml'
- goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
- maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
- settings: 'integration-distribution-settings'
- settings-type: cfp
- global-settings: 'odl-global-settings'
- global-settings-type: cfp
-
- publishers:
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[{project}]'
- - maven-deploy:
- id: ''
- unique-version: true
- deploy-unstable: false
- - opendaylight-infra-shiplogs:
- maven-version: 'mvn33'
-
-- job-template:
- # Template: {name}-distribution-check-{stream}
- # Goal: Build a patch and make sure the distribution can deploy with this change