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