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