4 project: integration/test
5 project-name: integration-test
8 - 'integration-distribution-test-{stream}'
9 - 'integration-sanity-test-{stream}'
10 - 'integration-patch-test-{stream}'
11 - 'integration-multipatch-test-{stream}'
12 - 'integration-distribution-weekly-test-trigger-{stream}'
13 - 'integration-distribution-high-frequency-test-trigger-{stream}'
14 - 'integration-update-csit-tests-{stream}'
15 - '{project-name}-rtd-jobs':
16 build-node: centos7-builder-2c-2g
17 project-pattern: integration/test
18 rtd-project: odl-integrationtest
23 # CSIT Lists in releng-defaults.yaml
28 alto bier capwap centinel coe didm dluxapps groupbasedpolicy iotdm jsonrpc lacp
29 l2switch messaging4transport nemo netide nic ocpplugin of-config p4plugin packetcable
30 sdninterfaceapp sxp tsdr unimgr usc usecplugin vtn gate longevity sanity tdd wip
31 csit-list: !include: csit-jobs-fluorine.lst
32 csit-sanity-list: '{csit-sanity-list-fluorine}'
33 csit-weekly-list: '{csit-weekly-list-fluorine}'
34 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
37 branch: 'stable/oxygen'
39 capwap centinel coe didm iotdm jsonrpc lacp messaging4transport netide nic
40 ocpplugin sdninterfaceapp unimgr usecplugin gate longevity sanity tdd wip
41 csit-list: !include: csit-jobs-oxygen.lst
42 csit-sanity-list: '{csit-sanity-list-oxygen}'
43 csit-weekly-list: '{csit-weekly-list-oxygen}'
44 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
48 branch: 'stable/nitrogen'
49 csit-blacklist: capwap centinel coe didm iotdm jsonrpc lacp netide tsdr gate longevity sanity tdd wip
50 csit-list: !include: csit-jobs-nitrogen.lst
51 csit-sanity-list: '{csit-sanity-list-nitrogen}'
52 csit-weekly-list: '{csit-weekly-list-nitrogen}'
53 csit-high-frequency-list: '{csit-high-frequency-list-nitrogen}'
57 branch: 'stable/carbon'
59 csit-blacklist: capwap centinel coe jsonrpc gate longevity sanity tdd wip
60 csit-list: !include: csit-jobs-carbon.lst
61 csit-sanity-list: '{csit-sanity-list-carbon}'
62 csit-weekly-list: '{csit-weekly-list-carbon}'
63 csit-high-frequency-list: '{csit-high-frequency-list-carbon}'
67 tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
69 # Template: integration-distribution-test-{stream}
70 # Goal: Verify a distribution through all system test available
71 # Operation: This template takes a distribution and passes all available system test
74 name: 'integration-distribution-test-{stream}'
76 project-type: freestyle
77 node: centos7-robot-2c-8g
80 - opendaylight-infra-properties:
81 build-days-to-keep: '{build-days-to-keep}'
84 - integration-bundle-url:
85 bundle-url: '{bundle-url}'
86 - distribution-karaf-version:
87 karaf-version: '{karaf-version}'
91 - project: '{csit-list}'
93 predefined-parameters: |
94 BUNDLE_URL=$BUNDLE_URL
95 KARAF_VERSION=$KARAF_VERSION
98 - opendaylight-infra-generate-csit-status-report
100 email-recipients: '{email-recipients}'
101 email-prefix: '[integration]'
104 # Template: integration-sanity-test-{stream}
105 # Goal: Verify a distribution through sanity test
106 # Operation: This template takes a distribution and passes sanity test
109 name: 'integration-sanity-test-{stream}'
111 project-type: freestyle
112 node: centos7-robot-2c-8g
115 - opendaylight-infra-properties:
116 build-days-to-keep: '{build-days-to-keep}'
119 - integration-bundle-url:
120 bundle-url: '{bundle-url}'
121 - distribution-karaf-version:
122 karaf-version: '{karaf-version}'
126 - project: '{csit-sanity-list}'
128 predefined-parameters: |
129 BUNDLE_URL=$BUNDLE_URL
130 KARAF_VERSION=$KARAF_VERSION
133 - email-notification:
134 email-recipients: '{email-recipients}'
135 email-prefix: '[integration]'
137 # Template: integration-patch-test-{stream}
138 # Goal: Build a patch and run all available system test on a distribution containing the change
139 # Operation: This job template builds a patch, creates a distribution containing the patch, and
140 # triggers the distribution test when test-integration is used in gerrit comments
143 name: 'integration-patch-test-{stream}'
145 project-type: freestyle
146 node: centos7-builder-2c-8g
149 - opendaylight-infra-properties:
150 build-days-to-keep: '{build-days-to-keep}'
153 - opendaylight-infra-parameters:
154 os-cloud: '{os-cloud}'
155 project: '$GERRIT_PROJECT'
157 refspec: '$GERRIT_REFSPEC'
158 artifacts: '{archive-artifacts}'
159 - integration-distribution-branch:
161 - distribution-karaf-version:
162 karaf-version: '{karaf-version}'
163 - integration-distribution-git-url:
169 - integration-gerrit-scm:
170 basedir: '$GERRIT_PROJECT'
171 refspec: '$GERRIT_REFSPEC'
173 - integration-distribution-scm:
177 - opendaylight-infra-wrappers:
182 server-name: '{gerrit-server-name}'
184 - comment-added-contains-event:
185 comment-contains-value: 'test-integration'
187 - project-compare-type: 'ANT'
188 project-pattern: '**'
190 - branch-compare-type: 'ANT'
191 branch-pattern: '**/{branch}'
199 - integration-rebase-gerrit-patch
200 - wipe-org-opendaylight-repo
201 - provide-maven-settings:
202 global-settings-file: 'global-settings'
203 settings-file: 'integration-settings'
205 maven-version: 'mvn33'
206 pom: '$GERRIT_PROJECT/pom.xml'
208 clean install dependency:tree -DoutputFile=dependency_tree.txt
211 {opendaylight-infra-mvn-opts}
212 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
214 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
215 settings: integration-settings
217 global-settings: global-settings
218 global-settings-type: cfp
221 pom: distribution/pom.xml
223 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 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
228 settings: integration-settings
230 global-settings: global-settings
231 global-settings-type: cfp
232 - integration-upload-distribution:
233 dist-pom: distribution/pom.xml
235 - project: '{csit-list}'
237 predefined-parameters: |
238 BUNDLE_URL=$BUNDLE_URL
239 KARAF_VERSION=$KARAF_VERSION
243 - email-notification:
244 email-recipients: '{email-recipients}'
245 email-prefix: '[$GERRIT_PROJECT]'
249 name: 'integration-multipatch-test-{stream}'
250 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
251 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
252 # it creates a distribution containing all patches and triggers the distribution test job which includes most
253 # (if not all) available CSIT jobs.
255 project-type: freestyle
256 node: centos7-builder-4c-4g
257 jdk: '{java-version}'
260 - opendaylight-infra-properties:
261 build-days-to-keep: '{build-days-to-keep}'
264 - patches-to-build-parameter:
265 patches_to_build: '$PATCHES_TO_BUILD'
266 - run-test-parameter:
268 - integration-distribution-branch:
270 - integration-distribution-stream:
272 - distribution-karaf-version:
273 karaf-version: '{karaf-version}'
274 - opendaylight-infra-parameters:
275 os-cloud: '{os-cloud}'
276 project: 'integration/distribution'
278 refspec: 'refs/heads/{branch}'
279 artifacts: '{archive-artifacts}'
284 - opendaylight-infra-wrappers:
285 build-timeout: '1200'
289 server-name: '{gerrit-server-name}'
291 - comment-added-contains-event:
292 comment-contains-value: 'multipatch-build:'
294 - project-compare-type: ANT
295 project-pattern: '**'
297 - branch-compare-type: ANT
298 branch-pattern: '**/{branch}'
301 - wipe-org-opendaylight-repo
303 mvn-version: '{mvn-version}'
304 - provide-maven-settings:
305 global-settings-file: 'global-settings'
306 settings-file: 'integration-distribution-settings'
307 - integration-multipatch-builder
308 - integration-upload-distribution:
309 dist-pom: patch_tester/distribution/pom.xml
311 condition-kind: boolean-expression
312 condition-expression: $RUNTEST
315 - project: '{csit-list}'
317 predefined-parameters: |
318 BUNDLE_URL=$BUNDLE_URL
319 KARAF_VERSION=$KARAF_VERSION
323 - email-notification:
324 email-recipients: '{email-recipients}'
325 email-prefix: '[int/dist]'
328 name: 'integration-distribution-weekly-test-trigger-{stream}'
330 project-type: freestyle
331 node: centos7-robot-2c-8g
334 - opendaylight-infra-properties:
335 build-days-to-keep: '{build-days-to-keep}'
338 - integration-bundle-url:
339 bundle-url: '{bundle-url}'
340 - distribution-karaf-version:
341 karaf-version: '{karaf-version}'
344 - timed: '{schedule-weekly}'
348 - project: '{csit-weekly-list}'
350 predefined-parameters: |
351 BUNDLE_URL=$BUNDLE_URL
352 KARAF_VERSION=$KARAF_VERSION
355 - email-notification:
356 email-recipients: '{email-recipients}'
357 email-prefix: '[integration]'
360 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
362 project-type: freestyle
363 node: centos7-robot-2c-8g
366 - opendaylight-infra-properties:
367 build-days-to-keep: '{build-days-to-keep}'
370 - integration-bundle-url:
371 bundle-url: '{bundle-url}'
372 - distribution-karaf-version:
373 karaf-version: '{karaf-version}'
376 - timed: '{schedule-high-frequency}'
380 - project: '{csit-high-frequency-list}'
382 predefined-parameters: |
383 BUNDLE_URL=$BUNDLE_URL
384 KARAF_VERSION=$KARAF_VERSION
387 - email-notification:
388 email-recipients: '{email-recipients}'
389 email-prefix: '[integration]'
392 name: 'integration-update-csit-tests-{stream}'
394 # This job's purpose is to update csit
395 # tests to run in integration-distribution-test-{stream}
396 # by updating integration files: csit-list-{stream}.inc
397 # These files can be used as !include in int-dist-test-{stream}
399 ######################
400 # Default parameters #
401 ######################
403 git-url: '$GIT_URL/$PROJECT'
404 submodule-recursive: true
406 #####################
407 # Job Configuration #
408 #####################
410 project-type: freestyle
411 node: centos7-builder-2c-8g
414 - lf-infra-properties:
415 build-days-to-keep: 7
418 - lf-infra-parameters:
419 project: releng/builder # Hardcode as this job needs to pull releng/builder
421 branch: master # Hardcode as releng/builder only has master
422 lftools-version: '{lftools-version}'
425 default: '{csit-blacklist}'
426 description: Space separated list of jobs strings to blacklist.
429 - lf-infra-gerrit-scm:
430 jenkins-ssh-credential: '{jenkins-ssh-credential}'
432 refspec: '$GERRIT_REFSPEC'
433 branch: '$GERRIT_BRANCH'
434 submodule-recursive: '{submodule-recursive}'
435 choosing-strategy: default
440 jenkins-ssh-credential: '{jenkins-ssh-credential}'
444 jobs: builder-jjb-merge
447 - shell: !include-raw-escape: update-csit-tests.sh
450 git add jjb/integration/*.lst
451 - opendaylight-infra-push-gerrit-patch:
452 project: "releng/builder"
453 gerrit-topic: "auto-update-csit-jobs-{stream}"
454 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"