4 project: integration/test
5 project-name: integration-test
7 - 'integration-patch-test-{stream}'
8 - 'integration-multipatch-test-{stream}'
9 - '{project-name}-rtd-jobs':
10 build-node: centos7-builder-2c-2g
11 project-pattern: integration/test
12 rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-integrationtest/32934/
13 rtd-token: 70766f97941a74ef80b84749ac4799e5ddeee99a
18 # CSIT Lists in defaults.yaml
23 csit-list: !include: csit-jobs-fluorine.lst
25 infrautils mdsal controller aaa netconf daexim bgpcep ovsdb neutron
26 lispflowmapping openflowplugin coe genius sfc netvirt
29 branch: 'stable/oxygen'
31 csit-list: !include: csit-jobs-oxygen.lst
33 infrautils mdsal controller aaa netconf daexim bgpcep ovsdb neutron
34 lispflowmapping openflowplugin coe genius sfc netvirt
37 name: integration-distribution
38 project: integration/test
39 project-name: integration-test
41 - 'integration-distribution-test-{stream}'
42 - 'integration-distribution-weekly-test-trigger-{stream}'
43 - 'integration-distribution-high-frequency-test-trigger-{stream}'
44 - 'integration-update-csit-tests-{stream}'
46 # CSIT Lists in defaults.yaml
51 alto bier capwap centinel didm dluxapps groupbasedpolicy iotdm jsonrpc lacp
52 l2switch messaging4transport nemo netide nic ocpplugin of-config p4plugin packetcable
53 sdninterfaceapp sxp tsdr unimgr usc usecplugin vtn gate longevity sanity tdd wip
54 csit-list: !include: csit-jobs-fluorine.lst
55 csit-weekly-list: '{csit-weekly-list-fluorine}'
56 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
58 branch: 'stable/oxygen'
60 capwap centinel didm iotdm jsonrpc lacp messaging4transport netide nic
61 ocpplugin sdninterfaceapp unimgr usecplugin gate longevity sanity tdd wip
62 csit-list: !include: csit-jobs-oxygen.lst
63 csit-weekly-list: '{csit-weekly-list-oxygen}'
64 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
67 name: integration-sanity
68 project: integration/test
69 project-name: integration-test
71 - 'integration-sanity-test-{stream}'
77 csit-sanity-list: '{csit-sanity-list-fluorine}'
79 branch: 'stable/oxygen'
81 csit-sanity-list: '{csit-sanity-list-oxygen}'
84 name: 'integration-distribution-test-{stream}'
85 # Goal: Verify a distribution through all system test available
86 # Operation: This template takes a distribution and passes all available system test
88 project-type: freestyle
89 node: queue-disttest-2c-1g
92 - opendaylight-infra-properties:
93 build-days-to-keep: '{build-days-to-keep}'
96 - integration-bundle-url:
97 bundle-url: '{bundle-url}'
98 - distribution-karaf-version:
99 karaf-version: '{karaf-version}'
103 - project: '{csit-list}'
105 predefined-parameters: |
106 BUNDLE_URL=$BUNDLE_URL
107 KARAF_VERSION=$KARAF_VERSION
110 - opendaylight-infra-generate-csit-status-report
111 - email-notification:
112 email-recipients: '{email-recipients}'
113 email-prefix: '[integration]'
117 name: 'integration-sanity-test-{stream}'
118 # Goal: Verify a distribution through sanity test
119 # Operation: This template takes a distribution and passes sanity test
120 # This jobs works for both managed & unmanaged distro.
122 project-type: freestyle
123 node: queue-intque-2c-1g
126 - opendaylight-infra-properties:
127 build-days-to-keep: '{build-days-to-keep}'
130 - integration-bundle-url:
131 bundle-url: '{bundle-url}'
132 - distribution-karaf-version:
133 karaf-version: '{karaf-version}'
136 - timed: '{schedule-daily}'
140 - project: '{csit-sanity-list}'
142 predefined-parameters: |
143 BUNDLE_URL=$BUNDLE_URL
144 KARAF_VERSION=$KARAF_VERSION
147 - email-notification:
148 email-recipients: '{email-recipients}'
149 email-prefix: '[integration]'
152 name: 'integration-patch-test-{stream}'
153 # Template: integration-patch-test-{stream}
154 # Goal: Build a patch and run all available system test on a distribution containing the change
155 # Operation: This job template builds a patch, creates a distribution containing the patch, and
156 # triggers the distribution test when test-integration is used in gerrit comments
158 project-type: freestyle
159 node: centos7-builder-2c-8g
162 - opendaylight-infra-properties:
163 build-days-to-keep: '{build-days-to-keep}'
166 - opendaylight-infra-parameters:
167 os-cloud: '{os-cloud}'
168 project: '$GERRIT_PROJECT'
170 refspec: '$GERRIT_REFSPEC'
171 artifacts: '{archive-artifacts}'
172 - integration-distribution-branch:
174 - distribution-karaf-version:
175 karaf-version: '{karaf-version}'
176 - integration-distribution-git-url:
182 - integration-gerrit-scm:
183 basedir: '$GERRIT_PROJECT'
184 refspec: '$GERRIT_REFSPEC'
186 - integration-distribution-scm:
190 - opendaylight-infra-wrappers:
195 server-name: '{gerrit-server-name}'
197 - comment-added-contains-event:
198 comment-contains-value: 'test-integration'
200 - project-compare-type: 'ANT'
201 project-pattern: '**'
203 - branch-compare-type: 'ANT'
204 branch-pattern: '**/{branch}'
212 - integration-rebase-gerrit-patch
213 - wipe-org-opendaylight-repo
214 - provide-maven-settings:
215 global-settings-file: 'global-settings'
216 settings-file: 'integration-settings'
218 maven-version: 'mvn35'
219 pom: '$GERRIT_PROJECT/pom.xml'
221 clean install dependency:tree -DoutputFile=dependency_tree.txt
224 {opendaylight-infra-mvn-opts}
225 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
227 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
228 settings: integration-settings
230 global-settings: global-settings
231 global-settings-type: cfp
234 pom: distribution/pom.xml
236 clean install dependency:tree -DoutputFile=dependency_tree.txt
237 {opendaylight-infra-mvn-opts}
238 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
240 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
241 settings: integration-settings
243 global-settings: global-settings
244 global-settings-type: cfp
245 - integration-upload-distribution:
246 dist-pom: distribution/pom.xml
248 - project: '{csit-list}'
250 predefined-parameters: |
251 BUNDLE_URL=$BUNDLE_URL
252 KARAF_VERSION=$KARAF_VERSION
256 - email-notification:
257 email-recipients: '{email-recipients}'
258 email-prefix: '[$GERRIT_PROJECT]'
262 name: 'integration-multipatch-test-{stream}'
263 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
264 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
265 # it creates a distribution containing all patches and triggers the distribution test job which includes most
266 # (if not all) available CSIT jobs.
268 project-type: freestyle
269 node: centos7-builder-8c-8g
271 jdk: '{java-version}'
274 - opendaylight-infra-properties:
275 build-days-to-keep: '{build-days-to-keep}'
278 - patches-to-build-parameter:
279 patches_to_build: '$PATCHES_TO_BUILD'
280 - build-order-parameter:
281 build-order: '{build-order}'
282 - build-fast-parameter:
284 - run-test-parameter:
286 - integration-distribution-branch:
288 - integration-distribution-stream:
290 - distribution-karaf-version:
291 karaf-version: '{karaf-version}'
292 - opendaylight-infra-parameters:
293 os-cloud: '{os-cloud}'
294 project: 'integration/distribution'
296 refspec: 'refs/heads/{branch}'
297 artifacts: '{archive-artifacts}'
298 - lf-infra-maven-parameters:
302 staging-profile-id: '' # Staging repos do not make sense for this job
305 - opendaylight-infra-wrappers:
306 build-timeout: '1200'
310 server-name: '{gerrit-server-name}'
312 - comment-added-contains-event:
313 comment-contains-value: 'multipatch-build'
315 - project-compare-type: ANT
316 project-pattern: '**'
318 - branch-compare-type: ANT
319 branch-pattern: '**/{branch}'
322 - wipe-org-opendaylight-repo
324 mvn-version: '{mvn-version}'
325 - provide-maven-settings:
326 global-settings-file: 'global-settings'
327 settings-file: 'integration-distribution-settings'
328 - integration-multipatch-builder
329 - integration-upload-distribution:
330 dist-pom: patch_tester/distribution/pom.xml
332 condition-kind: boolean-expression
333 condition-expression: $RUN_TEST
336 - project: '{csit-list}'
338 predefined-parameters: |
339 BUNDLE_URL=$BUNDLE_URL
340 KARAF_VERSION=$KARAF_VERSION
344 - email-notification:
345 email-recipients: '{email-recipients}'
346 email-prefix: '[int/dist]'
349 name: 'integration-distribution-weekly-test-trigger-{stream}'
351 project-type: freestyle
352 node: queue-intque-2c-1g
355 - opendaylight-infra-properties:
356 build-days-to-keep: '{build-days-to-keep}'
359 - integration-bundle-url:
360 bundle-url: '{bundle-url}'
361 - distribution-karaf-version:
362 karaf-version: '{karaf-version}'
365 - timed: '{schedule-weekly}'
369 - project: '{csit-weekly-list}'
371 predefined-parameters: |
372 BUNDLE_URL=$BUNDLE_URL
373 KARAF_VERSION=$KARAF_VERSION
376 - email-notification:
377 email-recipients: '{email-recipients}'
378 email-prefix: '[integration]'
381 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
383 project-type: freestyle
384 node: queue-intque-2c-1g
387 - opendaylight-infra-properties:
388 build-days-to-keep: '{build-days-to-keep}'
391 - integration-bundle-url:
392 bundle-url: '{bundle-url}'
393 - distribution-karaf-version:
394 karaf-version: '{karaf-version}'
397 - timed: '{schedule-high-frequency}'
401 - project: '{csit-high-frequency-list}'
403 predefined-parameters: |
404 BUNDLE_URL=$BUNDLE_URL
405 KARAF_VERSION=$KARAF_VERSION
408 - email-notification:
409 email-recipients: '{email-recipients}'
410 email-prefix: '[integration]'
413 name: 'integration-update-csit-tests-{stream}'
415 # This job's purpose is to update csit
416 # tests to run in integration-distribution-test-{stream}
417 # by updating integration files: csit-list-{stream}.inc
418 # These files can be used as !include in int-dist-test-{stream}
420 ######################
421 # Default parameters #
422 ######################
424 git-url: '$GIT_URL/$PROJECT'
425 submodule-recursive: true
427 #####################
428 # Job Configuration #
429 #####################
431 project-type: freestyle
432 node: centos7-builder-2c-8g
435 - lf-infra-properties:
436 build-days-to-keep: 7
439 - lf-infra-parameters:
440 project: releng/builder # Hardcode as this job needs to pull releng/builder
442 branch: master # Hardcode as releng/builder only has master
443 lftools-version: '{lftools-version}'
446 default: '{csit-blacklist}'
447 description: Space separated list of jobs strings to blacklist.
450 - lf-infra-gerrit-scm:
451 jenkins-ssh-credential: '{jenkins-ssh-credential}'
453 refspec: '$GERRIT_REFSPEC'
454 branch: '$GERRIT_BRANCH'
455 submodule-recursive: '{submodule-recursive}'
456 choosing-strategy: default
461 jenkins-ssh-credential: '{jenkins-ssh-credential}'
465 jobs: builder-jjb-merge
468 - shell: !include-raw-escape: update-csit-tests.sh
471 git add jjb/integration/*.lst
472 - lf-infra-push-gerrit-patch:
473 project: 'releng/builder'
474 gerrit-user: 'jenkins-$SILO'
475 gerrit-host: 'git.opendaylight.org'
476 gerrit-topic: 'auto-update-csit-jobs-{stream}'
477 gerrit-commit-message: 'Auto Update CSIT Jobs to run for {stream}'
478 reviewers-email: 'jluhrsen@redhat.com'