3 name: '{project-name}-distribution-check-{stream}'
13 # Unless block_on_csit is true, the failure-threshold will be ignored. For project jobs that
14 # want to fail distribution check on csit jobs, they will only need a list of jobs to run
15 # plus the change of block_on_csit to true, and this failure-threshold: 'UNSTABLE' will take
17 failure-threshold: 'UNSTABLE'
24 # Operation: This job template builds a patch, creates a distribution containing
25 # the patch (making sure dependencies are specified),
26 # and performs the distribution deploy test.
27 disabled: '{disable-job}'
29 project-type: freestyle
30 node: 'centos7-builder-8c-8g'
35 - opendaylight-infra-properties:
36 build-days-to-keep: '{build-days-to-keep}'
39 - opendaylight-infra-parameters:
40 os-cloud: '{os-cloud}'
43 refspec: 'refs/heads/{branch}'
44 artifacts: '{archive-artifacts}'
45 - integration-distribution-stream:
47 - integration-distribution-git-url:
49 - distribution-karaf-version:
50 karaf-version: '{karaf-version}'
52 maven-version: '{mvn-version}'
55 - integration-gerrit-scm:
56 basedir: '$GERRIT_PROJECT'
57 refspec: '$GERRIT_REFSPEC'
59 - integration-distribution-scm:
60 branch: '{distribution_branch}'
63 - opendaylight-infra-wrappers:
64 # Distro-check jobs typically run within 10 - 30 minutes
65 # with 45 minutes being the occassional edge case.
66 # enforce a 60 minute limit to ensure stuck jobs get
68 # Double that as Karaf 3+4 may take longer.
72 - gerrit-trigger-patch-submitted:
73 gerrit-server-name: '{gerrit-server-name}'
80 - distribution-check-wipe
82 properties-file: 'allowed_projects.txt'
83 - distribution-check-build-project:
84 pom: '$GERRIT_PROJECT/pom.xml'
85 mvn-opts: '{opendaylight-infra-mvn-opts}'
86 mvn-version: '{mvn-version}'
87 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
88 - distribution-check-verify-groupid:
89 gerrit-project: '$GERRIT_PROJECT'
90 - distribution-check-download-deps:
91 dist-pom: 'distribution/pom.xml'
92 mvn-opts: '{opendaylight-infra-mvn-opts}'
93 mvn-version: '{mvn-version}'
94 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
95 - distribution-check-delete-snapshots
96 - distribution-check-configure-remotes
97 - distribution-check-repeat-project-build:
98 pom: '$GERRIT_PROJECT/pom.xml'
99 mvn-opts: '{opendaylight-infra-mvn-opts}'
100 mvn-version: '{mvn-version}'
101 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
102 - distribution-check-repeat-distro-build:
103 dist-pom: 'distribution/pom.xml'
104 mvn-opts: '{opendaylight-infra-mvn-opts}'
105 mvn-version: '{mvn-version}'
106 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
107 - integration-set-variables
108 - distribution-check-warn-9191
109 - distribution-check-warn-9192
110 - integration-upload-distribution:
111 dist-pom: distribution/pom.xml
112 - distribution-check-bootup
115 - project: '{csit-gate-list}'
116 block: '{obj:block_on_csit}'
118 failure-threshold: '{failure-threshold}'
119 predefined-parameters: |
120 BUNDLE_URL=$BUNDLE_URL
121 KARAF_VERSION=$KARAF_VERSION
124 - email-notification:
125 email-recipients: '{email-recipients}'
126 email-prefix: '[{project-name}]'
127 - integration-csit-archive-build
131 name: 'distribution-verify-{type}-{stream}'
135 project-type: freestyle
136 node: centos7-builder-8c-8g
138 jdk: '{java-version}'
139 disabled: '{disable-job}'
142 - opendaylight-infra-properties:
143 build-days-to-keep: '{build-days-to-keep}'
146 - opendaylight-infra-parameters:
147 os-cloud: '{os-cloud}'
150 refspec: 'refs/heads/{branch}'
151 artifacts: '{archive-artifacts}'
154 - gerrit-trigger-scm:
155 refspec: '$GERRIT_REFSPEC'
156 choosing-strategy: 'gerrit'
159 - opendaylight-infra-wrappers:
160 build-timeout: '{build-timeout}'
163 - gerrit-trigger-patch-submitted:
164 gerrit-server-name: '{gerrit-server-name}'
168 forbidden-files: '{forbidden-files}'
171 - wipe-org-opendaylight-repo
172 - lf-provide-maven-settings:
173 global-settings-file: 'global-settings'
174 settings-file: 'integration-settings'
179 clean install dependency:tree -DoutputFile=dependency_tree.txt
182 {opendaylight-infra-mvn-opts}
184 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
186 - '-Xmx1024m -XX:MaxPermSize=256m'
187 settings: integration-settings
189 global-settings: global-settings
190 global-settings-type: cfp
196 - email-notification:
197 email-recipients: '{email-recipients}'
198 email-prefix: '[{project-name}]'
201 name: 'distribution-merge-{type}-{stream}'
203 # Need to keep jobs that deploy to Nexus at end of build as Maven
204 # projects. Maybe reconsider this once upstream moves deploy to a
205 # separate lifecycle:
206 # https://issues.apache.org/jira/browse/MNG-5666
211 node: 'centos7-builder-8c-8g'
212 jdk: '{java-version}'
213 disabled: '{disable-job}'
216 - opendaylight-infra-properties:
217 build-days-to-keep: '{build-days-to-keep}'
220 - opendaylight-infra-parameters:
221 os-cloud: '{os-cloud}'
224 refspec: 'refs/heads/{branch}'
225 artifacts: '{archive-artifacts}'
226 - distribution-karaf-version:
227 karaf-version: '{karaf-version}'
230 - gerrit-trigger-scm:
232 choosing-strategy: 'default'
235 - opendaylight-infra-wrappers:
236 build-timeout: '{build-timeout}'
239 - gerrit-trigger-patch-merged:
240 gerrit-server-name: '{gerrit-server-name}'
244 forbidden-files: '{forbidden-files}'
246 jobs: '{dependencies}'
249 - wipe-org-opendaylight-repo
250 - lf-jacoco-nojava-workaround
251 - lf-provide-maven-settings:
252 global-settings-file: 'global-settings'
253 settings-file: 'integration-settings'
254 - integration-set-variables
255 - distribute-build-url:
256 path: '$KARAF_ARTIFACT/src/main/assembly'
262 clean install dependency:tree -DoutputFile=dependency_tree.txt -V -B
263 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
265 -Djenkins -Dmerge -Dstream={stream}
267 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
268 settings: integration-settings
270 global-settings: global-settings
271 global-settings-type: cfp
274 - integration-compare-distributions
275 # TODO: the output of the above command is not *friendly* for the reader because the most important info
276 # is listed last. This is fine/best for command line output, but for keeping in a file it would be better
277 # to put the summary at the beginning of the file. Some bash magic can be done here to make that happen.
286 deploy-unstable: false
289 - email-notification:
290 email-recipients: '{email-recipients}'
291 email-prefix: '[{project-name}]'
294 name: 'distribution-check-{type}-{stream}'
296 ######################
297 # Default parameters #
298 ######################
302 #####################
303 # Job Configuration #
304 #####################
306 # Like a {project}-distribution-check, but few steps less as there is no upstream project involved.
307 disabled: '{disable-job}'
309 project-type: freestyle
310 node: 'centos7-builder-8c-8g'
312 jdk: '{java-version}'
315 - opendaylight-infra-properties:
316 build-days-to-keep: '{build-days-to-keep}'
319 - opendaylight-infra-parameters:
320 os-cloud: '{os-cloud}'
323 refspec: 'refs/heads/{branch}'
324 artifacts: '{archive-artifacts}'
325 - integration-distribution-stream:
327 - distribution-karaf-version:
328 karaf-version: '{karaf-version}'
333 - integration-gerrit-scm:
334 basedir: 'distribution'
335 refspec: '$GERRIT_REFSPEC'
339 - opendaylight-infra-wrappers:
340 # Distro-check jobs typically run within 10 - 30 minutes
341 # with 45 minutes being the occassional edge case.
342 # enforce a 60 minute limit to ensure stuck jobs get
344 # Double that as Karaf 3+4 may take longer.
348 - gerrit-trigger-patch-submitted:
349 gerrit-server-name: '{gerrit-server-name}'
353 forbidden-files: '{forbidden-files}'
356 - distribution-check-wipe
358 properties-file: 'allowed_projects.txt'
359 - distribution-check-build-project:
360 pom: 'distribution/pom.xml'
362 {opendaylight-infra-mvn-opts}
364 mvn-version: '{mvn-version}'
365 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
366 - distribution-check-verify-groupid:
367 gerrit-project: 'integration'
368 - distribution-check-delete-snapshots
369 - distribution-check-configure-remotes
370 - distribution-check-repeat-project-build:
371 pom: 'distribution/pom.xml'
373 {opendaylight-infra-mvn-opts}
375 mvn-version: '{mvn-version}'
376 # '{opendaylight-infra-parallel-mvn-opts}' is bad when there are multiple big features in SFT.
377 - integration-set-variables
378 - distribution-check-warn-9191
379 - distribution-check-warn-9192
380 - integration-upload-distribution:
381 dist-pom: '{dist-pom}'
382 - distribution-check-bootup
385 - email-notification:
386 email-recipients: '{email-recipients}'
387 email-prefix: '[{project-name}]'
388 - integration-csit-archive-build
392 name: 'distribution-sanity-{stream}'
393 # Goal: Verify distribution starts with no issues when all features are loaded.
394 # Operation: This job deploys odl-integration-all + list of UM features.
395 # This job works for both managed & self-managed distro.
397 project-type: freestyle
398 node: centos7-builder-2c-8g
402 - opendaylight-infra-properties:
403 build-days-to-keep: '{build-days-to-keep}'
406 - opendaylight-infra-parameters:
407 os-cloud: '{os-cloud}'
410 refspec: 'refs/heads/{branch}'
411 artifacts: '{archive-artifacts}'
412 - integration-distribution-stream:
414 - integration-distribution-branch:
416 - integration-bundle-url:
417 bundle-url: '{bundle-url}'
418 - integration-repo-url:
419 repo-url: '{sm-repos}'
420 - integration-controller-parameters:
421 controller-features: '{sm-features}'
422 # Parameters below are unused in this job so set them all to blank
423 controller-debug-map: ''
425 controller-use-features-boot: ''
426 - integration-jdk-version:
428 - distribution-karaf-version:
429 karaf-version: '{karaf-version}'
432 - opendaylight-infra-wrappers:
433 build-timeout: '{build-timeout}'
436 - integration-detect-variables
437 - distribution-check-bootup
440 - email-notification:
441 email-recipients: '{email-recipients}'
442 email-prefix: '[{project-name}]'
443 - integration-csit-archive-build
447 name: 'distribution-csit-managed-{stream}'
448 # Goal: Verify distribution starts with no issues when all features are loaded.
449 # Operation: This job deploys odl-integration-all.
450 # This job works for just managed distro.
454 project-type: freestyle
455 node: centos7-builder-4c-4g
457 disabled: '{disable-job}'
460 - opendaylight-infra-properties:
461 build-days-to-keep: '{build-days-to-keep}'
464 - opendaylight-infra-parameters:
465 os-cloud: '{os-cloud}'
468 refspec: 'refs/heads/{branch}'
469 artifacts: '{archive-artifacts}'
470 - integration-distribution-stream:
472 - integration-distribution-branch:
474 - integration-bundle-url:
475 bundle-url: '{bundle-url}'
476 - integration-jdk-version:
478 - distribution-karaf-version:
479 karaf-version: 'karaf4'
482 - opendaylight-infra-wrappers:
483 build-timeout: '{build-timeout}'
486 - integration-detect-variables
487 - distribution-check-bootup
490 - email-notification:
491 email-recipients: '{email-recipients}'
492 email-prefix: '[{project-name}]'
493 - integration-csit-archive-build