Merge "Update Ubuntu mininet image and labels"
[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: ODL_ENABLE_L3_FWD
1043           default: '{odl-enable-l3}'
1044           description: 'Enable L3 FWD in ODL for createing br-ex'
1045       - string:
1046           name: IPSEC_VXLAN_TUNNELS_ENABLED
1047           default: '{ipsec-vxlan-tunnels-enabled}'
1048           description: 'Enable ipsec over vxlan support for all controllers and computes'
1049       - string:
1050           name: PUBLIC_BRIDGE
1051           default: '{public-bridge}'
1052           description: 'Specifies public bridge for provider and external networking'
1053       - string:
1054           name: ENABLE_HAPROXY_FOR_NEUTRON
1055           default: '{enable-haproxy}'
1056           description: 'Enable HAProxy for using neutron interface as HA'
1057       - string:
1058           name: ENABLE_OS_SERVICES
1059           default: '{enable-openstack-services}'
1060           description: 'comma seperated list of services to enable'
1061       - string:
1062           name: ENABLE_OS_PLUGINS
1063           default: '{enable-openstack-plugins}'
1064           description: 'comma seperated list of plugins to enable'
1065       - string:
1066           name: DISABLE_OS_SERVICES
1067           default: '{disable-openstack-services}'
1068           description: 'comma seperated list of services to enable'
1069       - string:
1070           name: TENANT_NETWORK_TYPE
1071           default: '{tenant-network-type}'
1072           description: 'Tenant Network Type supported by the implementation'
1073       - string:
1074           name: SECURITY_GROUP_MODE
1075           default: '{security-group-mode}'
1076           description: 'Security Group Mode to be used in netvirt aclservice config'
1077       - string:
1078           name: PUBLIC_PHYSICAL_NETWORK
1079           default: '{public-physical-network}'
1080           description: 'provider physical network used for flat/vlan networks'
1081       - string:
1082           name: ENABLE_NETWORKING_L2GW
1083           default: '{enable-networking-l2gw}'
1084           description: 'Enable networking L2gw'
1085       - string:
1086           name: NETWORKING_L2GW_DRIVER
1087           default: '{networking-l2gw-repo}'
1088           description: 'URL to fetch networking-l2gw driver'
1089       - string:
1090           name: CREATE_INITIAL_NETWORKS
1091           default: '{create-initial-networks}'
1092           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1093       - string:
1094           name: LBAAS_SERVICE_PROVIDER
1095           default: '{lbaas-service-provider}'
1096           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1097           neutron-lbaas'
1098     scm:
1099       - integration-gerrit-scm:
1100           basedir: 'test'
1101           refspec: '$PATCHREFSPEC'
1102           branch: 'master'
1103
1104     wrappers:
1105       - opendaylight-infra-wrappers:
1106           build-timeout: '{build-timeout}'
1107
1108     triggers:
1109       - timed: '{schedule}'
1110
1111     builders:
1112       - integration-infra-stack-3-type:
1113           vm_0_count: '{odl_system_count}'
1114           vm_0_flavor: '{odl_system_flavor}'
1115           vm_0_image: '{odl_system_image}'
1116           vm_1_count: '{openstack_system_count}'
1117           vm_1_flavor: '{openstack_system_flavor}'
1118           vm_1_image: '{openstack_system_image}'
1119           vm_2_count: '{tools_system_count}'
1120           vm_2_flavor: '{tools_system_flavor}'
1121           vm_2_image: '{tools_system_image}'
1122       - integration-install-robotframework
1123       - inject:
1124           properties-file: 'env.properties'
1125       - integration-get-slave-addresses
1126       - inject:
1127           properties-file: 'slave_addresses.txt'
1128       - integration-get-bundle-vars
1129       - inject:
1130           properties-file: 'bundle_vars.txt'
1131       - integration-deploy-controller-run-test
1132       - integration-deploy-openstack-run-test
1133       - integration-cleanup-tmp
1134
1135     publishers:
1136       - integration-robot-tempest:
1137           unstable-if: 0.0
1138           pass-if: 100.0
1139       - email-notification:
1140           email-recipients: '{email-recipients}'
1141           email-prefix: '[{project}]'
1142       - integration-csit-archive-build
1143       - opendaylight-infra-shiplogs:
1144           maven-version: 'mvn33'
1145
1146 - job-template:
1147     name: '{project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}'
1148     disabled: false
1149
1150     project-type: freestyle
1151     node: centos7-robot-2c-2g
1152     concurrent: true
1153
1154     properties:
1155       - opendaylight-infra-properties:
1156           build-days-to-keep: '{build-days-to-keep}'
1157
1158     parameters:
1159       - opendaylight-infra-parameters:
1160           os-cloud: '{os-cloud}'
1161           project: 'integration/test'
1162           branch: '{branch}'
1163           refspec: 'refs/heads/{branch}'
1164           artifacts: '{archive-artifacts}'
1165       - integration-distribution-branch:
1166           branch: '{branch}'
1167       - integration-distribution-stream:
1168           stream: '{stream}'
1169       - integration-bundleurl:
1170           bundleurl: '{bundleurl}'
1171       - integration-controller-features:
1172           controller-features: '{install-features}'
1173       - integration-test-options:
1174           test-options: '{robot-options}'
1175       - integration-test-plan:
1176           test-plan: '{testplan}'
1177       - integration-patch-refspec:
1178           branch: 'master'
1179       - integration-jdk-version:
1180           jdkversion: '{jre}'
1181       - string:
1182           name: OPENSTACK_BRANCH
1183           default: '{openstack-branch}'
1184           description: 'Openstack version to use with devstack'
1185       - string:
1186           name: ODL_ML2_DRIVER_REPO
1187           default: '{odl-ml2-driver-repo}'
1188           description: 'URL to fetch networking-odl driver'
1189       - string:
1190           name: ODL_ML2_BRANCH
1191           default: '{odl-ml2-branch}'
1192           description: 'Version of networking-odl to checkout from the repo'
1193       - string:
1194           name: ODL_ML2_DRIVER_VERSION
1195           default: '{odl-ml2-driver-version}'
1196           description: 'Mode of networking-odl (v1 or v2)'
1197       - string:
1198           name: ODL_ML2_PORT_BINDING
1199           default: '{odl-ml2-port-binding}'
1200           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1201           network-topology)'
1202       - string:
1203           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1204           default: '{devstack-kubernetes-plugin-repo}'
1205           description: 'URL to fetch kubernetes devstack plugin'
1206       - string:
1207           name: DEVSTACK_LBAAS_PLUGIN_REPO
1208           default: '{devstack-lbaas-plugin-repo}'
1209           description: 'URL to fetch neutron-lbaas devstack plugin'
1210       - string:
1211           name: ODL_ENABLE_L3_FWD
1212           default: '{odl-enable-l3}'
1213           description: 'Enable L3 FWD in ODL for createing br-ex'
1214       - string:
1215           name: IPSEC_VXLAN_TUNNELS_ENABLED
1216           default: '{ipsec-vxlan-tunnels-enabled}'
1217           description: 'Enable ipsec over vxlan support for all controllers and computes'
1218       - string:
1219           name: PUBLIC_BRIDGE
1220           default: '{public-bridge}'
1221           description: 'Specifies public bridge for provider and external networking'
1222       - string:
1223           name: ENABLE_HAPROXY_FOR_NEUTRON
1224           default: '{enable-haproxy}'
1225           description: 'Enable HAProxy for using neutron interface as HA'
1226       - string:
1227           name: ENABLE_OS_SERVICES
1228           default: '{enable-openstack-services}'
1229           description: 'comma seperated list of services to enable'
1230       - string:
1231           name: ENABLE_OS_PLUGINS
1232           default: '{enable-openstack-plugins}'
1233           description: 'comma seperated list of plugins to enable'
1234       - string:
1235           name: DISABLE_OS_SERVICES
1236           default: '{disable-openstack-services}'
1237           description: 'comma seperated list of services to enable'
1238       - string:
1239           name: TENANT_NETWORK_TYPE
1240           default: '{tenant-network-type}'
1241           description: 'Tenant Network Type supported by the implementation'
1242       - string:
1243           name: SECURITY_GROUP_MODE
1244           default: '{security-group-mode}'
1245           description: 'Security Group Mode to be used in netvirt aclservice config'
1246       - string:
1247           name: PUBLIC_PHYSICAL_NETWORK
1248           default: '{public-physical-network}'
1249           description: 'provider physical network used for flat/vlan networks'
1250       - string:
1251           name: ENABLE_NETWORKING_L2GW
1252           default: '{enable-networking-l2gw}'
1253           description: 'Enable networking L2gw'
1254       - string:
1255           name: NETWORKING_L2GW_DRIVER
1256           default: '{networking-l2gw-repo}'
1257           description: 'URL to fetch networking-l2gw driver'
1258       - string:
1259           name: CREATE_INITIAL_NETWORKS
1260           default: '{create-initial-networks}'
1261           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1262       - string:
1263           name: LBAAS_SERVICE_PROVIDER
1264           default: '{lbaas-service-provider}'
1265           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1266           neutron-lbaas'
1267       - string:
1268           name: NUM_OPENSTACK_SITES
1269           default: '{num-openstack-sites}'
1270           description: 'Number of openstack sites'
1271
1272     scm:
1273       - integration-gerrit-scm:
1274           basedir: 'test'
1275           refspec: '$PATCHREFSPEC'
1276           branch: 'master'
1277
1278     wrappers:
1279       - opendaylight-infra-wrappers:
1280           build-timeout: '{build-timeout}'
1281
1282     triggers:
1283       - timed: '{schedule}'
1284
1285     builders:
1286       - integration-infra-stack:
1287           stack-template: '{stack-template}'
1288           vm_0_count: '{odl_system_count}'
1289           vm_0_flavor: '{odl_system_flavor}'
1290           vm_0_image: '{odl_system_image}'
1291           vm_1_count: '{openstack_system_count}'
1292           vm_1_flavor: '{openstack_system_flavor}'
1293           vm_1_image: '{openstack_system_image}'
1294       - integration-install-robotframework
1295       - inject:
1296           properties-file: 'env.properties'
1297       - integration-get-slave-addresses
1298       - inject:
1299           properties-file: 'slave_addresses.txt'
1300       - integration-get-bundle-vars
1301       - inject:
1302           properties-file: 'bundle_vars.txt'
1303       - integration-deploy-controller-run-test
1304       - integration-deploy-openstack-run-test
1305       - integration-cleanup-tmp
1306
1307     publishers:
1308       - integration-robot-tempest:
1309           unstable-if: 0.0
1310           pass-if: 100.0
1311       - email-notification:
1312           email-recipients: '{email-recipients}'
1313           email-prefix: '[{project}]'
1314       - integration-csit-archive-build
1315       - opendaylight-infra-shiplogs:
1316           maven-version: 'mvn33'
1317
1318 # Template: {project}-patch-test-{stream}
1319 # Goal: Build a patch and run project specific system test on a distribution containing the change
1320 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1321 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1322
1323 - job-template:
1324     name: '{project}-patch-test-{feature}-{stream}'
1325
1326     project-type: maven
1327     node: centos7-java-builder-2c-8g
1328     concurrent: true
1329     jdk: '{jdk}'
1330
1331     properties:
1332       - opendaylight-infra-properties:
1333           build-days-to-keep: '{build-days-to-keep}'
1334
1335     parameters:
1336       - opendaylight-infra-parameters:
1337           os-cloud: '{os-cloud}'
1338           project: '{project}'
1339           branch: '{branch}'
1340           refspec: '$GERRIT_REFSPEC'
1341           artifacts: '{archive-artifacts}'
1342       - integration-distribution-branch:
1343           branch: '{branch}'
1344       - integration-distribution-git-url:
1345           git-url: '{git-url}'
1346       - string:
1347           name: feature
1348           default: 'all'
1349           description: 'Specific feature test for patch'
1350
1351     scm:
1352       - integration-gerrit-scm:
1353           basedir: '{project}'
1354           refspec: '$GERRIT_REFSPEC'
1355           branch: '{branch}'
1356       - integration-distribution-scm:
1357           branch: '{branch}'
1358
1359     wrappers:
1360       - opendaylight-infra-wrappers:
1361           build-timeout: '{build-timeout}'
1362
1363     triggers:
1364       - gerrit:
1365           server-name: '{server-name}'
1366           trigger-on:
1367             - comment-added-contains-event:
1368                 comment-contains-value: 'test-{project}-all'
1369             - comment-added-contains-event:
1370                 comment-contains-value: 'test-{project}-{feature}'
1371           projects:
1372             - project-compare-type: 'ANT'
1373               project-pattern: '{project}'
1374               branches:
1375                 - branch-compare-type: 'ANT'
1376                   branch-pattern: '**/{branch}'
1377           skip-vote:
1378             successful: true
1379             failed: true
1380             unstable: true
1381             notbuilt: true
1382
1383     prebuilders:
1384       - integration-rebase-gerrit-patch
1385       - integration-get-bundle-url
1386       - inject:
1387           properties-file: 'bundle.txt'
1388       - wipe-org-opendaylight-repo
1389       - provide-maven-settings:
1390           global-settings-file: 'odl-global-settings'
1391           settings-file: 'integration-settings'
1392       - maven-target:
1393           maven-version: 'mvn33'
1394           pom: '{project}/pom.xml'
1395           goals: >
1396               clean install dependency:tree
1397               -V -B -Pq
1398               -Dgitid.skip=false
1399               -Djenkins
1400               -DgenerateReports=false
1401               -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
1402               -Dstream={stream}
1403           java-opts:
1404             - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1405           settings: 'integration-settings'
1406           settings-type: cfp
1407           global-settings: 'odl-global-settings'
1408           global-settings-type: cfp
1409
1410     maven:
1411       maven-name: 'mvn33'
1412       root-pom: 'distribution/pom.xml'
1413       goals: >
1414           clean install dependency:tree
1415           -V -B -Pq
1416           -Dgitid.skip=false
1417           -Djenkins
1418           -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r
1419       maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1420       settings: 'integration-settings'
1421       settings-type: cfp
1422       global-settings: 'odl-global-settings'
1423       global-settings-type: cfp
1424       ignore-upstream-changes: true
1425       post-step-run-condition: 'SUCCESS'
1426
1427     postbuilders:
1428       - trigger-builds:
1429           - project: '{csit-list}'
1430             block: true
1431             predefined-parameters:
1432               BUNDLEURL=$BUNDLEURL
1433
1434     publishers:
1435       - email-notification:
1436           email-recipients: '{email-recipients}'
1437           email-prefix: '[{project}]'