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}'
283 - lf-infra-maven-parameters:
287 staging-profile-id: '' # Staging repos do not make sense for this job
290 - opendaylight-infra-wrappers:
291 build-timeout: '1200'
295 server-name: '{gerrit-server-name}'
297 - comment-added-contains-event:
298 comment-contains-value: 'multipatch-build'
300 - project-compare-type: ANT
301 project-pattern: '**'
303 - branch-compare-type: ANT
304 branch-pattern: '**/{branch}'
307 - wipe-org-opendaylight-repo
309 mvn-version: '{mvn-version}'
310 - provide-maven-settings:
311 global-settings-file: 'global-settings'
312 settings-file: 'integration-distribution-settings'
313 - integration-multipatch-builder
314 - integration-upload-distribution:
315 dist-pom: patch_tester/distribution/pom.xml
317 condition-kind: boolean-expression
318 condition-expression: $RUN_TEST
321 - project: '{csit-list}'
323 predefined-parameters: |
324 BUNDLE_URL=$BUNDLE_URL
325 KARAF_VERSION=$KARAF_VERSION
329 - email-notification:
330 email-recipients: '{email-recipients}'
331 email-prefix: '[int/dist]'
334 name: 'integration-distribution-weekly-test-trigger-{stream}'
336 project-type: freestyle
337 node: queue-intque-2c-1g
340 - opendaylight-infra-properties:
341 build-days-to-keep: '{build-days-to-keep}'
344 - integration-bundle-url:
345 bundle-url: '{bundle-url}'
346 - distribution-karaf-version:
347 karaf-version: '{karaf-version}'
350 - timed: '{schedule-weekly}'
354 - project: '{csit-weekly-list}'
356 predefined-parameters: |
357 BUNDLE_URL=$BUNDLE_URL
358 KARAF_VERSION=$KARAF_VERSION
361 - email-notification:
362 email-recipients: '{email-recipients}'
363 email-prefix: '[integration]'
366 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
368 project-type: freestyle
369 node: queue-intque-2c-1g
372 - opendaylight-infra-properties:
373 build-days-to-keep: '{build-days-to-keep}'
376 - integration-bundle-url:
377 bundle-url: '{bundle-url}'
378 - distribution-karaf-version:
379 karaf-version: '{karaf-version}'
382 - timed: '{schedule-high-frequency}'
386 - project: '{csit-high-frequency-list}'
388 predefined-parameters: |
389 BUNDLE_URL=$BUNDLE_URL
390 KARAF_VERSION=$KARAF_VERSION
393 - email-notification:
394 email-recipients: '{email-recipients}'
395 email-prefix: '[integration]'
398 name: 'integration-update-csit-tests-{stream}'
400 # This job's purpose is to update csit
401 # tests to run in integration-distribution-test-{stream}
402 # by updating integration files: csit-list-{stream}.inc
403 # These files can be used as !include in int-dist-test-{stream}
405 ######################
406 # Default parameters #
407 ######################
409 git-url: '$GIT_URL/$PROJECT'
410 submodule-recursive: true
412 #####################
413 # Job Configuration #
414 #####################
416 project-type: freestyle
417 node: centos7-builder-2c-8g
420 - lf-infra-properties:
421 build-days-to-keep: 7
424 - lf-infra-parameters:
425 project: releng/builder # Hardcode as this job needs to pull releng/builder
427 branch: master # Hardcode as releng/builder only has master
428 lftools-version: '{lftools-version}'
431 default: '{csit-blacklist}'
432 description: Space separated list of jobs strings to blacklist.
435 - lf-infra-gerrit-scm:
436 jenkins-ssh-credential: '{jenkins-ssh-credential}'
438 refspec: '$GERRIT_REFSPEC'
439 branch: '$GERRIT_BRANCH'
440 submodule-recursive: '{submodule-recursive}'
441 choosing-strategy: default
446 jenkins-ssh-credential: '{jenkins-ssh-credential}'
450 jobs: builder-jjb-merge
453 - shell: !include-raw-escape: update-csit-tests.sh
456 git add jjb/integration/*.lst
457 - opendaylight-infra-push-gerrit-patch:
458 project: "releng/builder"
459 gerrit-topic: "auto-update-csit-jobs-{stream}"
460 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"