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