- job-template:
- name: 'PROJECT-distribution-{stream}'
+ name: 'PROJECT_SHORTNAME-distribution-{stream}'
+
+ # Required variables:
+ # stream: release stream (eg. stable-lithium or beryllium)
+ # branch: git branch (eg. stable/lithium or master)
project-type: maven
node: dynamic_merge
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration/distribution'
scm:
- git-scm:
- ssh-agent-credentials:
users:
- '{ssh-credentials}'
+ - openstack:
+ single-use: true
triggers:
- reverse:
result: 'success'
prebuilders:
- - wipe-org-opendaylight-repo
+ - provide-maven-settings:
+ global-settings-file: 'odl-global-settings'
+ settings-file: 'JENKINS_SETTINGS'
maven:
- maven-name: '{mvn32}'
+ maven-name: '{mvn33}'
root-pom: 'pom.xml'
- goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
+ goals: 'clean install -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-settings}'
- global-settings: '{odl-global-settings}'
+ settings: 'integration-distribution-settings'
+ settings-type: cfp
+ global-settings: 'odl-global-settings'
+ global-settings-type: cfp
publishers:
- email-notification:
id: ''
unique-version: true
deploy-unstable: false
+ - archive-build:
+ maven-version: '{mvn33}'