3 name: '{project-name}-distribution-check-{stream}'
12 # Unless block_on_csit is true, the failure-threshold will be ignored. For project jobs that
13 # want to fail distribution check on csit jobs, they will only need a list of jobs to run
14 # plus the change of block_on_csit to true, and this failure-threshold: 'UNSTABLE' will take
16 failure-threshold: 'UNSTABLE'
23 # Operation: This job template builds a patch, creates a distribution containing
24 # the patch (making sure dependencies are specified),
25 # and performs the distribution deploy test.
26 disabled: '{disable-job}'
28 project-type: freestyle
29 node: 'centos7-builder-8c-8g'
34 - opendaylight-infra-properties:
35 build-days-to-keep: '{build-days-to-keep}'
38 - opendaylight-infra-parameters:
39 os-cloud: '{os-cloud}'
42 refspec: 'refs/heads/{branch}'
43 artifacts: '{archive-artifacts}'
44 - integration-distribution-stream:
46 - integration-distribution-git-url:
48 - distribution-karaf-version:
49 karaf-version: '{karaf-version}'
51 maven-version: '{mvn-version}'
54 - integration-gerrit-scm:
55 basedir: '$GERRIT_PROJECT'
56 refspec: '$GERRIT_REFSPEC'
58 - integration-distribution-scm:
59 branch: '{distribution_branch}'
62 - opendaylight-infra-wrappers:
63 # Distro-check jobs typically run within 10 - 30 minutes
64 # with 45 minutes being the occassional edge case.
65 # enforce a 60 minute limit to ensure stuck jobs get
67 # Double that as Karaf 3+4 may take longer.
71 - gerrit-trigger-patch-submitted:
72 gerrit-server-name: '{gerrit-server-name}'
79 - distribution-check-wipe
81 properties-file: 'allowed_projects.txt'
82 - distribution-check-build-project:
83 pom: '$GERRIT_PROJECT/pom.xml'
84 mvn-opts: '{opendaylight-infra-mvn-opts}'
85 mvn-version: '{mvn-version}'
86 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
87 - distribution-check-verify-groupid:
88 gerrit-project: '$GERRIT_PROJECT'
89 - distribution-check-download-deps:
90 dist-pom: 'distribution/pom.xml'
91 mvn-opts: '{opendaylight-infra-mvn-opts}'
92 mvn-version: '{mvn-version}'
93 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
94 - distribution-check-delete-snapshots
95 - distribution-check-configure-remotes
96 - distribution-check-repeat-project-build:
97 pom: '$GERRIT_PROJECT/pom.xml'
98 mvn-opts: '{opendaylight-infra-mvn-opts}'
99 mvn-version: '{mvn-version}'
100 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
101 - distribution-check-repeat-distro-build:
102 dist-pom: 'distribution/pom.xml'
103 mvn-opts: '{opendaylight-infra-mvn-opts}'
104 mvn-version: '{mvn-version}'
105 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
106 - integration-set-variables
107 - distribution-check-warn-9191
108 - distribution-check-warn-9192
109 - integration-upload-distribution:
110 dist-pom: distribution/pom.xml
111 - distribution-check-bootup
114 - project: '{csit-gate-list}'
115 block: '{obj:block_on_csit}'
117 failure-threshold: '{failure-threshold}'
118 predefined-parameters: |
119 BUNDLE_URL=$BUNDLE_URL
120 KARAF_VERSION=$KARAF_VERSION
123 - email-notification:
124 email-recipients: '{email-recipients}'
125 email-prefix: '[{project-name}]'
126 - integration-csit-archive-build
130 name: 'distribution-verify-{type}-{stream}'
134 project-type: freestyle
135 node: centos7-builder-8c-8g
137 jdk: '{java-version}'
138 disabled: '{disable-job}'
141 - opendaylight-infra-properties:
142 build-days-to-keep: '{build-days-to-keep}'
145 - opendaylight-infra-parameters:
146 os-cloud: '{os-cloud}'
149 refspec: 'refs/heads/{branch}'
150 artifacts: '{archive-artifacts}'
153 - gerrit-trigger-scm:
154 refspec: '$GERRIT_REFSPEC'
155 choosing-strategy: 'gerrit'
158 - opendaylight-infra-wrappers:
159 build-timeout: '{build-timeout}'
162 - gerrit-trigger-patch-submitted:
163 gerrit-server-name: '{gerrit-server-name}'
167 forbidden-files: '{forbidden-files}'
170 - wipe-org-opendaylight-repo
171 - lf-provide-maven-settings:
172 global-settings-file: 'global-settings'
173 settings-file: 'integration-settings'
178 clean install dependency:tree -DoutputFile=dependency_tree.txt
181 {opendaylight-infra-mvn-opts}
183 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
186 settings: integration-settings
188 global-settings: global-settings
189 global-settings-type: cfp
195 - email-notification:
196 email-recipients: '{email-recipients}'
197 email-prefix: '[{project-name}]'
200 name: 'distribution-merge-{type}-{stream}'
202 # Need to keep jobs that deploy to Nexus at end of build as Maven
203 # projects. Maybe reconsider this once upstream moves deploy to a
204 # separate lifecycle:
205 # https://issues.apache.org/jira/browse/MNG-5666
210 node: 'centos7-builder-8c-8g'
211 jdk: '{java-version}'
212 disabled: '{disable-job}'
215 - opendaylight-infra-properties:
216 build-days-to-keep: '{build-days-to-keep}'
219 - opendaylight-infra-parameters:
220 os-cloud: '{os-cloud}'
223 refspec: 'refs/heads/{branch}'
224 artifacts: '{archive-artifacts}'
225 - distribution-karaf-version:
226 karaf-version: '{karaf-version}'
229 - gerrit-trigger-scm:
231 choosing-strategy: 'default'
234 - opendaylight-infra-wrappers:
235 build-timeout: '{build-timeout}'
238 - gerrit-trigger-patch-merged:
239 gerrit-server-name: '{gerrit-server-name}'
243 forbidden-files: '{forbidden-files}'
245 jobs: '{dependencies}'
248 - wipe-org-opendaylight-repo
249 - lf-jacoco-nojava-workaround
250 - lf-provide-maven-settings:
251 global-settings-file: 'global-settings'
252 settings-file: 'integration-settings'
253 - integration-set-variables
254 - distribute-build-url:
255 path: '$KARAF_ARTIFACT/src/main/assembly'
261 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
262 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
264 -Djenkins -Dmerge -Dstream={stream}
266 maven-opts: '-Xmx1024m'
267 settings: integration-settings
269 global-settings: global-settings
270 global-settings-type: cfp
273 - integration-compare-distributions
274 # TODO: the output of the above command is not *friendly* for the reader because the most important info
275 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
276 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
285 deploy-unstable: false
288 - email-notification:
289 email-recipients: '{email-recipients}'
290 email-prefix: '[{project-name}]'
293 name: 'distribution-check-{type}-{stream}'
295 ######################
296 # Default parameters #
297 ######################
301 #####################
302 # Job Configuration #
303 #####################
305 # Like a {project}-distribution-check, but few steps less as there is no upstream project involved.
306 disabled: '{disable-job}'
308 project-type: freestyle
309 node: 'centos7-builder-8c-8g'
311 jdk: '{java-version}'
314 - opendaylight-infra-properties:
315 build-days-to-keep: '{build-days-to-keep}'
318 - opendaylight-infra-parameters:
319 os-cloud: '{os-cloud}'
322 refspec: 'refs/heads/{branch}'
323 artifacts: '{archive-artifacts}'
324 - integration-distribution-stream:
326 - distribution-karaf-version:
327 karaf-version: '{karaf-version}'
332 - integration-gerrit-scm:
333 basedir: 'distribution'
334 refspec: '$GERRIT_REFSPEC'
338 - opendaylight-infra-wrappers:
339 # Distro-check jobs typically run within 10 - 30 minutes
340 # with 45 minutes being the occassional edge case.
341 # enforce a 60 minute limit to ensure stuck jobs get
343 # Double that as Karaf 3+4 may take longer.
347 - gerrit-trigger-patch-submitted:
348 gerrit-server-name: '{gerrit-server-name}'
352 forbidden-files: '{forbidden-files}'
355 - distribution-check-wipe
357 properties-file: 'allowed_projects.txt'
358 - distribution-check-build-project:
359 pom: 'distribution/pom.xml'
361 {opendaylight-infra-mvn-opts}
363 mvn-version: '{mvn-version}'
364 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
365 - distribution-check-verify-groupid:
366 gerrit-project: 'integration'
367 - distribution-check-delete-snapshots
368 - distribution-check-configure-remotes
369 - distribution-check-repeat-project-build:
370 pom: 'distribution/pom.xml'
372 {opendaylight-infra-mvn-opts}
374 mvn-version: '{mvn-version}'
375 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
376 - integration-set-variables
377 - distribution-check-warn-9191
378 - distribution-check-warn-9192
379 - integration-upload-distribution:
380 dist-pom: '{dist-pom}'
381 - distribution-check-bootup
384 - email-notification:
385 email-recipients: '{email-recipients}'
386 email-prefix: '[{project-name}]'
387 - integration-csit-archive-build
391 name: 'distribution-sanity-{stream}'
392 # Goal: Verify distribution starts with no issues when all features are loaded.
393 # Operation: This job deploys odl-integration-all + list of UM features.
394 # This job works for both managed & self-managed distro.
396 project-type: freestyle
397 node: centos7-builder-2c-8g
401 - opendaylight-infra-properties:
402 build-days-to-keep: '{build-days-to-keep}'
405 - opendaylight-infra-parameters:
406 os-cloud: '{os-cloud}'
409 refspec: 'refs/heads/{branch}'
410 artifacts: '{archive-artifacts}'
411 - integration-distribution-stream:
413 - integration-distribution-branch:
415 - integration-bundle-url:
416 bundle-url: '{bundle-url}'
417 - integration-repo-url:
418 repo-url: '{sm-repos}'
419 - integration-controller-parameters:
420 controller-features: '{sm-features}'
421 # Parameters below are unused in this job so set them all to blank
422 controller-debug-map: ''
424 controller-use-features-boot: ''
425 - integration-jdk-version:
427 - distribution-karaf-version:
428 karaf-version: '{karaf-version}'
431 - opendaylight-infra-wrappers:
432 build-timeout: '{build-timeout}'
435 - integration-detect-variables
436 - distribution-check-bootup
439 - email-notification:
440 email-recipients: '{email-recipients}'
441 email-prefix: '[{project-name}]'
442 - integration-csit-archive-build
446 name: 'distribution-csit-managed-{stream}'
447 # Goal: Verify distribution starts with no issues when all features are loaded.
448 # Operation: This job deploys odl-integration-all.
449 # This job works for just managed distro.
453 project-type: freestyle
454 node: centos7-builder-4c-4g
456 disabled: '{disable-job}'
459 - opendaylight-infra-properties:
460 build-days-to-keep: '{build-days-to-keep}'
463 - opendaylight-infra-parameters:
464 os-cloud: '{os-cloud}'
467 refspec: 'refs/heads/{branch}'
468 artifacts: '{archive-artifacts}'
469 - integration-distribution-stream:
471 - integration-distribution-branch:
473 - integration-bundle-url:
474 bundle-url: '{bundle-url}'
475 - integration-jdk-version:
477 - distribution-karaf-version:
478 karaf-version: 'karaf4'
481 - opendaylight-infra-wrappers:
482 build-timeout: '{build-timeout}'
485 - integration-detect-variables
486 - distribution-check-bootup
489 - email-notification:
490 email-recipients: '{email-recipients}'
491 email-prefix: '[{project-name}]'
492 - integration-csit-archive-build