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}'
19 # CSIT Lists in releng-defaults.yaml
23 csit-blacklist: longevity gate sanity capwap centinel coe didm iotdm jsonrpc lacp netide
24 csit-list: !include: csit-jobs-oxygen.lst
25 csit-sanity-list: '{csit-sanity-list-oxygen}'
26 csit-weekly-list: '{csit-weekly-list-oxygen}'
27 csit-high-frequency-list: '{csit-high-frequency-list-oxygen}'
31 branch: 'stable/nitrogen'
32 csit-blacklist: longevity gate sanity capwap centinel coe didm iotdm jsonrpc lacp netide tsdr
33 csit-list: !include: csit-jobs-nitrogen.lst
34 csit-sanity-list: '{csit-sanity-list-nitrogen}'
35 csit-weekly-list: '{csit-weekly-list-nitrogen}'
36 csit-high-frequency-list: '{csit-high-frequency-list-nitrogen}'
40 branch: 'stable/carbon'
42 csit-blacklist: longevity gate sanity capwap centinel coe jsonrpc
43 csit-list: !include: csit-jobs-carbon.lst
44 csit-sanity-list: '{csit-sanity-list-carbon}'
45 csit-weekly-list: '{csit-weekly-list-carbon}'
46 csit-high-frequency-list: '{csit-high-frequency-list-carbon}'
50 tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
52 # Template: integration-distribution-test-{stream}
53 # Goal: Verify a distribution through all system test available
54 # Operation: This template takes a distribution and passes all available system test
57 name: 'integration-distribution-test-{stream}'
59 project-type: freestyle
60 node: centos7-robot-2c-8g
63 - opendaylight-infra-properties:
64 build-days-to-keep: '{build-days-to-keep}'
67 - integration-bundle-url:
68 bundle-url: '{bundle-url}'
69 - distribution-karaf-version:
70 karaf-version: '{karaf-version}'
74 - project: '{csit-list}'
76 predefined-parameters: |
77 BUNDLE_URL=$BUNDLE_URL
78 KARAF_VERSION=$KARAF_VERSION
81 - opendaylight-infra-generate-csit-status-report
83 email-recipients: '{email-recipients}'
84 email-prefix: '[integration]'
87 # Template: integration-sanity-test-{stream}
88 # Goal: Verify a distribution through sanity test
89 # Operation: This template takes a distribution and passes sanity test
92 name: 'integration-sanity-test-{stream}'
94 project-type: freestyle
95 node: centos7-robot-2c-8g
98 - opendaylight-infra-properties:
99 build-days-to-keep: '{build-days-to-keep}'
102 - integration-bundle-url:
103 bundle-url: '{bundle-url}'
104 - distribution-karaf-version:
105 karaf-version: '{karaf-version}'
109 - project: '{csit-sanity-list}'
111 predefined-parameters: |
112 BUNDLE_URL=$BUNDLE_URL
113 KARAF_VERSION=$KARAF_VERSION
116 - email-notification:
117 email-recipients: '{email-recipients}'
118 email-prefix: '[integration]'
120 # Template: integration-patch-test-{stream}
121 # Goal: Build a patch and run all available system test on a distribution containing the change
122 # Operation: This job template builds a patch, creates a distribution containing the patch, and
123 # triggers the distribution test when test-integration is used in gerrit comments
126 name: 'integration-patch-test-{stream}'
128 project-type: freestyle
129 node: centos7-builder-2c-8g
132 - opendaylight-infra-properties:
133 build-days-to-keep: '{build-days-to-keep}'
136 - opendaylight-infra-parameters:
137 os-cloud: '{os-cloud}'
138 project: '$GERRIT_PROJECT'
140 refspec: '$GERRIT_REFSPEC'
141 artifacts: '{archive-artifacts}'
142 - integration-distribution-branch:
144 - distribution-karaf-version:
145 karaf-version: '{karaf-version}'
146 - integration-distribution-git-url:
152 - integration-gerrit-scm:
153 basedir: '$GERRIT_PROJECT'
154 refspec: '$GERRIT_REFSPEC'
156 - integration-distribution-scm:
160 - opendaylight-infra-wrappers:
165 server-name: '{gerrit-server-name}'
167 - comment-added-contains-event:
168 comment-contains-value: 'test-integration'
170 - project-compare-type: 'ANT'
171 project-pattern: '**'
173 - branch-compare-type: 'ANT'
174 branch-pattern: '**/{branch}'
182 - integration-rebase-gerrit-patch
183 - wipe-org-opendaylight-repo
184 - provide-maven-settings:
185 global-settings-file: 'global-settings'
186 settings-file: 'integration-settings'
188 maven-version: 'mvn33'
189 pom: '$GERRIT_PROJECT/pom.xml'
191 clean install dependency:tree -DoutputFile=dependency_tree.txt
194 {opendaylight-infra-mvn-opts}
195 # TODO: {opendaylight-infra-parallel-mvn-opts}?
197 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
198 settings: integration-settings
200 global-settings: global-settings
201 global-settings-type: cfp
204 pom: distribution/pom.xml
206 clean install dependency:tree -DoutputFile=dependency_tree.txt
207 {opendaylight-infra-parallel-mvn-opts}
209 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
210 settings: integration-settings
212 global-settings: global-settings
213 global-settings-type: cfp
214 - integration-upload-distribution:
215 dist-pom: distribution/pom.xml
217 - project: '{csit-list}'
219 predefined-parameters: |
220 BUNDLE_URL=$BUNDLE_URL
221 KARAF_VERSION=$KARAF_VERSION
225 - email-notification:
226 email-recipients: '{email-recipients}'
227 email-prefix: '[$GERRIT_PROJECT]'
231 name: 'integration-multipatch-test-{stream}'
232 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
233 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
234 # it creates a distribution containing all patches and triggers the distribution test job which includes most
235 # (if not all) available CSIT jobs.
237 project-type: freestyle
238 node: centos7-builder-4c-4g
242 - opendaylight-infra-properties:
243 build-days-to-keep: '{build-days-to-keep}'
246 - patches-to-build-parameter:
247 patches_to_build: '$PATCHES_TO_BUILD'
248 - run-test-parameter:
250 - integration-distribution-branch:
252 - integration-distribution-stream:
254 - distribution-karaf-version:
255 karaf-version: '{karaf-version}'
256 - opendaylight-infra-parameters:
257 os-cloud: '{os-cloud}'
258 project: 'integration/distribution'
260 refspec: 'refs/heads/{branch}'
261 artifacts: '{archive-artifacts}'
266 - opendaylight-infra-wrappers:
267 build-timeout: '1200'
271 server-name: '{gerrit-server-name}'
273 - comment-added-contains-event:
274 comment-contains-value: 'multipatch-build:'
276 - project-compare-type: ANT
277 project-pattern: '**'
279 - branch-compare-type: ANT
280 branch-pattern: '**/{branch}'
283 - wipe-org-opendaylight-repo
285 mvn-version: '{mvn-version}'
286 - provide-maven-settings:
287 global-settings-file: 'global-settings'
288 settings-file: 'integration-distribution-settings'
289 - integration-multipatch-builder
290 - integration-upload-distribution:
291 dist-pom: patch_tester/distribution/pom.xml
293 condition-kind: boolean-expression
294 condition-expression: $RUNTEST
297 - project: '{csit-list}'
299 predefined-parameters: |
300 BUNDLE_URL=$BUNDLE_URL
301 KARAF_VERSION=$KARAF_VERSION
305 - email-notification:
306 email-recipients: '{email-recipients}'
307 email-prefix: '[int/dist]'
310 name: 'integration-distribution-weekly-test-trigger-{stream}'
312 project-type: freestyle
313 node: centos7-robot-2c-8g
316 - opendaylight-infra-properties:
317 build-days-to-keep: '{build-days-to-keep}'
320 - integration-bundle-url:
321 bundle-url: '{bundle-url}'
322 - distribution-karaf-version:
323 karaf-version: '{karaf-version}'
326 - timed: '{schedule-weekly}'
330 - project: '{csit-weekly-list}'
332 predefined-parameters: |
333 BUNDLE_URL=$BUNDLE_URL
334 KARAF_VERSION=$KARAF_VERSION
337 - email-notification:
338 email-recipients: '{email-recipients}'
339 email-prefix: '[integration]'
342 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
344 project-type: freestyle
345 node: centos7-robot-2c-8g
348 - opendaylight-infra-properties:
349 build-days-to-keep: '{build-days-to-keep}'
352 - integration-bundle-url:
353 bundle-url: '{bundle-url}'
354 - distribution-karaf-version:
355 karaf-version: '{karaf-version}'
358 - timed: '{schedule-high-frequency}'
362 - project: '{csit-high-frequency-list}'
364 predefined-parameters: |
365 BUNDLE_URL=$BUNDLE_URL
366 KARAF_VERSION=$KARAF_VERSION
369 - email-notification:
370 email-recipients: '{email-recipients}'
371 email-prefix: '[integration]'
374 name: 'integration-update-csit-tests-{stream}'
376 # This job's purpose is to update csit
377 # tests to run in integration-distribution-test-{stream}
378 # by updating integration files: csit-list-{stream}.inc
379 # These files can be used as !include in int-dist-test-{stream}
381 ######################
382 # Default parameters #
383 ######################
385 git-url: '$GIT_URL/$PROJECT'
386 submodule-recursive: true
388 #####################
389 # Job Configuration #
390 #####################
392 project-type: freestyle
393 node: centos7-builder-2c-8g
396 - lf-infra-properties:
397 build-days-to-keep: 7
400 - lf-infra-parameters:
401 project: releng/builder # Hardcode as this job needs to pull releng/builder
403 branch: master # Hardcode as releng/builder only has master
404 lftools-version: '{lftools-version}'
407 default: '{csit-blacklist}'
408 description: Space separated list of jobs strings to blacklist.
411 - lf-infra-gerrit-scm:
412 jenkins-ssh-credential: '{jenkins-ssh-credential}'
414 refspec: '$GERRIT_REFSPEC'
415 branch: '$GERRIT_BRANCH'
416 submodule-recursive: '{submodule-recursive}'
417 choosing-strategy: default
422 jenkins-ssh-credential: '{jenkins-ssh-credential}'
426 jobs: builder-jjb-merge
429 - shell: !include-raw-escape: update-csit-tests.sh
432 git add jjb/integration/*.lst
433 - opendaylight-infra-push-gerrit-patch:
434 project: "releng/builder"
435 gerrit-topic: "auto-update-csit-jobs-{stream}"
436 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"