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-build-url: https://readthedocs.org/api/v2/webhook/odl-integrationtest/32934/
19 rtd-token: 70766f97941a74ef80b84749ac4799e5ddeee99a
24 # CSIT Lists in releng-defaults.yaml
29 alto bier capwap centinel coe didm dluxapps groupbasedpolicy iotdm jsonrpc lacp
30 l2switch messaging4transport nemo netide nic ocpplugin of-config p4plugin packetcable
31 sdninterfaceapp sxp tsdr unimgr usc usecplugin vtn gate longevity sanity tdd wip
32 csit-list: !include: csit-jobs-fluorine.lst
33 csit-sanity-list: '{csit-sanity-list-fluorine}'
34 csit-weekly-list: '{csit-weekly-list-fluorine}'
35 csit-high-frequency-list: '{csit-high-frequency-list-fluorine}'
38 branch: 'stable/oxygen'
40 capwap centinel coe didm iotdm jsonrpc lacp messaging4transport netide nic
41 ocpplugin sdninterfaceapp unimgr usecplugin gate longevity sanity tdd wip
42 csit-list: !include: csit-jobs-oxygen.lst
43 csit-sanity-list: '{csit-sanity-list-oxygen}'
44 csit-weekly-list: '{csit-weekly-list-oxygen}'
45 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
49 branch: 'stable/nitrogen'
50 csit-blacklist: capwap centinel coe didm iotdm jsonrpc lacp netide tsdr gate longevity sanity tdd wip
51 csit-list: !include: csit-jobs-nitrogen.lst
52 csit-sanity-list: '{csit-sanity-list-nitrogen}'
53 csit-weekly-list: '{csit-weekly-list-nitrogen}'
54 csit-high-frequency-list: '{csit-high-frequency-list-nitrogen}'
58 branch: 'stable/carbon'
60 csit-blacklist: capwap centinel coe jsonrpc gate longevity sanity tdd wip
61 csit-list: !include: csit-jobs-carbon.lst
62 csit-sanity-list: '{csit-sanity-list-carbon}'
63 csit-weekly-list: '{csit-weekly-list-carbon}'
64 csit-high-frequency-list: '{csit-high-frequency-list-carbon}'
68 tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
70 # Template: integration-distribution-test-{stream}
71 # Goal: Verify a distribution through all system test available
72 # Operation: This template takes a distribution and passes all available system test
75 name: 'integration-distribution-test-{stream}'
77 project-type: freestyle
78 node: queue-disttest-2c-1g
81 - opendaylight-infra-properties:
82 build-days-to-keep: '{build-days-to-keep}'
85 - integration-bundle-url:
86 bundle-url: '{bundle-url}'
87 - distribution-karaf-version:
88 karaf-version: '{karaf-version}'
92 - project: '{csit-list}'
94 predefined-parameters: |
95 BUNDLE_URL=$BUNDLE_URL
96 KARAF_VERSION=$KARAF_VERSION
99 - opendaylight-infra-generate-csit-status-report
100 - email-notification:
101 email-recipients: '{email-recipients}'
102 email-prefix: '[integration]'
105 # Template: integration-sanity-test-{stream}
106 # Goal: Verify a distribution through sanity test
107 # Operation: This template takes a distribution and passes sanity test
110 name: 'integration-sanity-test-{stream}'
112 project-type: freestyle
113 node: queue-intque-2c-1g
116 - opendaylight-infra-properties:
117 build-days-to-keep: '{build-days-to-keep}'
120 - integration-bundle-url:
121 bundle-url: '{bundle-url}'
122 - distribution-karaf-version:
123 karaf-version: '{karaf-version}'
127 - project: '{csit-sanity-list}'
129 predefined-parameters: |
130 BUNDLE_URL=$BUNDLE_URL
131 KARAF_VERSION=$KARAF_VERSION
134 - email-notification:
135 email-recipients: '{email-recipients}'
136 email-prefix: '[integration]'
138 # Template: integration-patch-test-{stream}
139 # Goal: Build a patch and run all available system test on a distribution containing the change
140 # Operation: This job template builds a patch, creates a distribution containing the patch, and
141 # triggers the distribution test when test-integration is used in gerrit comments
144 name: 'integration-patch-test-{stream}'
146 project-type: freestyle
147 node: centos7-builder-2c-8g
150 - opendaylight-infra-properties:
151 build-days-to-keep: '{build-days-to-keep}'
154 - opendaylight-infra-parameters:
155 os-cloud: '{os-cloud}'
156 project: '$GERRIT_PROJECT'
158 refspec: '$GERRIT_REFSPEC'
159 artifacts: '{archive-artifacts}'
160 - integration-distribution-branch:
162 - distribution-karaf-version:
163 karaf-version: '{karaf-version}'
164 - integration-distribution-git-url:
170 - integration-gerrit-scm:
171 basedir: '$GERRIT_PROJECT'
172 refspec: '$GERRIT_REFSPEC'
174 - integration-distribution-scm:
178 - opendaylight-infra-wrappers:
183 server-name: '{gerrit-server-name}'
185 - comment-added-contains-event:
186 comment-contains-value: 'test-integration'
188 - project-compare-type: 'ANT'
189 project-pattern: '**'
191 - branch-compare-type: 'ANT'
192 branch-pattern: '**/{branch}'
200 - integration-rebase-gerrit-patch
201 - wipe-org-opendaylight-repo
202 - provide-maven-settings:
203 global-settings-file: 'global-settings'
204 settings-file: 'integration-settings'
206 maven-version: 'mvn35'
207 pom: '$GERRIT_PROJECT/pom.xml'
209 clean install dependency:tree -DoutputFile=dependency_tree.txt
212 {opendaylight-infra-mvn-opts}
213 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
215 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
216 settings: integration-settings
218 global-settings: global-settings
219 global-settings-type: cfp
222 pom: distribution/pom.xml
224 clean install dependency:tree -DoutputFile=dependency_tree.txt
225 {opendaylight-infra-mvn-opts}
226 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
228 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
229 settings: integration-settings
231 global-settings: global-settings
232 global-settings-type: cfp
233 - integration-upload-distribution:
234 dist-pom: distribution/pom.xml
236 - project: '{csit-list}'
238 predefined-parameters: |
239 BUNDLE_URL=$BUNDLE_URL
240 KARAF_VERSION=$KARAF_VERSION
244 - email-notification:
245 email-recipients: '{email-recipients}'
246 email-prefix: '[$GERRIT_PROJECT]'
250 name: 'integration-multipatch-test-{stream}'
251 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
252 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
253 # it creates a distribution containing all patches and triggers the distribution test job which includes most
254 # (if not all) available CSIT jobs.
256 project-type: freestyle
257 node: centos7-builder-8c-8g
258 jdk: '{java-version}'
261 - opendaylight-infra-properties:
262 build-days-to-keep: '{build-days-to-keep}'
265 - patches-to-build-parameter:
266 patches_to_build: '$PATCHES_TO_BUILD'
267 - run-test-parameter:
269 - build-fast-parameter:
271 - integration-distribution-branch:
273 - integration-distribution-stream:
275 - distribution-karaf-version:
276 karaf-version: '{karaf-version}'
277 - opendaylight-infra-parameters:
278 os-cloud: '{os-cloud}'
279 project: 'integration/distribution'
281 refspec: 'refs/heads/{branch}'
282 artifacts: '{archive-artifacts}'
287 - opendaylight-infra-wrappers:
288 build-timeout: '1200'
292 server-name: '{gerrit-server-name}'
294 - comment-added-contains-event:
295 comment-contains-value: 'multipatch-build'
297 - project-compare-type: ANT
298 project-pattern: '**'
300 - branch-compare-type: ANT
301 branch-pattern: '**/{branch}'
304 - wipe-org-opendaylight-repo
306 mvn-version: '{mvn-version}'
307 - provide-maven-settings:
308 global-settings-file: 'global-settings'
309 settings-file: 'integration-distribution-settings'
310 - integration-multipatch-builder
311 - integration-upload-distribution:
312 dist-pom: patch_tester/distribution/pom.xml
314 condition-kind: boolean-expression
315 condition-expression: $RUN_TEST
318 - project: '{csit-list}'
320 predefined-parameters: |
321 BUNDLE_URL=$BUNDLE_URL
322 KARAF_VERSION=$KARAF_VERSION
326 - email-notification:
327 email-recipients: '{email-recipients}'
328 email-prefix: '[int/dist]'
331 name: 'integration-distribution-weekly-test-trigger-{stream}'
333 project-type: freestyle
334 node: queue-intque-2c-1g
337 - opendaylight-infra-properties:
338 build-days-to-keep: '{build-days-to-keep}'
341 - integration-bundle-url:
342 bundle-url: '{bundle-url}'
343 - distribution-karaf-version:
344 karaf-version: '{karaf-version}'
347 - timed: '{schedule-weekly}'
351 - project: '{csit-weekly-list}'
353 predefined-parameters: |
354 BUNDLE_URL=$BUNDLE_URL
355 KARAF_VERSION=$KARAF_VERSION
358 - email-notification:
359 email-recipients: '{email-recipients}'
360 email-prefix: '[integration]'
363 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
365 project-type: freestyle
366 node: queue-intque-2c-1g
369 - opendaylight-infra-properties:
370 build-days-to-keep: '{build-days-to-keep}'
373 - integration-bundle-url:
374 bundle-url: '{bundle-url}'
375 - distribution-karaf-version:
376 karaf-version: '{karaf-version}'
379 - timed: '{schedule-high-frequency}'
383 - project: '{csit-high-frequency-list}'
385 predefined-parameters: |
386 BUNDLE_URL=$BUNDLE_URL
387 KARAF_VERSION=$KARAF_VERSION
390 - email-notification:
391 email-recipients: '{email-recipients}'
392 email-prefix: '[integration]'
395 name: 'integration-update-csit-tests-{stream}'
397 # This job's purpose is to update csit
398 # tests to run in integration-distribution-test-{stream}
399 # by updating integration files: csit-list-{stream}.inc
400 # These files can be used as !include in int-dist-test-{stream}
402 ######################
403 # Default parameters #
404 ######################
406 git-url: '$GIT_URL/$PROJECT'
407 submodule-recursive: true
409 #####################
410 # Job Configuration #
411 #####################
413 project-type: freestyle
414 node: centos7-builder-2c-8g
417 - lf-infra-properties:
418 build-days-to-keep: 7
421 - lf-infra-parameters:
422 project: releng/builder # Hardcode as this job needs to pull releng/builder
424 branch: master # Hardcode as releng/builder only has master
425 lftools-version: '{lftools-version}'
428 default: '{csit-blacklist}'
429 description: Space separated list of jobs strings to blacklist.
432 - lf-infra-gerrit-scm:
433 jenkins-ssh-credential: '{jenkins-ssh-credential}'
435 refspec: '$GERRIT_REFSPEC'
436 branch: '$GERRIT_BRANCH'
437 submodule-recursive: '{submodule-recursive}'
438 choosing-strategy: default
443 jenkins-ssh-credential: '{jenkins-ssh-credential}'
447 jobs: builder-jjb-merge
450 - shell: !include-raw-escape: update-csit-tests.sh
453 git add jjb/integration/*.lst
454 - opendaylight-infra-push-gerrit-patch:
455 project: "releng/builder"
456 gerrit-topic: "auto-update-csit-jobs-{stream}"
457 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"