3 name: integration-distribution
5 - '{project-name}-verify-python-{stream}'
6 - 'integration-distribution-verify-{stream}'
7 - 'integration-distribution-merge-{stream}'
8 - 'integration-distribution-deploy-{stream}'
9 - 'integration-distribution-offline-{stream}'
11 project: integration/distribution
12 project-name: integration-distribution
19 branch: 'stable/boron'
22 branch: 'stable/beryllium'
27 name: 'integration-distribution-verify-{stream}'
30 node: centos7-java-builder-2c-8g
35 daysToKeep: '{build-days-to-keep}'
36 numToKeep: '{build-num-to-keep}'
37 artifactDaysToKeep: '{build-artifact-days-to-keep}'
38 artifactNumToKeep: '{build-artifact-num-to-keep}'
41 - opendaylight-infra-parameters:
44 refspec: 'refs/heads/{branch}'
45 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
46 - integration-patch-refspec:
47 branch: '$GERRIT_REFSPEC'
51 refspec: '$PATCHREFSPEC'
52 choosing-strategy: 'gerrit'
55 - opendaylight-infra-wrappers:
56 build-timeout: '{build-timeout}'
59 - gerrit-trigger-patch-submitted:
60 server: '{server-name}'
66 - integration-get-bundle-url-root
68 properties-file: 'bundle.txt'
69 - wipe-org-opendaylight-repo
70 - provide-maven-settings:
71 global-settings-file: 'odl-global-settings'
72 settings-file: 'integration-settings'
77 goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
78 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
79 settings: 'integration-settings'
81 global-settings: 'odl-global-settings'
82 global-settings-type: cfp
83 ignore-upstream-changes: true
84 post-step-run-condition: 'SUCCESS'
88 - project: 'integration-distribution-deploy-{stream}'
90 predefined-parameters:
98 - opendaylight-infra-shiplogs:
99 maven-version: 'mvn33'
100 - email-notification:
101 email-recipients: '{email-recipients}'
102 email-prefix: '[int/dist]'
106 name: 'integration-distribution-merge-{stream}'
108 # Need to keep jobs that deploy to Nexus at end of build as Maven
109 # projects. Maybe reconsider this once upstream moves deploy to a
110 # separate lifecycle:
111 # https://issues.apache.org/jira/browse/MNG-5666
114 node: centos7-java-builder-2c-8g
118 daysToKeep: '{build-days-to-keep}'
119 numToKeep: '{build-num-to-keep}'
120 artifactDaysToKeep: '{build-artifact-days-to-keep}'
121 artifactNumToKeep: '{build-artifact-num-to-keep}'
124 - opendaylight-infra-parameters:
127 refspec: 'refs/heads/{branch}'
128 artifacts: '{archive-artifacts} **/dependency_tree.txt **/*.hprof'
131 - gerrit-trigger-scm:
133 choosing-strategy: 'default'
136 - opendaylight-infra-wrappers:
137 build-timeout: '{build-timeout}'
141 - gerrit-trigger-patch-merged:
142 server-name: '{server-name}'
143 name: 'integration/distribution'
147 - wipe-org-opendaylight-repo
148 - jacoco-nojava-workaround
149 - provide-maven-settings:
150 global-settings-file: 'odl-global-settings'
151 settings-file: 'integration-settings'
156 goals: 'clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
157 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
158 settings: 'integration-settings'
160 global-settings: 'odl-global-settings'
161 global-settings-type: cfp
165 condition-kind: file-exists
166 condition-filename: deploy-site.xml
167 condition-basedir: workspace
169 # The strategy here is intentional to run Maven site:deploy twice
170 # once using regular pom.xml to produce a staged-site which is
171 # then used by deploy-site.xml to push to Nexus. This is a
172 # workaround to Maven Site's default linking code which creates
173 # incorrect URLs for sites due to auto-detection assuming your
174 # project is configured in a certain way which ODL is not.
177 maven-version: 'mvn33'
179 goals: 'site:deploy -V -B -Dstream={stream}'
182 settings: 'integration-settings'
184 global-settings: 'odl-global-settings'
185 global-settings-type: cfp
187 maven-version: 'mvn33'
189 goals: 'site:deploy -V -B -Dstream={stream}'
192 settings: 'integration-settings'
194 global-settings: 'odl-global-settings'
195 global-settings-type: cfp
204 deploy-unstable: false
206 - opendaylight-infra-shiplogs:
207 maven-version: 'mvn33'
208 - email-notification:
209 email-recipients: '{email-recipients}'
210 email-prefix: '[int/dist]'
212 # Template: integration-distribution-deploy-{stream}
213 # Goal: Verify distribution starts with no issues when all features are loaded
214 # Operation: This job deploys the controller installing odl-integration-all
217 name: 'integration-distribution-deploy-{stream}'
219 project-type: freestyle
220 node: centos7-java-builder-2c-8g
224 daysToKeep: '{build-days-to-keep}'
225 numToKeep: '{build-num-to-keep}'
226 artifactDaysToKeep: '{build-artifact-days-to-keep}'
227 artifactNumToKeep: '{build-num-to-keep}'
230 - opendaylight-infra-parameters:
233 refspec: 'refs/heads/{branch}'
234 artifacts: '{archive-artifacts} **/*.hprof'
235 - integration-branch:
237 - integration-bundleurl:
238 bundleurl: '{bundleurl}'
239 - integration-jdk-version:
243 - opendaylight-infra-wrappers:
244 build-timeout: '{build-timeout}'
250 - integration-get-bundle-vars
252 properties-file: 'bundle_vars.txt'
253 - integration-deploy-controller-verify
256 - email-notification:
257 email-recipients: '{email-recipients}'
258 email-prefix: '[int/dist]'
259 - integration-csit-archive-build
260 - opendaylight-infra-shiplogs:
261 maven-version: 'mvn33'
263 # Template: integration-distribution-offline-{stream}
264 # Goal: Verify distribution can start with no internet connection
265 # Operation: This job deploys the controller removing any external repository definition
268 name: 'integration-distribution-offline-{stream}'
270 project-type: freestyle
271 node: centos7-java-builder-2c-8g
274 daysToKeep: '{build-days-to-keep}'
275 numToKeep: '{build-num-to-keep}'
276 artifactDaysToKeep: '{build-artifact-days-to-keep}'
277 artifactNumToKeep: '{build-num-to-keep}'
280 - opendaylight-infra-parameters:
283 refspec: 'refs/heads/{branch}'
284 artifacts: '{archive-artifacts} **/*.hprof'
285 - integration-branch:
287 - integration-bundleurl:
288 bundleurl: '{bundleurl}'
289 - integration-jdk-version:
293 - opendaylight-infra-wrappers:
294 build-timeout: '{build-timeout}'
300 - integration-get-bundle-vars
302 properties-file: 'bundle_vars.txt'
303 - integration-deploy-controller-offline
306 - email-notification:
307 email-recipients: '{email-recipients}'
308 email-prefix: '[int/dist]'
309 - integration-csit-archive-build
310 - opendaylight-infra-shiplogs:
311 maven-version: 'mvn33'