Merge "Fix hypervisor count for all-in-one devstack"
[releng/builder.git] / jjb / integration / integration-templates.yaml
1 ---
2 # Job templates in this file (please update with every new template):
3 # FIXME: Update
4 #
5 # {project}-csit-verify-1node-{functionality}
6 # {project}-csit-1node-{functionality}-{install}-{stream}
7 # {project}-csit-1node-periodic-{functionality}-{install}-{stream}
8 # {project}-csit-verify-3node-{functionality}
9 # {project}-csit-3node-{functionality}-{install}-{stream}
10 # {project}-csit-3node-periodic-{functionality}-{install}-{stream}
11 #
12 # Parameters:
13 # FIXME: Distinguish variables, macros and arguments, then update.
14 #
15 # opendaylight-infra-parameters: main project integration/test ($PROJECT)
16 # jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
17 # integration-distribution-branch: distribution branch ($DISTROBRANCH)
18 # integration-controller-bundleurl: distribution URL ($BUNDLEURL)
19 # integration-controller-scope: only or all features ($CONTROLLERSCOPE)
20 # integration-controller-features: features under test ($CONTROLLER FEATURES)
21 # integration-test-options: robot options ($TESTOPTIONS)
22 # integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN)
23 # integration-test-plan: fallback robot test plan ($TESTPLAN)
24 # integration-patch-refspec: test branch ($PATCHREFSPEC)
25
26
27 # New templates
28
29 - job-template:
30     name: '{project}-csit-verify-1node-{functionality}'
31     disabled: false
32
33     project-type: freestyle
34     node: centos7-robot-2c-2g
35
36     properties:
37       - opendaylight-infra-properties:
38           build-days-to-keep: '{build-days-to-keep}'
39
40     parameters:
41       - opendaylight-infra-parameters:
42           os-cloud: '{os-cloud}'
43           project: 'integration/test'
44           branch: '{branch}'
45           refspec: 'refs/heads/{branch}'
46           artifacts: '{archive-artifacts}'
47       - integration-distribution-branch:
48           branch: '{verify-branch}'
49       - integration-distribution-stream:
50           stream: '{verify-stream}'
51       - integration-bundleurl:
52           bundleurl: '{bundleurl}'
53       - integration-controller-scope:
54           controller-scope: 'only'
55       - integration-controller-features:
56           controller-features: '{install-features}'
57       - integration-test-options:
58           test-options: '{robot-options}'
59       - integration-stream-test-plan:
60           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
61       - integration-test-plan:
62           test-plan: '{project}-{functionality}.txt'
63       - integration-jdk-version:
64           jdkversion: '{verify-jdkversion}'
65
66     scm:
67       - integration-gerrit-scm:
68           basedir: 'test'
69           refspec: '$GERRIT_REFSPEC'
70           branch: 'master'
71
72     wrappers:
73       - opendaylight-infra-wrappers:
74           build-timeout: '{build-timeout}'
75
76     triggers:
77       - integration-trigger-patch-submitted:
78           server: '{server-name}'
79           project: 'integration/test'
80           branch: 'master'
81           files: 'csit/suites/{project}/**'
82
83     builders:
84       - integration-infra-stack:
85           stack-template: '{stack-template}'
86           vm_0_count: '1'
87           vm_0_flavor: '{odl_system_flavor}'
88           vm_0_image: '{odl_system_image}'
89           vm_1_count: '{tools_system_count}'
90           vm_1_flavor: '{tools_system_flavor}'
91           vm_1_image: '{tools_system_image}'
92       - integration-install-robotframework
93       - inject:
94           properties-file: 'env.properties'
95       - integration-get-slave-addresses
96       - inject:
97           properties-file: 'slave_addresses.txt'
98       - integration-get-bundle-vars
99       - inject:
100           properties-file: 'bundle_vars.txt'
101       - integration-deploy-controller-run-test
102       - integration-cleanup-tmp
103
104     publishers:
105       - integration-robot:
106           unstable-if: 0.0
107           pass-if: 100.0
108       - email-notification:
109           email-recipients: '{email-recipients}'
110           email-prefix: '[{project}]'
111       - integration-csit-archive-build
112       - opendaylight-infra-shiplogs:
113           maven-version: 'mvn33'
114
115 - job-template:
116     name: '{project}-csit-1node-{functionality}-{install}-{stream}'
117     disabled: false
118
119     project-type: freestyle
120     node: centos7-robot-2c-2g
121
122     properties:
123       - opendaylight-infra-properties:
124           build-days-to-keep: '{build-days-to-keep}'
125
126     parameters:
127       - opendaylight-infra-parameters:
128           os-cloud: '{os-cloud}'
129           project: 'integration/test'
130           branch: '{branch}'
131           refspec: 'refs/heads/{branch}'
132           artifacts: '{archive-artifacts}'
133       - integration-distribution-branch:
134           branch: '{branch}'
135       - integration-distribution-stream:
136           stream: '{stream}'
137       - integration-bundleurl:
138           bundleurl: '{bundleurl}'
139       - integration-controller-scope:
140           controller-scope: '{scope}'
141       - integration-controller-features:
142           controller-features: '{install-features}'
143       - integration-test-options:
144           test-options: '{robot-options}'
145       - integration-stream-test-plan:
146           stream-test-plan: '{project}-{functionality}-{stream}.txt'
147       - integration-test-plan:
148           test-plan: '{project}-{functionality}.txt'
149       - integration-patch-refspec:
150           branch: 'master'
151       - integration-jdk-version:
152           jdkversion: '{jre}'
153
154     scm:
155       - integration-gerrit-scm:
156           basedir: 'test'
157           refspec: '$PATCHREFSPEC'
158           branch: 'master'
159
160     wrappers:
161       - opendaylight-infra-wrappers:
162           build-timeout: '{build-timeout}'
163
164     builders:
165       - integration-infra-stack:
166           stack-template: '{stack-template}'
167           vm_0_count: '1'
168           vm_0_flavor: '{odl_system_flavor}'
169           vm_0_image: '{odl_system_image}'
170           vm_1_count: '{tools_system_count}'
171           vm_1_flavor: '{tools_system_flavor}'
172           vm_1_image: '{tools_system_image}'
173       - integration-install-robotframework
174       - inject:
175           properties-file: 'env.properties'
176       - integration-get-slave-addresses
177       - inject:
178           properties-file: 'slave_addresses.txt'
179       - integration-get-bundle-vars
180       - inject:
181           properties-file: 'bundle_vars.txt'
182       - integration-deploy-controller-run-test
183       - integration-cleanup-tmp
184
185     publishers:
186       - integration-robot:
187           unstable-if: 0.0
188           pass-if: 100.0
189       - email-notification:
190           email-recipients: '{email-recipients}'
191           email-prefix: '[{project}]'
192       - plot:
193           - title: '{01-plot-title}'
194             yaxis: '{01-plot-yaxis}'
195             group: '{01-plot-group}'
196             num-builds: '5400'
197             keep-records: true
198             style: line
199             use-description: false
200             # yamllint disable-line rule:line-length
201             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
202             series:
203               - file: '{01-plot-data-file}'
204                 inclusion-flag: 'off'
205                 display-table: true
206                 format: csv
207           - title: '{02-plot-title}'
208             yaxis: '{02-plot-yaxis}'
209             group: '{02-plot-group}'
210             num-builds: '5400'
211             keep-records: true
212             style: line
213             use-description: false
214             # yamllint disable-line rule:line-length
215             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
216             series:
217               - file: '{02-plot-data-file}'
218                 inclusion-flag: 'off'
219                 display-table: true
220                 format: csv
221       - integration-csit-archive-build
222       - opendaylight-infra-shiplogs:
223           maven-version: 'mvn33'
224
225 - job-template:
226     name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
227     disabled: false
228
229     project-type: freestyle
230     node: centos7-robot-2c-2g
231
232     properties:
233       - opendaylight-infra-properties:
234           build-days-to-keep: '{build-days-to-keep}'
235
236     parameters:
237       - opendaylight-infra-parameters:
238           os-cloud: '{os-cloud}'
239           project: 'integration/test'
240           branch: '{branch}'
241           refspec: 'refs/heads/{branch}'
242           artifacts: '{archive-artifacts}'
243       - integration-distribution-branch:
244           branch: '{branch}'
245       - integration-distribution-stream:
246           stream: '{stream}'
247       - integration-bundleurl:
248           bundleurl: '{bundleurl}'
249       - integration-controller-scope:
250           controller-scope: '{scope}'
251       - integration-controller-features:
252           controller-features: '{install-features}'
253       - integration-test-options:
254           test-options: '{robot-options}'
255       - integration-stream-test-plan:
256           stream-test-plan: '{project}-{functionality}-{stream}.txt'
257       - integration-test-plan:
258           test-plan: '{project}-{functionality}.txt'
259       - integration-patch-refspec:
260           branch: 'master'
261       - integration-jdk-version:
262           jdkversion: '{jre}'
263
264     scm:
265       - integration-gerrit-scm:
266           basedir: 'test'
267           refspec: '$PATCHREFSPEC'
268           branch: 'master'
269
270     wrappers:
271       - opendaylight-infra-wrappers:
272           build-timeout: '{build-timeout}'
273
274     builders:
275       - integration-infra-stack:
276           stack-template: '{stack-template}'
277           vm_0_count: '1'
278           vm_0_flavor: '{odl_system_flavor}'
279           vm_0_image: '{odl_system_image}'
280           vm_1_count: '{tools_system_count}'
281           vm_1_flavor: '{tools_system_flavor}'
282           vm_1_image: '{tools_system_image}'
283       - integration-install-robotframework
284       - inject:
285           properties-file: 'env.properties'
286       - integration-get-slave-addresses
287       - inject:
288           properties-file: 'slave_addresses.txt'
289       - integration-get-bundle-vars
290       - inject:
291           properties-file: 'bundle_vars.txt'
292       - integration-deploy-controller-run-test
293       - integration-cleanup-tmp
294
295     publishers:
296       - integration-robot:
297           unstable-if: 0.0
298           pass-if: 100.0
299       - email-notification:
300           email-recipients: '{email-recipients}'
301           email-prefix: '[{project}]'
302       - plot:
303           - title: '{01-plot-title}'
304             yaxis: '{01-plot-yaxis}'
305             group: '{01-plot-group}'
306             num-builds: '180'
307             keep-records: true
308             style: line
309             use-description: false
310             # yamllint disable-line rule:line-length
311             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
312             series:
313               - file: '{01-plot-data-file}'
314                 inclusion-flag: 'off'
315                 display-table: true
316                 format: csv
317           - title: '{02-plot-title}'
318             yaxis: '{02-plot-yaxis}'
319             group: '{02-plot-group}'
320             num-builds: '180'
321             keep-records: true
322             style: line
323             use-description: false
324             # yamllint disable-line rule:line-length
325             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
326             series:
327               - file: '{02-plot-data-file}'
328                 inclusion-flag: 'off'
329                 display-table: true
330                 format: csv
331           - title: '{03-plot-title}'
332             yaxis: '{03-plot-yaxis}'
333             group: '{03-plot-group}'
334             num-builds: '180'
335             keep-records: true
336             style: line
337             use-description: false
338             # yamllint disable-line rule:line-length
339             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
340             series:
341               - file: '{03-plot-data-file}'
342                 inclusion-flag: '{03-inclusion-flag}'
343                 exclude: '{03-exclude-value}'
344                 format: csv
345           - title: '{04-plot-title}'
346             yaxis: '{04-plot-yaxis}'
347             group: '{04-plot-group}'
348             num-builds: '180'
349             keep-records: true
350             style: line
351             use-description: false
352             # yamllint disable-line rule:line-length
353             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
354             series:
355               - file: '{04-plot-data-file}'
356                 inclusion-flag: '{04-inclusion-flag}'
357                 exclude: '{04-exclude-value}'
358                 format: csv
359           - title: '{05-plot-title}'
360             yaxis: '{05-plot-yaxis}'
361             group: '{05-plot-group}'
362             num-builds: '180'
363             keep-records: true
364             style: line
365             use-description: false
366             # yamllint disable-line rule:line-length
367             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
368             series:
369               - file: '{05-plot-data-file}'
370                 inclusion-flag: '{05-inclusion-flag}'
371                 exclude: '{05-exclude-value}'
372                 format: csv
373           - title: '{06-plot-title}'
374             yaxis: '{06-plot-yaxis}'
375             group: '{06-plot-group}'
376             num-builds: '180'
377             keep-records: true
378             style: line
379             use-description: false
380             # yamllint disable-line rule:line-length
381             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
382             series:
383               - file: '{06-plot-data-file}'
384                 inclusion-flag: '{06-inclusion-flag}'
385                 exclude: '{06-exclude-value}'
386                 format: csv
387           - title: '{07-plot-title}'
388             yaxis: '{07-plot-yaxis}'
389             group: '{07-plot-group}'
390             num-builds: '180'
391             keep-records: true
392             style: line
393             use-description: false
394             # yamllint disable-line rule:line-length
395             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
396             series:
397               - file: '{07-plot-data-file}'
398                 inclusion-flag: '{07-inclusion-flag}'
399                 exclude: '{07-exclude-value}'
400                 format: csv
401           - title: '{08-plot-title}'
402             yaxis: '{08-plot-yaxis}'
403             group: '{08-plot-group}'
404             num-builds: '180'
405             keep-records: true
406             style: line
407             use-description: false
408             # yamllint disable-line rule:line-length
409             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
410             series:
411               - file: '{08-plot-data-file}'
412                 inclusion-flag: '{08-inclusion-flag}'
413                 exclude: '{08-exclude-value}'
414                 format: csv
415           - title: '{09-plot-title}'
416             yaxis: '{09-plot-yaxis}'
417             group: '{09-plot-group}'
418             num-builds: '180'
419             keep-records: true
420             style: line
421             use-description: false
422             # yamllint disable-line rule:line-length
423             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
424             series:
425               - file: '{09-plot-data-file}'
426                 inclusion-flag: '{09-inclusion-flag}'
427                 exclude: '{09-exclude-value}'
428                 format: csv
429           - title: '{10-plot-title}'
430             yaxis: '{10-plot-yaxis}'
431             group: '{10-plot-group}'
432             num-builds: '180'
433             keep-records: true
434             style: line
435             use-description: false
436             # yamllint disable-line rule:line-length
437             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
438             series:
439               - file: '{10-plot-data-file}'
440                 inclusion-flag: '{10-inclusion-flag}'
441                 exclude: '{10-exclude-value}'
442                 format: csv
443       - integration-csit-archive-build
444       - opendaylight-infra-shiplogs:
445           maven-version: 'mvn33'
446
447 - job-template:
448     name: '{project}-csit-verify-3node-{functionality}'
449     disabled: false
450
451     project-type: freestyle
452     node: centos7-robot-2c-2g
453
454     properties:
455       - opendaylight-infra-properties:
456           build-days-to-keep: '{build-days-to-keep}'
457
458     parameters:
459       - opendaylight-infra-parameters:
460           os-cloud: '{os-cloud}'
461           project: 'integration/test'
462           branch: '{branch}'
463           refspec: 'refs/heads/{branch}'
464           artifacts: '{archive-artifacts}'
465       - integration-distribution-branch:
466           branch: '{verify-branch}'
467       - integration-distribution-stream:
468           stream: '{verify-stream}'
469       - integration-bundleurl:
470           bundleurl: '{bundleurl}'
471       - integration-controller-scope:
472           controller-scope: 'only'
473       - integration-controller-features:
474           controller-features: 'odl-jolokia,{install-features}'
475       - integration-test-options:
476           test-options: '{robot-options}'
477       - integration-stream-test-plan:
478           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
479       - integration-test-plan:
480           test-plan: '{project}-{functionality}.txt'
481       - integration-jdk-version:
482           jdkversion: '{verify-jdkversion}'
483
484     scm:
485       - integration-gerrit-scm:
486           basedir: 'test'
487           refspec: '$GERRIT_REFSPEC'
488           branch: 'master'
489
490     wrappers:
491       - opendaylight-infra-wrappers:
492           build-timeout: '{build-timeout}'
493
494     triggers:
495       - integration-trigger-patch-submitted:
496           server: '{server-name}'
497           project: 'integration/test'
498           branch: 'master'
499           files: 'csit/suites/{project}/**'
500
501     builders:
502       - integration-infra-stack:
503           stack-template: '{stack-template}'
504           vm_0_count: '3'
505           vm_0_flavor: '{odl_system_flavor}'
506           vm_0_image: '{odl_system_image}'
507           vm_1_count: '{tools_system_count}'
508           vm_1_flavor: '{tools_system_flavor}'
509           vm_1_image: '{tools_system_image}'
510       - integration-install-robotframework
511       - inject:
512           properties-file: 'env.properties'
513       - integration-get-slave-addresses
514       - inject:
515           properties-file: 'slave_addresses.txt'
516       - integration-get-bundle-vars
517       - inject:
518           properties-file: 'bundle_vars.txt'
519       - integration-configure-clustering
520       - integration-start-cluster-run-test
521       - integration-cleanup-tmp
522
523     publishers:
524       - integration-robot:
525           unstable-if: 0.0
526           pass-if: 100.0
527       - email-notification:
528           email-recipients: '{email-recipients}'
529           email-prefix: '[{project}]'
530       - integration-csit-archive-build
531       - opendaylight-infra-shiplogs:
532           maven-version: 'mvn33'
533
534 - job-template:
535     name: '{project}-csit-3node-{functionality}-{install}-{stream}'
536     disabled: false
537
538     project-type: freestyle
539     node: centos7-robot-2c-2g
540
541     properties:
542       - opendaylight-infra-properties:
543           build-days-to-keep: '{build-days-to-keep}'
544
545     parameters:
546       - opendaylight-infra-parameters:
547           os-cloud: '{os-cloud}'
548           project: 'integration/test'
549           branch: '{branch}'
550           refspec: 'refs/heads/{branch}'
551           artifacts: '{archive-artifacts}'
552       - integration-distribution-branch:
553           branch: '{branch}'
554       - integration-distribution-stream:
555           stream: '{stream}'
556       - integration-bundleurl:
557           bundleurl: '{bundleurl}'
558       - integration-controller-scope:
559           controller-scope: '{scope}'
560       - integration-controller-features:
561           controller-features: 'odl-jolokia,{install-features}'
562       - integration-test-options:
563           test-options: '{robot-options}'
564       - integration-stream-test-plan:
565           stream-test-plan: '{project}-{functionality}-{stream}.txt'
566       - integration-test-plan:
567           test-plan: '{project}-{functionality}.txt'
568       - integration-patch-refspec:
569           branch: 'master'
570       - integration-jdk-version:
571           jdkversion: '{jre}'
572
573     scm:
574       - integration-gerrit-scm:
575           basedir: 'test'
576           refspec: '$PATCHREFSPEC'
577           branch: 'master'
578
579     wrappers:
580       - opendaylight-infra-wrappers:
581           build-timeout: '{build-timeout}'
582
583     builders:
584       - integration-infra-stack:
585           stack-template: '{stack-template}'
586           vm_0_count: '3'
587           vm_0_flavor: '{odl_system_flavor}'
588           vm_0_image: '{odl_system_image}'
589           vm_1_count: '{tools_system_count}'
590           vm_1_flavor: '{tools_system_flavor}'
591           vm_1_image: '{tools_system_image}'
592       - integration-install-robotframework
593       - inject:
594           properties-file: 'env.properties'
595       - integration-get-slave-addresses
596       - inject:
597           properties-file: 'slave_addresses.txt'
598       - integration-get-bundle-vars
599       - inject:
600           properties-file: 'bundle_vars.txt'
601       - integration-configure-clustering
602       - integration-start-cluster-run-test
603       - integration-cleanup-tmp
604
605     publishers:
606       - integration-robot:
607           unstable-if: 0.0
608           pass-if: 100.0
609       - email-notification:
610           email-recipients: '{email-recipients}'
611           email-prefix: '[{project}]'
612       - plot:
613           - title: '{01-plot-title}'
614             yaxis: '{01-plot-yaxis}'
615             group: '{01-plot-group}'
616             num-builds: '5400'
617             keep-records: true
618             style: line
619             use-description: false
620             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
621             series:
622               - file: '{01-plot-data-file}'
623                 inclusion-flag: 'off'
624                 display-table: true
625                 format: csv
626           - title: '{02-plot-title}'
627             yaxis: '{02-plot-yaxis}'
628             group: '{02-plot-group}'
629             num-builds: '5400'
630             keep-records: true
631             style: line
632             use-description: false
633             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
634             series:
635               - file: '{02-plot-data-file}'
636                 inclusion-flag: 'off'
637                 display-table: true
638                 format: csv
639       - integration-csit-archive-build
640       - opendaylight-infra-shiplogs:
641           maven-version: 'mvn33'
642
643 - job-template:
644     name: '{project}-csit-3node-docker-{functionality}-{install}-{stream}'
645     disabled: false
646
647     project-type: freestyle
648     node: centos7-robot-2c-2g
649
650     properties:
651       - opendaylight-infra-properties:
652           build-days-to-keep: '{build-days-to-keep}'
653
654     parameters:
655       - opendaylight-infra-parameters:
656           os-cloud: '{os-cloud}'
657           project: 'integration/test'
658           branch: '{branch}'
659           refspec: 'refs/heads/{branch}'
660           artifacts: '{archive-artifacts}'
661       - integration-distribution-branch:
662           branch: '{branch}'
663       - integration-distribution-stream:
664           stream: '{stream}'
665       - integration-bundleurl:
666           bundleurl: '{bundleurl}'
667       - integration-controller-scope:
668           controller-scope: '{scope}'
669       - integration-controller-features:
670           controller-features: 'odl-jolokia,{install-features}'
671       - integration-test-options:
672           test-options: '{robot-options}'
673       - integration-stream-test-plan:
674           stream-test-plan: '{project}-{functionality}-{stream}.txt'
675       - integration-test-plan:
676           test-plan: '{project}-{functionality}.txt'
677       - integration-patch-refspec:
678           branch: 'master'
679       - integration-jdk-version:
680           jdkversion: '{jre}'
681
682     scm:
683       - integration-gerrit-scm:
684           basedir: 'test'
685           refspec: '$PATCHREFSPEC'
686           branch: 'master'
687
688     wrappers:
689       - opendaylight-infra-wrappers:
690           build-timeout: '{build-timeout}'
691
692     builders:
693       - integration-infra-stack:
694           stack-template: '{stack-template}'
695           vm_0_count: '3'
696           vm_0_flavor: '{odl_system_flavor}'
697           vm_0_image: '{odl_system_image}'
698           vm_1_count: '{docker_system_count}'
699           vm_1_flavor: '{docker_system_flavor}'
700           vm_1_image: '{docker_system_image}'
701       - integration-install-robotframework
702       - inject:
703           properties-file: 'env.properties'
704       - integration-get-slave-addresses
705       - inject:
706           properties-file: 'slave_addresses.txt'
707       - integration-get-bundle-vars
708       - inject:
709           properties-file: 'bundle_vars.txt'
710       - integration-configure-clustering
711       - integration-start-cluster-run-test
712       - integration-cleanup-tmp
713
714     publishers:
715       - integration-robot:
716           unstable-if: 0.0
717           pass-if: 100.0
718       - email-notification:
719           email-recipients: '{email-recipients}'
720           email-prefix: '[{project}]'
721       - plot:
722           - title: '{01-plot-title}'
723             yaxis: '{01-plot-yaxis}'
724             group: '{01-plot-group}'
725             num-builds: '5400'
726             keep-records: true
727             style: line
728             use-description: false
729             # yamllint disable-line rule:line-length
730             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
731             series:
732               - file: '{01-plot-data-file}'
733                 inclusion-flag: 'off'
734                 display-table: true
735                 format: csv
736           - title: '{02-plot-title}'
737             yaxis: '{02-plot-yaxis}'
738             group: '{02-plot-group}'
739             num-builds: '5400'
740             keep-records: true
741             style: line
742             use-description: false
743             # yamllint disable-line rule:line-length
744             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
745             series:
746               - file: '{02-plot-data-file}'
747                 inclusion-flag: 'off'
748                 display-table: true
749                 format: csv
750       - integration-csit-archive-build
751       - opendaylight-infra-shiplogs:
752           maven-version: 'mvn33'
753
754 - job-template:
755     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
756     disabled: false
757
758     project-type: freestyle
759     node: centos7-robot-2c-2g
760
761     properties:
762       - opendaylight-infra-properties:
763           build-days-to-keep: '{build-days-to-keep}'
764
765     parameters:
766       - opendaylight-infra-parameters:
767           os-cloud: '{os-cloud}'
768           project: 'integration/test'
769           branch: '{branch}'
770           refspec: 'refs/heads/{branch}'
771           artifacts: '{archive-artifacts}'
772       - integration-distribution-branch:
773           branch: '{branch}'
774       - integration-distribution-stream:
775           stream: '{stream}'
776       - integration-bundleurl:
777           bundleurl: '{bundleurl}'
778       - integration-controller-scope:
779           controller-scope: '{scope}'
780       - integration-controller-features:
781           controller-features: 'odl-jolokia,{install-features}'
782       - integration-test-options:
783           test-options: '{robot-options}'
784       - integration-stream-test-plan:
785           stream-test-plan: '{project}-{functionality}-{stream}.txt'
786       - integration-test-plan:
787           test-plan: '{project}-{functionality}.txt'
788       - integration-patch-refspec:
789           branch: 'master'
790       - integration-jdk-version:
791           jdkversion: '{jre}'
792
793     scm:
794       - integration-gerrit-scm:
795           basedir: 'test'
796           refspec: '$PATCHREFSPEC'
797           branch: 'master'
798
799     wrappers:
800       - opendaylight-infra-wrappers:
801           build-timeout: '{build-timeout}'
802
803     builders:
804       - integration-infra-stack:
805           stack-template: '{stack-template}'
806           vm_0_count: '3'
807           vm_0_flavor: '{odl_system_flavor}'
808           vm_0_image: '{odl_system_image}'
809           vm_1_count: '{tools_system_count}'
810           vm_1_flavor: '{tools_system_flavor}'
811           vm_1_image: '{tools_system_image}'
812       - integration-install-robotframework
813       - inject:
814           properties-file: 'env.properties'
815       - integration-get-slave-addresses
816       - inject:
817           properties-file: 'slave_addresses.txt'
818       - integration-get-bundle-vars
819       - inject:
820           properties-file: 'bundle_vars.txt'
821       - integration-configure-clustering
822       - integration-start-cluster-run-test
823       - integration-cleanup-tmp
824
825     publishers:
826       - integration-robot:
827           unstable-if: 0.0
828           pass-if: 100.0
829       - email-notification:
830           email-recipients: '{email-recipients}'
831           email-prefix: '[{project}]'
832       - plot:
833           - title: '{01-plot-title}'
834             yaxis: '{01-plot-yaxis}'
835             group: '{01-plot-group}'
836             num-builds: '180'
837             keep-records: true
838             style: line
839             use-description: false
840             # yamllint disable-line rule:line-length
841             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
842             series:
843               - file: '{01-plot-data-file}'
844                 inclusion-flag: 'off'
845                 display-table: true
846                 format: csv
847           - title: '{02-plot-title}'
848             yaxis: '{02-plot-yaxis}'
849             group: '{02-plot-group}'
850             num-builds: '180'
851             keep-records: true
852             style: line
853             use-description: false
854             # yamllint disable-line rule:line-length
855             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
856             series:
857               - file: '{02-plot-data-file}'
858                 inclusion-flag: 'off'
859                 display-table: true
860                 format: csv
861           - title: '{03-plot-title}'
862             yaxis: '{03-plot-yaxis}'
863             group: '{03-plot-group}'
864             num-builds: '180'
865             keep-records: true
866             style: line
867             use-description: false
868             # yamllint disable-line rule:line-length
869             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
870             series:
871               - file: '{03-plot-data-file}'
872                 inclusion-flag: '{03-inclusion-flag}'
873                 exclude: '{03-exclude-value}'
874                 format: csv
875           - title: '{04-plot-title}'
876             yaxis: '{04-plot-yaxis}'
877             group: '{04-plot-group}'
878             num-builds: '180'
879             keep-records: true
880             style: line
881             use-description: false
882             # yamllint disable-line rule:line-length
883             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
884             series:
885               - file: '{04-plot-data-file}'
886                 inclusion-flag: '{04-inclusion-flag}'
887                 exclude: '{04-exclude-value}'
888                 format: csv
889           - title: '{05-plot-title}'
890             yaxis: '{05-plot-yaxis}'
891             group: '{05-plot-group}'
892             num-builds: '180'
893             keep-records: true
894             style: line
895             use-description: false
896             # yamllint disable-line rule:line-length
897             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
898             series:
899               - file: '{05-plot-data-file}'
900                 inclusion-flag: '{05-inclusion-flag}'
901                 exclude: '{05-exclude-value}'
902                 format: csv
903           - title: '{06-plot-title}'
904             yaxis: '{06-plot-yaxis}'
905             group: '{06-plot-group}'
906             num-builds: '180'
907             keep-records: true
908             style: line
909             use-description: false
910             # yamllint disable-line rule:line-length
911             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
912             series:
913               - file: '{06-plot-data-file}'
914                 inclusion-flag: '{06-inclusion-flag}'
915                 exclude: '{06-exclude-value}'
916                 format: csv
917           - title: '{07-plot-title}'
918             yaxis: '{07-plot-yaxis}'
919             group: '{07-plot-group}'
920             num-builds: '180'
921             keep-records: true
922             style: line
923             use-description: false
924             # yamllint disable-line rule:line-length
925             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
926             series:
927               - file: '{07-plot-data-file}'
928                 inclusion-flag: '{07-inclusion-flag}'
929                 exclude: '{07-exclude-value}'
930                 format: csv
931           - title: '{08-plot-title}'
932             yaxis: '{08-plot-yaxis}'
933             group: '{08-plot-group}'
934             num-builds: '180'
935             keep-records: true
936             style: line
937             use-description: false
938             # yamllint disable-line rule:line-length
939             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
940             series:
941               - file: '{08-plot-data-file}'
942                 inclusion-flag: '{08-inclusion-flag}'
943                 exclude: '{08-exclude-value}'
944                 format: csv
945           - title: '{09-plot-title}'
946             yaxis: '{09-plot-yaxis}'
947             group: '{09-plot-group}'
948             num-builds: '180'
949             keep-records: true
950             style: line
951             use-description: false
952             # yamllint disable-line rule:line-length
953             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
954             series:
955               - file: '{09-plot-data-file}'
956                 inclusion-flag: '{09-inclusion-flag}'
957                 exclude: '{09-exclude-value}'
958                 format: csv
959           - title: '{10-plot-title}'
960             yaxis: '{10-plot-yaxis}'
961             group: '{10-plot-group}'
962             num-builds: '180'
963             keep-records: true
964             style: line
965             use-description: false
966             # yamllint disable-line rule:line-length
967             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
968             series:
969               - file: '{10-plot-data-file}'
970                 inclusion-flag: '{10-inclusion-flag}'
971                 exclude: '{10-exclude-value}'
972                 format: csv
973       - integration-csit-archive-build
974       - opendaylight-infra-shiplogs:
975           maven-version: 'mvn33'
976
977 - job-template:
978     name: '{project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}'
979     disabled: false
980
981     project-type: freestyle
982     node: centos7-robot-2c-2g
983     concurrent: true
984
985     properties:
986       - opendaylight-infra-properties:
987           build-days-to-keep: '{build-days-to-keep}'
988
989     parameters:
990       - opendaylight-infra-parameters:
991           os-cloud: '{os-cloud}'
992           project: 'integration/test'
993           branch: '{branch}'
994           refspec: 'refs/heads/{branch}'
995           artifacts: '{archive-artifacts}'
996       - integration-distribution-branch:
997           branch: '{branch}'
998       - integration-distribution-stream:
999           stream: '{stream}'
1000       - integration-bundleurl:
1001           bundleurl: '{bundleurl}'
1002       - integration-controller-features:
1003           controller-features: '{install-features}'
1004       - integration-test-options:
1005           test-options: '{robot-options}'
1006       - integration-test-plan:
1007           test-plan: '{testplan}'
1008       - integration-patch-refspec:
1009           branch: 'master'
1010       - integration-jdk-version:
1011           jdkversion: '{jre}'
1012       - string:
1013           name: OPENSTACK_BRANCH
1014           default: '{openstack-branch}'
1015           description: 'Openstack version to use with devstack'
1016       - string:
1017           name: ODL_ML2_DRIVER_REPO
1018           default: '{odl-ml2-driver-repo}'
1019           description: 'URL to fetch networking-odl driver'
1020       - string:
1021           name: ODL_ML2_BRANCH
1022           default: '{odl-ml2-branch}'
1023           description: 'Version of networking-odl to checkout from the repo'
1024       - string:
1025           name: ODL_ML2_DRIVER_VERSION
1026           default: '{odl-ml2-driver-version}'
1027           description: 'Mode of networking-odl (v1 or v2)'
1028       - string:
1029           name: ODL_ML2_PORT_BINDING
1030           default: '{odl-ml2-port-binding}'
1031           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1032           network-topology)'
1033       - string:
1034           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1035           default: '{devstack-kubernetes-plugin-repo}'
1036           description: 'URL to fetch kubernetes devstack plugin'
1037       - string:
1038           name: DEVSTACK_LBAAS_PLUGIN_REPO
1039           default: '{devstack-lbaas-plugin-repo}'
1040           description: 'URL to fetch neutron-lbaas devstack plugin'
1041       - string:
1042           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1043           default: '{devstack-networking-sfc-plugin-repo}'
1044           description: 'URL to fetch neutron-lbaas devstack plugin'
1045       - string:
1046           name: ODL_ENABLE_L3_FWD
1047           default: '{odl-enable-l3}'
1048           description: 'Enable L3 FWD in ODL for createing br-ex'
1049       - string:
1050           name: IPSEC_VXLAN_TUNNELS_ENABLED
1051           default: '{ipsec-vxlan-tunnels-enabled}'
1052           description: 'Enable ipsec over vxlan support for all controllers and computes'
1053       - string:
1054           name: PUBLIC_BRIDGE
1055           default: '{public-bridge}'
1056           description: 'Specifies public bridge for provider and external networking'
1057       - string:
1058           name: ENABLE_HAPROXY_FOR_NEUTRON
1059           default: '{enable-haproxy}'
1060           description: 'Enable HAProxy for using neutron interface as HA'
1061       - string:
1062           name: ENABLE_OS_SERVICES
1063           default: '{enable-openstack-services}'
1064           description: 'comma seperated list of services to enable'
1065       - string:
1066           name: ENABLE_OS_PLUGINS
1067           default: '{enable-openstack-plugins}'
1068           description: 'comma seperated list of plugins to enable'
1069       - string:
1070           name: DISABLE_OS_SERVICES
1071           default: '{disable-openstack-services}'
1072           description: 'comma seperated list of services to enable'
1073       - string:
1074           name: TENANT_NETWORK_TYPE
1075           default: '{tenant-network-type}'
1076           description: 'Tenant Network Type supported by the implementation'
1077       - string:
1078           name: SECURITY_GROUP_MODE
1079           default: '{security-group-mode}'
1080           description: 'Security Group Mode to be used in netvirt aclservice config'
1081       - string:
1082           name: PUBLIC_PHYSICAL_NETWORK
1083           default: '{public-physical-network}'
1084           description: 'provider physical network used for flat/vlan networks'
1085       - string:
1086           name: ENABLE_NETWORKING_L2GW
1087           default: '{enable-networking-l2gw}'
1088           description: 'Enable networking L2gw'
1089       - string:
1090           name: NETWORKING_L2GW_DRIVER
1091           default: '{networking-l2gw-repo}'
1092           description: 'URL to fetch networking-l2gw driver'
1093       - string:
1094           name: CREATE_INITIAL_NETWORKS
1095           default: '{create-initial-networks}'
1096           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1097       - string:
1098           name: LBAAS_SERVICE_PROVIDER
1099           default: '{lbaas-service-provider}'
1100           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1101           neutron-lbaas'
1102     scm:
1103       - integration-gerrit-scm:
1104           basedir: 'test'
1105           refspec: '$PATCHREFSPEC'
1106           branch: 'master'
1107
1108     wrappers:
1109       - opendaylight-infra-wrappers:
1110           build-timeout: '{build-timeout}'
1111
1112     triggers:
1113       - timed: '{schedule}'
1114
1115     builders:
1116       - integration-infra-stack-3-type:
1117           vm_0_count: '{odl_system_count}'
1118           vm_0_flavor: '{odl_system_flavor}'
1119           vm_0_image: '{odl_system_image}'
1120           vm_1_count: '{openstack_system_count}'
1121           vm_1_flavor: '{openstack_system_flavor}'
1122           vm_1_image: '{openstack_system_image}'
1123           vm_2_count: '{tools_system_count}'
1124           vm_2_flavor: '{tools_system_flavor}'
1125           vm_2_image: '{tools_system_image}'
1126       - integration-install-robotframework
1127       - inject:
1128           properties-file: 'env.properties'
1129       - integration-get-slave-addresses
1130       - inject:
1131           properties-file: 'slave_addresses.txt'
1132       - integration-get-bundle-vars
1133       - inject:
1134           properties-file: 'bundle_vars.txt'
1135       - integration-deploy-controller-run-test
1136       - integration-deploy-openstack-run-test
1137       - integration-cleanup-tmp
1138
1139     publishers:
1140       - integration-robot-tempest:
1141           unstable-if: 0.0
1142           pass-if: 100.0
1143       - email-notification:
1144           email-recipients: '{email-recipients}'
1145           email-prefix: '[{project}]'
1146       - integration-csit-archive-build
1147       - opendaylight-infra-shiplogs:
1148           maven-version: 'mvn33'
1149
1150 - job-template:
1151     name: '{project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}'
1152     disabled: false
1153
1154     project-type: freestyle
1155     node: centos7-robot-2c-2g
1156     concurrent: true
1157
1158     properties:
1159       - opendaylight-infra-properties:
1160           build-days-to-keep: '{build-days-to-keep}'
1161
1162     parameters:
1163       - opendaylight-infra-parameters:
1164           os-cloud: '{os-cloud}'
1165           project: 'integration/test'
1166           branch: '{branch}'
1167           refspec: 'refs/heads/{branch}'
1168           artifacts: '{archive-artifacts}'
1169       - integration-distribution-branch:
1170           branch: '{branch}'
1171       - integration-distribution-stream:
1172           stream: '{stream}'
1173       - integration-bundleurl:
1174           bundleurl: '{bundleurl}'
1175       - integration-controller-features:
1176           controller-features: '{install-features}'
1177       - integration-test-options:
1178           test-options: '{robot-options}'
1179       - integration-test-plan:
1180           test-plan: '{testplan}'
1181       - integration-patch-refspec:
1182           branch: 'master'
1183       - integration-jdk-version:
1184           jdkversion: '{jre}'
1185       - string:
1186           name: OPENSTACK_BRANCH
1187           default: '{openstack-branch}'
1188           description: 'Openstack version to use with devstack'
1189       - string:
1190           name: ODL_ML2_DRIVER_REPO
1191           default: '{odl-ml2-driver-repo}'
1192           description: 'URL to fetch networking-odl driver'
1193       - string:
1194           name: ODL_ML2_BRANCH
1195           default: '{odl-ml2-branch}'
1196           description: 'Version of networking-odl to checkout from the repo'
1197       - string:
1198           name: ODL_ML2_DRIVER_VERSION
1199           default: '{odl-ml2-driver-version}'
1200           description: 'Mode of networking-odl (v1 or v2)'
1201       - string:
1202           name: ODL_ML2_PORT_BINDING
1203           default: '{odl-ml2-port-binding}'
1204           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1205           network-topology)'
1206       - string:
1207           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1208           default: '{devstack-kubernetes-plugin-repo}'
1209           description: 'URL to fetch kubernetes devstack plugin'
1210       - string:
1211           name: DEVSTACK_LBAAS_PLUGIN_REPO
1212           default: '{devstack-lbaas-plugin-repo}'
1213           description: 'URL to fetch neutron-lbaas devstack plugin'
1214       - string:
1215           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1216           default: '{devstack-networking-sfc-plugin-repo}'
1217           description: 'URL to fetch neutron-lbaas devstack plugin'
1218       - string:
1219           name: ODL_ENABLE_L3_FWD
1220           default: '{odl-enable-l3}'
1221           description: 'Enable L3 FWD in ODL for createing br-ex'
1222       - string:
1223           name: IPSEC_VXLAN_TUNNELS_ENABLED
1224           default: '{ipsec-vxlan-tunnels-enabled}'
1225           description: 'Enable ipsec over vxlan support for all controllers and computes'
1226       - string:
1227           name: PUBLIC_BRIDGE
1228           default: '{public-bridge}'
1229           description: 'Specifies public bridge for provider and external networking'
1230       - string:
1231           name: ENABLE_HAPROXY_FOR_NEUTRON
1232           default: '{enable-haproxy}'
1233           description: 'Enable HAProxy for using neutron interface as HA'
1234       - string:
1235           name: ENABLE_OS_SERVICES
1236           default: '{enable-openstack-services}'
1237           description: 'comma seperated list of services to enable'
1238       - string:
1239           name: ENABLE_OS_PLUGINS
1240           default: '{enable-openstack-plugins}'
1241           description: 'comma seperated list of plugins to enable'
1242       - string:
1243           name: DISABLE_OS_SERVICES
1244           default: '{disable-openstack-services}'
1245           description: 'comma seperated list of services to enable'
1246       - string:
1247           name: TENANT_NETWORK_TYPE
1248           default: '{tenant-network-type}'
1249           description: 'Tenant Network Type supported by the implementation'
1250       - string:
1251           name: SECURITY_GROUP_MODE
1252           default: '{security-group-mode}'
1253           description: 'Security Group Mode to be used in netvirt aclservice config'
1254       - string:
1255           name: PUBLIC_PHYSICAL_NETWORK
1256           default: '{public-physical-network}'
1257           description: 'provider physical network used for flat/vlan networks'
1258       - string:
1259           name: ENABLE_NETWORKING_L2GW
1260           default: '{enable-networking-l2gw}'
1261           description: 'Enable networking L2gw'
1262       - string:
1263           name: NETWORKING_L2GW_DRIVER
1264           default: '{networking-l2gw-repo}'
1265           description: 'URL to fetch networking-l2gw driver'
1266       - string:
1267           name: CREATE_INITIAL_NETWORKS
1268           default: '{create-initial-networks}'
1269           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1270       - string:
1271           name: LBAAS_SERVICE_PROVIDER
1272           default: '{lbaas-service-provider}'
1273           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1274           neutron-lbaas'
1275       - string:
1276           name: NUM_OPENSTACK_SITES
1277           default: '{num-openstack-sites}'
1278           description: 'Number of openstack sites'
1279
1280     scm:
1281       - integration-gerrit-scm:
1282           basedir: 'test'
1283           refspec: '$PATCHREFSPEC'
1284           branch: 'master'
1285
1286     wrappers:
1287       - opendaylight-infra-wrappers:
1288           build-timeout: '{build-timeout}'
1289
1290     triggers:
1291       - timed: '{schedule}'
1292
1293     builders:
1294       - integration-infra-stack:
1295           stack-template: '{stack-template}'
1296           vm_0_count: '{odl_system_count}'
1297           vm_0_flavor: '{odl_system_flavor}'
1298           vm_0_image: '{odl_system_image}'
1299           vm_1_count: '{openstack_system_count}'
1300           vm_1_flavor: '{openstack_system_flavor}'
1301           vm_1_image: '{openstack_system_image}'
1302       - integration-install-robotframework
1303       - inject:
1304           properties-file: 'env.properties'
1305       - integration-get-slave-addresses
1306       - inject:
1307           properties-file: 'slave_addresses.txt'
1308       - integration-get-bundle-vars
1309       - inject:
1310           properties-file: 'bundle_vars.txt'
1311       - integration-deploy-controller-run-test
1312       - integration-deploy-openstack-run-test
1313       - integration-cleanup-tmp
1314
1315     publishers:
1316       - integration-robot-tempest:
1317           unstable-if: 0.0
1318           pass-if: 100.0
1319       - email-notification:
1320           email-recipients: '{email-recipients}'
1321           email-prefix: '[{project}]'
1322       - integration-csit-archive-build
1323       - opendaylight-infra-shiplogs:
1324           maven-version: 'mvn33'
1325
1326 # Template: {project}-patch-test-{stream}
1327 # Goal: Build a patch and run project specific system test on a distribution containing the change
1328 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1329 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1330
1331 - job-template:
1332     name: '{project}-patch-test-{feature}-{stream}'
1333
1334     project-type: maven
1335     node: centos7-java-builder-2c-8g
1336     concurrent: true
1337     jdk: '{jdk}'
1338
1339     properties:
1340       - opendaylight-infra-properties:
1341           build-days-to-keep: '{build-days-to-keep}'
1342
1343     parameters:
1344       - opendaylight-infra-parameters:
1345           os-cloud: '{os-cloud}'
1346           project: '{project}'
1347           branch: '{branch}'
1348           refspec: '$GERRIT_REFSPEC'
1349           artifacts: '{archive-artifacts}'
1350       - integration-distribution-branch:
1351           branch: '{branch}'
1352       - integration-distribution-git-url:
1353           git-url: '{git-url}'
1354       - string:
1355           name: feature
1356           default: 'all'
1357           description: 'Specific feature test for patch'
1358
1359     scm:
1360       - integration-gerrit-scm:
1361           basedir: '{project}'
1362           refspec: '$GERRIT_REFSPEC'
1363           branch: '{branch}'
1364       - integration-distribution-scm:
1365           branch: '{branch}'
1366
1367     wrappers:
1368       - opendaylight-infra-wrappers:
1369           build-timeout: '{build-timeout}'
1370
1371     triggers:
1372       - gerrit:
1373           server-name: '{server-name}'
1374           trigger-on:
1375             - comment-added-contains-event:
1376                 comment-contains-value: 'test-{project}-all'
1377             - comment-added-contains-event:
1378                 comment-contains-value: 'test-{project}-{feature}'
1379           projects:
1380             - project-compare-type: 'ANT'
1381               project-pattern: '{project}'
1382               branches:
1383                 - branch-compare-type: 'ANT'
1384                   branch-pattern: '**/{branch}'
1385           skip-vote:
1386             successful: true
1387             failed: true
1388             unstable: true
1389             notbuilt: true
1390
1391     prebuilders:
1392       - integration-rebase-gerrit-patch
1393       - integration-get-bundle-url
1394       - inject:
1395           properties-file: 'bundle.txt'
1396       - wipe-org-opendaylight-repo
1397       - provide-maven-settings:
1398           global-settings-file: 'odl-global-settings'
1399           settings-file: 'integration-settings'
1400       - maven-target:
1401           maven-version: 'mvn33'
1402           pom: '{project}/pom.xml'
1403           goals: >
1404               clean install dependency:tree
1405               -V -B -Pq
1406               -Dgitid.skip=false
1407               -Djenkins
1408               -DgenerateReports=false
1409               -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
1410               -Dstream={stream}
1411           java-opts:
1412             - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1413           settings: 'integration-settings'
1414           settings-type: cfp
1415           global-settings: 'odl-global-settings'
1416           global-settings-type: cfp
1417
1418     maven:
1419       maven-name: 'mvn33'
1420       root-pom: 'distribution/pom.xml'
1421       goals: >
1422           clean install dependency:tree
1423           -V -B -Pq
1424           -Dgitid.skip=false
1425           -Djenkins
1426           -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
1427       maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1428       settings: 'integration-settings'
1429       settings-type: cfp
1430       global-settings: 'odl-global-settings'
1431       global-settings-type: cfp
1432       ignore-upstream-changes: true
1433       post-step-run-condition: 'SUCCESS'
1434
1435     postbuilders:
1436       - trigger-builds:
1437           - project: '{csit-list}'
1438             block: true
1439             predefined-parameters:
1440               BUNDLEURL=$BUNDLEURL
1441
1442     publishers:
1443       - email-notification:
1444           email-recipients: '{email-recipients}'
1445           email-prefix: '[{project}]'