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
249 jdk: '{java-version}'
252 - opendaylight-infra-properties:
253 build-days-to-keep: '{build-days-to-keep}'
256 - patches-to-build-parameter:
257 patches_to_build: '$PATCHES_TO_BUILD'
258 - run-test-parameter:
260 - build-fast-parameter:
262 - integration-distribution-branch:
264 - integration-distribution-stream:
266 - distribution-karaf-version:
267 karaf-version: '{karaf-version}'
268 - opendaylight-infra-parameters:
269 os-cloud: '{os-cloud}'
270 project: 'integration/distribution'
272 refspec: 'refs/heads/{branch}'
273 artifacts: '{archive-artifacts}'
274 - lf-infra-maven-parameters:
278 staging-profile-id: '' # Staging repos do not make sense for this job
281 - opendaylight-infra-wrappers:
282 build-timeout: '1200'
286 server-name: '{gerrit-server-name}'
288 - comment-added-contains-event:
289 comment-contains-value: 'multipatch-build'
291 - project-compare-type: ANT
292 project-pattern: '**'
294 - branch-compare-type: ANT
295 branch-pattern: '**/{branch}'
298 - wipe-org-opendaylight-repo
300 mvn-version: '{mvn-version}'
301 - provide-maven-settings:
302 global-settings-file: 'global-settings'
303 settings-file: 'integration-distribution-settings'
304 - integration-multipatch-builder
305 - integration-upload-distribution:
306 dist-pom: patch_tester/distribution/pom.xml
308 condition-kind: boolean-expression
309 condition-expression: $RUN_TEST
312 - project: '{csit-list}'
314 predefined-parameters: |
315 BUNDLE_URL=$BUNDLE_URL
316 KARAF_VERSION=$KARAF_VERSION
320 - email-notification:
321 email-recipients: '{email-recipients}'
322 email-prefix: '[int/dist]'
325 name: 'integration-distribution-weekly-test-trigger-{stream}'
327 project-type: freestyle
328 node: queue-intque-2c-1g
331 - opendaylight-infra-properties:
332 build-days-to-keep: '{build-days-to-keep}'
335 - integration-bundle-url:
336 bundle-url: '{bundle-url}'
337 - distribution-karaf-version:
338 karaf-version: '{karaf-version}'
341 - timed: '{schedule-weekly}'
345 - project: '{csit-weekly-list}'
347 predefined-parameters: |
348 BUNDLE_URL=$BUNDLE_URL
349 KARAF_VERSION=$KARAF_VERSION
352 - email-notification:
353 email-recipients: '{email-recipients}'
354 email-prefix: '[integration]'
357 name: 'integration-distribution-high-frequency-test-trigger-{stream}'
359 project-type: freestyle
360 node: queue-intque-2c-1g
363 - opendaylight-infra-properties:
364 build-days-to-keep: '{build-days-to-keep}'
367 - integration-bundle-url:
368 bundle-url: '{bundle-url}'
369 - distribution-karaf-version:
370 karaf-version: '{karaf-version}'
373 - timed: '{schedule-high-frequency}'
377 - project: '{csit-high-frequency-list}'
379 predefined-parameters: |
380 BUNDLE_URL=$BUNDLE_URL
381 KARAF_VERSION=$KARAF_VERSION
384 - email-notification:
385 email-recipients: '{email-recipients}'
386 email-prefix: '[integration]'
389 name: 'integration-update-csit-tests-{stream}'
391 # This job's purpose is to update csit
392 # tests to run in integration-distribution-test-{stream}
393 # by updating integration files: csit-list-{stream}.inc
394 # These files can be used as !include in int-dist-test-{stream}
396 ######################
397 # Default parameters #
398 ######################
400 git-url: '$GIT_URL/$PROJECT'
401 submodule-recursive: true
403 #####################
404 # Job Configuration #
405 #####################
407 project-type: freestyle
408 node: centos7-builder-2c-8g
411 - lf-infra-properties:
412 build-days-to-keep: 7
415 - lf-infra-parameters:
416 project: releng/builder # Hardcode as this job needs to pull releng/builder
418 branch: master # Hardcode as releng/builder only has master
419 lftools-version: '{lftools-version}'
422 default: '{csit-blacklist}'
423 description: Space separated list of jobs strings to blacklist.
426 - lf-infra-gerrit-scm:
427 jenkins-ssh-credential: '{jenkins-ssh-credential}'
429 refspec: '$GERRIT_REFSPEC'
430 branch: '$GERRIT_BRANCH'
431 submodule-recursive: '{submodule-recursive}'
432 choosing-strategy: default
437 jenkins-ssh-credential: '{jenkins-ssh-credential}'
441 jobs: builder-jjb-merge
444 - shell: !include-raw-escape: update-csit-tests.sh
447 git add jjb/integration/*.lst
448 - opendaylight-infra-push-gerrit-patch:
449 project: "releng/builder"
450 gerrit-topic: "auto-update-csit-jobs-{stream}"
451 gerrit-commit-message: "Auto Update CSIT Jobs to run for {stream}"