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