Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Migrate docs-rtd to archive-builds macro
[releng/builder.git]
/
jjb-templates
/
distribution.yaml
diff --git
a/jjb-templates/distribution.yaml
b/jjb-templates/distribution.yaml
index a6067b9808698457485d9134fc13250731bd245c..dfd1c5db2f01d3a75b7ae121fbce868ca52627d9 100644
(file)
--- a/
jjb-templates/distribution.yaml
+++ b/
jjb-templates/distribution.yaml
@@
-1,5
+1,9
@@
- job-template:
- 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
project-type: maven
node: dynamic_merge
@@
-13,19
+17,16
@@
parameters:
- project-parameter:
parameters:
- project-parameter:
- project: 'integration'
+ project: 'integration
/distribution
'
scm:
- git-scm:
scm:
- git-scm:
- credentials-id: '{ssh-credentials}'
refspec: ''
branch: '{branch}'
wrappers:
refspec: ''
branch: '{branch}'
wrappers:
- - build-timeout
- - ssh-agent-credentials:
- users:
- - '{ssh-credentials}'
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
triggers:
- reverse:
triggers:
- reverse:
@@
-33,15
+34,19
@@
result: 'success'
prebuilders:
result: 'success'
prebuilders:
- - wipe-org-opendaylight-repo
+ - provide-maven-settings:
+ global-settings-file: 'odl-global-settings'
+ settings-file: 'JENKINS_SETTINGS'
maven:
maven:
- maven-name: '{mvn3
2
}'
+ maven-name: '{mvn3
3
}'
root-pom: 'pom.xml'
root-pom: 'pom.xml'
- goals: '
-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:ja
r'
+ 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'
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:
publishers:
- email-notification:
@@
-50,3
+55,5
@@
id: ''
unique-version: true
deploy-unstable: false
id: ''
unique-version: true
deploy-unstable: false
+ - archive-build:
+ maven-version: '{mvn33}'