3 name: '{project-name}-release-java'
5 # Job template for producing a release candidate by creating a staging repo
8 project-type: freestyle
13 - opendaylight-infra-properties:
14 build-days-to-keep: 30
17 - opendaylight-infra-parameters:
18 os-cloud: '{os-cloud}'
21 refspec: 'refs/heads/{branch}'
22 artifacts: '{archive-artifacts}'
25 stage-id: '{stage-id}'
29 credentials-id: 'opendaylight-jenkins-ssh'
38 - opendaylight-infra-wrappers:
39 build-timeout: '{build-timeout}'
42 - wipe-org-opendaylight-repo
43 - jacoco-nojava-workaround
44 - provide-maven-settings:
45 global-settings-file: 'global-settings'
46 settings-file: 'autorelease-settings'
48 maven-version: 'mvn33'
52 -Dmaven.repo.local=/tmp/r
53 -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
55 -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
57 - '-Xmx1024m -XX:MaxPermSize=256m'
58 settings: 'autorelease-settings'
60 global-settings: 'global-settings'
61 global-settings-type: cfp
62 - releng-stage-release
66 email-recipients: '{email-recipients}'
67 email-prefix: '[releng]'
72 name: '{project-name}-publish-p2repo'
74 # Job template for publishing a p2 repo given a URL to a zipped p2repo.
76 project-type: freestyle
81 - opendaylight-infra-parameters:
82 os-cloud: '{os-cloud}'
85 refspec: 'refs/heads/{branch}'
86 artifacts: '{archive-artifacts}'
90 - opendaylight-infra-wrappers:
91 build-timeout: '{build-timeout}'
94 - wipe-org-opendaylight-repo
95 - jacoco-nojava-workaround
96 - releng-fetch-p2zip-if-necessary:
97 maven-version: 'mvn33'
98 settings: '{mvn-settings}'
99 global-settings: 'global-settings'
100 - releng-generate-p2pom
102 maven-version: 'mvn33'
104 goals: 'clean deploy -V -B -Dmaven.repo.local=/tmp/r'
105 settings: '{mvn-settings}'
107 global-settings: 'global-settings'
108 global-settings-type: cfp
109 - releng-update-p2composite-metadata:
110 maven-version: 'mvn33'
111 settings: '{mvn-settings}'
112 global-settings: 'global-settings'
115 - email-notification:
116 email-recipients: '{email-recipients}'
117 email-prefix: '[releng]'