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 tools_system_image: ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20171208-1847
60 # Template: integration-distribution-test-{stream}
61 # Goal: Verify a distribution through all system test available
62 # Operation: This template takes a distribution and passes all available system test
65 name: 'integration-distribution-test-{stream}'
67 project-type: freestyle
68 node: queue-disttest-2c-1g
71 - opendaylight-infra-properties:
72 build-days-to-keep: '{build-days-to-keep}'
75 - integration-bundle-url:
76 bundle-url: '{bundle-url}'
77 - distribution-karaf-version:
78 karaf-version: '{karaf-version}'
82 - project: '{csit-list}'
84 predefined-parameters: |
85 BUNDLE_URL=$BUNDLE_URL
86 KARAF_VERSION=$KARAF_VERSION
89 - opendaylight-infra-generate-csit-status-report
91 email-recipients: '{email-recipients}'
92 email-prefix: '[integration]'
95 # Template: integration-sanity-test-{stream}
96 # Goal: Verify a distribution through sanity test
97 # Operation: This template takes a distribution and passes sanity test
100 name: 'integration-sanity-test-{stream}'
102 project-type: freestyle
103 node: queue-intque-2c-1g
106 - opendaylight-infra-properties:
107 build-days-to-keep: '{build-days-to-keep}'
110 - integration-bundle-url:
111 bundle-url: '{bundle-url}'
112 - distribution-karaf-version:
113 karaf-version: '{karaf-version}'
117 - project: '{csit-sanity-list}'
119 predefined-parameters: |
120 BUNDLE_URL=$BUNDLE_URL
121 KARAF_VERSION=$KARAF_VERSION
124 - email-notification:
125 email-recipients: '{email-recipients}'
126 email-prefix: '[integration]'
128 # Template: integration-patch-test-{stream}
129 # Goal: Build a patch and run all available system test on a distribution containing the change
130 # Operation: This job template builds a patch, creates a distribution containing the patch, and
131 # triggers the distribution test when test-integration is used in gerrit comments
134 name: 'integration-patch-test-{stream}'
136 project-type: freestyle
137 node: centos7-builder-2c-8g
140 - opendaylight-infra-properties:
141 build-days-to-keep: '{build-days-to-keep}'
144 - opendaylight-infra-parameters:
145 os-cloud: '{os-cloud}'
146 project: '$GERRIT_PROJECT'
148 refspec: '$GERRIT_REFSPEC'
149 artifacts: '{archive-artifacts}'
150 - integration-distribution-branch:
152 - distribution-karaf-version:
153 karaf-version: '{karaf-version}'
154 - integration-distribution-git-url:
160 - integration-gerrit-scm:
161 basedir: '$GERRIT_PROJECT'
162 refspec: '$GERRIT_REFSPEC'
164 - integration-distribution-scm:
168 - opendaylight-infra-wrappers:
173 server-name: '{gerrit-server-name}'
175 - comment-added-contains-event:
176 comment-contains-value: 'test-integration'
178 - project-compare-type: 'ANT'
179 project-pattern: '**'
181 - branch-compare-type: 'ANT'
182 branch-pattern: '**/{branch}'
190 - integration-rebase-gerrit-patch
191 - wipe-org-opendaylight-repo
192 - provide-maven-settings:
193 global-settings-file: 'global-settings'
194 settings-file: 'integration-settings'
196 maven-version: 'mvn35'
197 pom: '$GERRIT_PROJECT/pom.xml'
199 clean install dependency:tree -DoutputFile=dependency_tree.txt
202 {opendaylight-infra-mvn-opts}
203 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
205 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
206 settings: integration-settings
208 global-settings: global-settings
209 global-settings-type: cfp
212 pom: distribution/pom.xml
214 clean install dependency:tree -DoutputFile=dependency_tree.txt
215 {opendaylight-infra-mvn-opts}
216 # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
218 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
219 settings: integration-settings
221 global-settings: global-settings
222 global-settings-type: cfp
223 - integration-upload-distribution:
224 dist-pom: distribution/pom.xml
226 - project: '{csit-list}'
228 predefined-parameters: |
229 BUNDLE_URL=$BUNDLE_URL
230 KARAF_VERSION=$KARAF_VERSION
234 - email-notification:
235 email-recipients: '{email-recipients}'
236 email-prefix: '[$GERRIT_PROJECT]'
240 name: 'integration-multipatch-test-{stream}'
241 # Goal: Build one or more patches and run all available system test on a distribution containing the change.
242 # Operation: This job template checks out and builds in order each patch provided in job parameters, finally
243 # it creates a distribution containing all patches and triggers the distribution test job which includes most
244 # (if not all) available CSIT jobs.
246 project-type: freestyle
247 node: centos7-builder-8c-8g
248 jdk: '{java-version}'
251 - opendaylight-infra-properties:
252 build-days-to-keep: '{build-days-to-keep}'
255 - patches-to-build-parameter:
256 patches_to_build: '$PATCHES_TO_BUILD'
257 - run-test-parameter:
259 - build-fast-parameter:
261 - integration-distribution-branch:
263 - integration-distribution-stream:
265 - distribution-karaf-version:
266 karaf-version: '{karaf-version}'
267 - opendaylight-infra-parameters:
268 os-cloud: '{os-cloud}'
269 project: 'integration/distribution'
271 refspec: 'refs/heads/{branch}'
272 artifacts: '{archive-artifacts}'
273 - lf-infra-maven-parameters:
277 staging-profile-id: '' # Staging repos do not make sense for this job
280 - opendaylight-infra-wrappers:
281 build-timeout: '1200'
285 server-name: '{gerrit-server-name}'
287 - comment-added-contains-event:
288 comment-contains-value: 'multipatch-build'
290 - project-compare-type: ANT
291 project-pattern: '**'
293 - branch-compare-type: ANT
294 branch-pattern: '**/{branch}'
297 - wipe-org-opendaylight-repo
299 mvn-version: '{mvn-version}'
300 - provide-maven-settings:
301 global-settings-file: 'global-settings'
302 settings-file: 'integration-distribution-settings'
303 - integration-multipatch-builder
304 - integration-upload-distribution:
305 dist-pom: patch_tester/distribution/pom.xml
307 condition-kind: boolean-expression
308 condition-expression: $RUN_TEST
311 - project: '{csit-list}'
313 predefined-parameters: |
314 BUNDLE_URL=$BUNDLE_URL
315 KARAF_VERSION=$KARAF_VERSION
319 - email-notification:
320 email-recipients: '{email-recipients}'
321 email-prefix: '[int/dist]'
324 name: 'integration-distribution-weekly-test-trigger-{stream}'
326 project-type: freestyle
327 node: queue-intque-2c-1g
330 - opendaylight-infra-properties:
331 build-days-to-keep: '{build-days-to-keep}'
334 - integration-bundle-url:
335 bundle-url: '{bundle-url}'
336 - distribution-karaf-version:
337 karaf-version: '{karaf-version}'
340 - timed: '{schedule-weekly}'
344 - project: '{csit-weekly-list}'
346 predefined-parameters: |
347 BUNDLE_URL=$BUNDLE_URL
348 KARAF_VERSION=$KARAF_VERSION
351 - email-notification:
352 email-recipients: '{email-recipients}'
353 email-prefix: '[integration]'
356 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
358 project-type: freestyle
359 node: queue-intque-2c-1g
362 - opendaylight-infra-properties:
363 build-days-to-keep: '{build-days-to-keep}'
366 - integration-bundle-url:
367 bundle-url: '{bundle-url}'
368 - distribution-karaf-version:
369 karaf-version: '{karaf-version}'
372 - timed: '{schedule-high-frequency}'
376 - project: '{csit-high-frequency-list}'
378 predefined-parameters: |
379 BUNDLE_URL=$BUNDLE_URL
380 KARAF_VERSION=$KARAF_VERSION
383 - email-notification:
384 email-recipients: '{email-recipients}'
385 email-prefix: '[integration]'
388 name: 'integration-update-csit-tests-{stream}'
390 # This job's purpose is to update csit
391 # tests to run in integration-distribution-test-{stream}
392 # by updating integration files: csit-list-{stream}.inc
393 # These files can be used as !include in int-dist-test-{stream}
395 ######################
396 # Default parameters #
397 ######################
399 git-url: '$GIT_URL/$PROJECT'
400 submodule-recursive: true
402 #####################
403 # Job Configuration #
404 #####################
406 project-type: freestyle
407 node: centos7-builder-2c-8g
410 - lf-infra-properties:
411 build-days-to-keep: 7
414 - lf-infra-parameters:
415 project: releng/builder # Hardcode as this job needs to pull releng/builder
417 branch: master # Hardcode as releng/builder only has master
418 lftools-version: '{lftools-version}'
421 default: '{csit-blacklist}'
422 description: Space separated list of jobs strings to blacklist.
425 - lf-infra-gerrit-scm:
426 jenkins-ssh-credential: '{jenkins-ssh-credential}'
428 refspec: '$GERRIT_REFSPEC'
429 branch: '$GERRIT_BRANCH'
430 submodule-recursive: '{submodule-recursive}'
431 choosing-strategy: default
436 jenkins-ssh-credential: '{jenkins-ssh-credential}'
440 jobs: builder-jjb-merge
443 - shell: !include-raw-escape: update-csit-tests.sh
446 git add jjb/integration/*.lst
447 - opendaylight-infra-push-gerrit-patch:
448 project: "releng/builder"
449 gerrit-topic: "auto-update-csit-jobs-{stream}"
450 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"