3 name: integration-test-jobs
5 - 'integration-verify-python'
6 - 'integration-csit-verify-1node-library'
7 - 'integration-distribution-test-{stream}'
8 - 'integration-patch-test-{stream}'
9 - 'integration-multipatch-test-{stream}'
15 aaa-csit-1node-authn-only-{stream},
16 aaa-csit-1node-authn-all-{stream},
17 bgpcep-csit-1node-userfeatures-only-{stream},
18 bgpcep-csit-1node-userfeatures-all-{stream},
19 capwap-csit-1node-ac-only-{stream},
20 capwap-csit-1node-ac-all-{stream},
21 controller-csit-3node-clustering-only-{stream},
22 controller-csit-3node-clustering-all-{stream},
23 integration-csit-3node-basic-only-{stream},
24 integration-csit-3node-basic-all-{stream},
25 integration-distribution-offline-{stream},
26 l2switch-csit-1node-switch-only-{stream},
27 l2switch-csit-1node-switch-all-{stream},
28 l2switch-csit-1node-scalability-only-{stream},
29 l2switch-csit-1node-scalability-all-{stream},
30 lispflowmapping-csit-1node-all-only-{stream},
31 lispflowmapping-csit-1node-all-all-{stream},
32 nic-csit-1node-basic-all-{stream},
33 nic-csit-1node-basic-only-{stream},
34 openflowplugin-csit-1node-flow-services-only-{stream},
35 openflowplugin-csit-1node-flow-services-lithium-redesign-only-{stream},
36 openflowplugin-csit-1node-flow-services-all-{stream},
37 openflowplugin-csit-1node-scalability-only-{stream},
38 openflowplugin-csit-1node-scalability-lithium-redesign-only-{stream},
39 openflowplugin-csit-1node-scalability-all-{stream},
40 openflowplugin-csit-1node-cbench-performance-only-{stream},
41 openflowplugin-csit-1node-cbench-performance-lithium-redesign-only-{stream},
42 openflowplugin-csit-1node-config-performance-only-{stream},
43 openflowplugin-csit-1node-config-performance-lithium-redesign-only-{stream},
44 ovsdb-csit-1node-netvirt-only-{stream},
45 ovsdb-csit-1node-netvirt-all-{stream},
46 ovsdb-csit-1node-southbound-only-{stream},
47 ovsdb-csit-1node-southbound-all-{stream},
48 snmp-csit-1node-basic-only-{stream},
49 snmp-csit-1node-basic-all-{stream},
50 topoprocessing-csit-1node-topology-operations-all-{stream},
51 topoprocessing-csit-1node-topology-operations-only-{stream},
52 tsdr-csit-1node-h2-datastore-only-{stream},
53 tsdr-csit-1node-h2-datastore-all-{stream},
54 tsdr-csit-1node-hbase-datastore-only-{stream},
55 tsdr-csit-1node-hbase-datastore-all-{stream},
56 usc-csit-1node-channel-only-{stream},
57 usc-csit-1node-channel-all-{stream},
58 vpnservice-csit-1node-vpnservice-only-{stream},
59 vpnservice-csit-1node-vpnservice-all-{stream}
62 branch: 'stable/lithium'
64 aaa-csit-1node-authn-only-{stream},
65 aaa-csit-1node-authn-all-{stream},
66 bgpcep-csit-1node-userfeatures-only-{stream},
67 bgpcep-csit-1node-userfeatures-all-{stream},
68 capwap-csit-1node-ac-only-{stream},
69 capwap-csit-1node-ac-all-{stream},
70 controller-csit-3node-clustering-only-{stream},
71 integration-csit-3node-basic-only-{stream},
72 integration-distribution-offline-{stream},
73 l2switch-csit-1node-switch-only-{stream},
74 l2switch-csit-1node-switch-all-{stream},
75 l2switch-csit-1node-scalability-only-{stream},
76 l2switch-csit-1node-scalability-all-{stream},
77 lispflowmapping-csit-1node-all-only-{stream},
78 lispflowmapping-csit-1node-all-all-{stream},
79 nic-csit-1node-basic-all-{stream},
80 nic-csit-1node-basic-only-{stream},
81 openflowplugin-csit-1node-flow-services-only-{stream},
82 openflowplugin-csit-1node-flow-services-lithium-redesign-only-{stream},
83 openflowplugin-csit-1node-flow-services-all-{stream},
84 openflowplugin-csit-1node-scalability-only-{stream},
85 openflowplugin-csit-1node-scalability-lithium-redesign-only-{stream},
86 openflowplugin-csit-1node-scalability-all-{stream},
87 openflowplugin-csit-1node-cbench-performance-only-{stream},
88 openflowplugin-csit-1node-cbench-performance-lithium-redesign-only-{stream},
89 openflowplugin-csit-1node-config-performance-only-{stream},
90 openflowplugin-csit-1node-config-performance-lithium-redesign-only-{stream},
91 ovsdb-csit-1node-netvirt-only-{stream},
92 ovsdb-csit-1node-netvirt-all-{stream},
93 ovsdb-csit-1node-southbound-only-{stream},
94 ovsdb-csit-1node-southbound-all-{stream},
95 snmp-csit-1node-basic-only-{stream},
96 snmp-csit-1node-basic-all-{stream},
97 usc-csit-1node-channel-only-{stream},
98 usc-csit-1node-channel-all-{stream},
99 vpnservice-csit-1node-vpnservice-only-{stream},
100 vpnservice-csit-1node-vpnservice-all-{stream},
101 vtn-csit-1node-manager-only-{stream},
102 vtn-csit-1node-manager-all-{stream}
105 branch: 'stable/helium'
107 aaa-csit-1node-imds-authn-only-{stream},
108 aaa-csit-1node-imds-authn-all-{stream},
109 controller-csit-1node-imds-nsf-only-{stream},
110 controller-csit-1node-imds-nsf-all-{stream},
111 integration-csit-3node-basic-only-{stream},
112 integration-csit-3node-basic-all-{stream},
113 l2switch-csit-1node-imds-switch-only-{stream},
114 l2switch-csit-1node-imds-switch-all-{stream},
115 lispflowmapping-csit-1node-imds-all-only-{stream},
116 lispflowmapping-csit-1node-imds-all-all-{stream},
117 openflowplugin-csit-1node-imds-flow-services-only-{stream},
118 openflowplugin-csit-1node-imds-flow-services-all-{stream},
119 vtn-csit-1node-imds-manager-only-{stream},
120 vtn-csit-1node-imds-manager-all-{stream}
124 # Template: integration-verify-python
125 # Goal: Verify python scripts correct syntax
126 # Operation: This job template performs a python tox check on any integration/test patch
129 name: 'integration-verify-python'
131 project-type: freestyle
136 daysToKeep: '{build-days-to-keep}'
137 numToKeep: '{build-num-to-keep}'
138 artifactDaysToKeep: '{build-artifact-days-to-keep}'
139 artifactNumToKeep: '{build-artifact-num-to-keep}'
143 project: 'integration/test'
144 - integration-patch-refspec:
145 branch: '$GERRIT_REFSPEC'
148 - integration-gerrit-scm:
149 credentials-id: '{ssh-credentials}'
151 refspec: '$PATCHREFSPEC'
156 - ssh-agent-credentials:
158 - '{ssh-credentials}'
161 - integration-trigger-patch-submitted:
162 name: 'integration/test'
168 virtualenv $WORKSPACE/venv-tox
169 source $WORKSPACE/venv-tox/bin/activate
170 pip install tox argparse
176 - email-notification:
177 email-prefix: '[integration]'
179 # Template: integration-csit-verify-1node-library
180 # Goal: Verify changes in csit folder not covered by projects suite verify jobs (e.g. libraries or variables)
181 # Operation: This job template performs a base openflow test when there is a change in the libraries folder
184 name: 'integration-csit-verify-1node-library'
186 project-type: freestyle
190 daysToKeep: '{build-days-to-keep}'
191 numToKeep: '{build-num-to-keep}'
192 artifactDaysToKeep: '{build-artifact-days-to-keep}'
193 artifactNumToKeep: '{build-artifact-num-to-keep}'
197 project: 'integration/test'
198 - integration-branch:
200 - integration-bundleurl:
202 - integration-controller-scope:
203 controller-scope: 'only'
204 - integration-controller-features:
205 controller-features: >
206 odl-openflowplugin-flow-services-ui,
209 odl-netconf-connector-all
210 - integration-test-options:
211 test-options: '-e adsal'
212 - integration-test-plan:
213 test-plan: 'test-libraries.txt'
214 - integration-patch-refspec:
215 branch: '$GERRIT_REFSPEC'
216 - integration-jdk-version:
217 jdkversion: 'openjdk7'
220 - integration-gerrit-scm:
221 credentials-id: '{ssh-credentials}'
223 refspec: '$PATCHREFSPEC'
228 - integration-jclouds-controller-mininet:
230 mininet-image: '{mininet-image}'
231 mininet-vms: '{mininet-vms}'
232 mininet-cloud-name: '{mininet-cloud-name}'
233 - ssh-agent-credentials:
235 - '{ssh-credentials}'
238 - integration-trigger-patch-submitted:
239 name: 'integration/test'
241 pattern: 'csit/libraries/*'
244 - integration-cleanup-workspace
245 - integration-install-robotframework
247 properties-file: 'env.properties'
248 - integration-get-slave-addresses
250 properties-file: 'slave_addresses.txt'
251 - integration-get-bundle-vars
253 properties-file: 'bundle_vars.txt'
254 - integration-deploy-controller-run-test
255 - integration-cleanup-tmp
262 artifacts: 'karaf.log*'
263 - email-notification:
264 email-prefix: '[integration]'
266 # Template: integration-distribution-test-{stream}
267 # Goal: Verify a distribution through all system test available
268 # Operation: This daily job template takes a distribution and passes all available system test
271 name: 'integration-distribution-test-{stream}'
273 project-type: freestyle
277 daysToKeep: '{build-days-to-keep}'
278 numToKeep: '{build-num-to-keep}'
279 artifactDaysToKeep: '{build-artifact-days-to-keep}'
280 artifactNumToKeep: '{build-artifact-num-to-keep}'
283 - integration-bundleurl:
285 - integration-jdk-version:
286 jdkversion: 'openjdk7'
293 - project: '{csit-list}'
295 predefined-parameters:
299 - email-notification:
300 email-prefix: '[integration]'
302 # Template: integration-patch-test-{stream}
303 # Goal: Build a patch and run all available system test on a distribution containing the change
304 # Operation: This job template builds a patch, creates a distribution containing the patch, and
305 # triggers the distribution test when test-integration is used in gerrit comments
308 name: 'integration-patch-test-{stream}'
315 daysToKeep: '{build-days-to-keep}'
316 numToKeep: '{build-num-to-keep}'
317 artifactDaysToKeep: '{build-artifact-days-to-keep}'
318 artifactNumToKeep: '{build-artifact-num-to-keep}'
321 - gerrit-project-parameter:
322 project: '$GERRIT_PROJECT'
323 - gerrit-refspec-parameter:
324 refspec: '$GERRIT_REFSPEC'
326 project: '$GERRIT_PROJECT'
327 - integration-branch:
329 - integration-distribution-git-url
332 - integration-gerrit-scm:
333 credentials-id: '{ssh-credentials}'
334 basedir: '$GERRIT_PROJECT'
335 refspec: '$GERRIT_REFSPEC'
337 - integration-distribution-scm:
338 credentials-id: '{ssh-credentials}'
343 - ssh-agent-credentials:
345 - '{ssh-credentials}'
349 server-name: 'OpenDaylight'
351 - comment-added-contains-event:
352 comment-contains-value: 'test-integration'
354 - project-compare-type: 'ANT'
355 project-pattern: '**'
357 - branch-compare-type: 'ANT'
358 branch-pattern: '**/{branch}'
366 - integration-rebase-gerrit-patch
367 - integration-get-bundle-url
369 properties-file: 'bundle.txt'
370 - wipe-org-opendaylight-repo
372 maven-version: '{mvn33}'
373 pom: '$GERRIT_PROJECT/pom.xml'
374 goals: 'clean install -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
376 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
377 settings: '{integration-settings}'
378 global-settings: '{odl-global-settings}'
381 maven-name: '{mvn33}'
382 root-pom: 'distribution/pom.xml'
383 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
384 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
385 settings: '{integration-settings}'
386 global-settings: '{odl-global-settings}'
387 ignore-upstream-changes: true
388 post-step-run-condition: 'SUCCESS'
392 - project: 'integration-distribution-test-{stream}'
394 predefined-parameters:
398 - email-notification:
399 email-prefix: '[$GERRIT_PROJECT]'
401 # Template: integration-multipatch-test-{stream}
402 # Goal: Build one or more patches and run all available system test on a distribution containing the change
403 # Operation: This job template checks out and builds each patch provided in job parameters, creates a distribution
404 # containing these patches, and triggers the distribution test job which includes most (if not all) available
408 name: 'integration-multipatch-test-{stream}'
415 daysToKeep: '{build-days-to-keep}'
416 numToKeep: '{build-num-to-keep}'
417 artifactDaysToKeep: '{build-artifact-days-to-keep}'
418 artifactNumToKeep: '{build-artifact-num-to-keep}'
421 - patches-to-build-parameter:
422 patches_to_build: '$PATCHES_TO_BUILD'
423 - integration-branch:
428 - ssh-agent-credentials:
430 - '{ssh-credentials}'
433 - wipe-org-opendaylight-repo
434 - integration-multipatch-builder
436 properties-file: 'bundle.txt'
437 - provide-maven-settings:
438 global-settings-file: '{odl-global-settings}'
439 settings-file: '{yangtools-settings}'
443 maven-name: '{mvn33}'
444 root-pom: 'patch_tester/pom.xml'
445 # TODO: Make Maven option configurable. Currently tests are not skipped, everything elase is.
446 goals: 'clean install -f patch_tester/pom.xml -Djenkins -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
447 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
448 settings: '{yangtools-settings}'
449 global-settings: '{odl-global-settings}'
450 post-step-run-condition: 'SUCCESS'
454 - project: 'integration-distribution-test-{stream}'
456 predefined-parameters:
460 - email-notification:
461 email-prefix: '[integration]'