Merge "Switch the csit-openstack 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: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}'
677     id: inttest-csit-3node-docker
678     disabled: false
679
680     project-type: freestyle
681     node: centos7-robot-2c-8g
682
683     properties:
684       - opendaylight-infra-properties:
685           build-days-to-keep: '{build-days-to-keep}'
686
687     parameters:
688       - opendaylight-infra-parameters:
689           os-cloud: '{os-cloud}'
690           project: 'integration/test'
691           branch: '{branch}'
692           refspec: 'refs/heads/{branch}'
693           artifacts: '{archive-artifacts}'
694       - integration-distribution-branch:
695           branch: '{branch}'
696       - integration-distribution-stream:
697           stream: '{stream}'
698       - integration-bundle-url:
699           bundle-url: '{bundle-url}'
700       - integration-controller-scope:
701           controller-scope: '{scope}'
702       - integration-controller-features:
703           controller-features: 'odl-jolokia,{install-features}'
704       - integration-test-options:
705           test-options: '{robot-options}'
706       - integration-stream-test-plan:
707           stream-test-plan: '{project}-{functionality}-{stream}.txt'
708       - integration-test-plan:
709           test-plan: '{project}-{functionality}.txt'
710       - integration-patch-refspec:
711           branch: 'master'
712       - integration-jdk-version:
713           jdkversion: '{jre}'
714       - distribution-karaf-version:
715           karaf-version: '{karaf-version}'
716       - integration-use-features-boot:
717           use-features-boot: 'True'
718
719     scm:
720       - integration-gerrit-scm:
721           basedir: 'test'
722           refspec: '$PATCHREFSPEC'
723           branch: 'master'
724
725     wrappers:
726       - opendaylight-infra-wrappers:
727           build-timeout: '{build-timeout}'
728
729     builders:
730       - integration-infra-stack:
731           stack-template: '{stack-template}'
732           vm_0_count: '3'
733           vm_0_flavor: '{odl_system_flavor}'
734           vm_0_image: '{odl_system_image}'
735           vm_1_count: '{docker_system_count}'
736           vm_1_flavor: '{docker_system_flavor}'
737           vm_1_image: '{docker_system_image}'
738       - integration-install-robotframework
739       - inject:
740           properties-file: 'env.properties'
741       - integration-get-slave-addresses
742       - inject:
743           properties-file: 'slave_addresses.txt'
744       - integration-detect-variables
745       - integration-configure-clustering
746       - integration-start-cluster-run-test
747       - integration-cleanup-tmp
748
749     publishers:
750       - integration-robot:
751           unstable-if: 0.0
752           pass-if: 100.0
753       - email-notification:
754           email-recipients: '{email-recipients}'
755           email-prefix: '[{project}]'
756       - plot:
757           - title: '{01-plot-title}'
758             yaxis: '{01-plot-yaxis}'
759             group: '{01-plot-group}'
760             num-builds: '5400'
761             keep-records: true
762             style: line
763             use-description: false
764             # yamllint disable-line rule:line-length
765             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
766             series:
767               - file: '{01-plot-data-file}'
768                 inclusion-flag: 'off'
769                 display-table: true
770                 format: csv
771           - title: '{02-plot-title}'
772             yaxis: '{02-plot-yaxis}'
773             group: '{02-plot-group}'
774             num-builds: '5400'
775             keep-records: true
776             style: line
777             use-description: false
778             # yamllint disable-line rule:line-length
779             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
780             series:
781               - file: '{02-plot-data-file}'
782                 inclusion-flag: 'off'
783                 display-table: true
784                 format: csv
785       - integration-csit-archive-build
786       - integration-csit-run-postscript
787       - lf-infra-publish
788
789 - job-template:
790     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
791     disabled: false
792
793     project-type: freestyle
794     node: centos7-robot-2c-8g
795
796     properties:
797       - opendaylight-infra-properties:
798           build-days-to-keep: '{build-days-to-keep}'
799
800     parameters:
801       - opendaylight-infra-parameters:
802           os-cloud: '{os-cloud}'
803           project: 'integration/test'
804           branch: '{branch}'
805           refspec: 'refs/heads/{branch}'
806           artifacts: '{archive-artifacts}'
807       - integration-distribution-branch:
808           branch: '{branch}'
809       - integration-distribution-stream:
810           stream: '{stream}'
811       - integration-bundle-url:
812           bundle-url: '{bundle-url}'
813       - integration-controller-scope:
814           controller-scope: '{scope}'
815       - integration-controller-features:
816           controller-features: 'odl-jolokia,{install-features}'
817       - integration-test-options:
818           test-options: '{robot-options}'
819       - integration-stream-test-plan:
820           stream-test-plan: '{project}-{functionality}-{stream}.txt'
821       - integration-test-plan:
822           test-plan: '{project}-{functionality}.txt'
823       - integration-test-suites:
824           test-suites: '{test-suites}'
825       - integration-patch-refspec:
826           branch: 'master'
827       - integration-jdk-version:
828           jdkversion: '{jre}'
829       - distribution-karaf-version:
830           karaf-version: '{karaf-version}'
831       - integration-use-features-boot:
832           use-features-boot: 'True'
833
834     scm:
835       - integration-gerrit-scm:
836           basedir: 'test'
837           refspec: '$PATCHREFSPEC'
838           branch: 'master'
839
840     wrappers:
841       - opendaylight-infra-wrappers:
842           build-timeout: '{build-timeout}'
843
844     builders:
845       - integration-infra-stack:
846           stack-template: '{stack-template}'
847           vm_0_count: '3'
848           vm_0_flavor: '{odl_system_flavor}'
849           vm_0_image: '{odl_system_image}'
850           vm_1_count: '{tools_system_count}'
851           vm_1_flavor: '{tools_system_flavor}'
852           vm_1_image: '{tools_system_image}'
853       - integration-install-robotframework
854       - inject:
855           properties-file: 'env.properties'
856       - integration-get-slave-addresses
857       - inject:
858           properties-file: 'slave_addresses.txt'
859       - integration-detect-variables
860       - integration-configure-clustering
861       - integration-start-cluster-run-test
862       - integration-cleanup-tmp
863
864     publishers:
865       - integration-robot:
866           unstable-if: 0.0
867           pass-if: 100.0
868       - email-notification:
869           email-recipients: '{email-recipients}'
870           email-prefix: '[{project}]'
871       - plot:
872           - title: '{01-plot-title}'
873             yaxis: '{01-plot-yaxis}'
874             group: '{01-plot-group}'
875             num-builds: '180'
876             keep-records: true
877             style: line
878             use-description: false
879             # yamllint disable-line rule:line-length
880             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
881             series:
882               - file: '{01-plot-data-file}'
883                 inclusion-flag: 'off'
884                 display-table: true
885                 format: csv
886           - title: '{02-plot-title}'
887             yaxis: '{02-plot-yaxis}'
888             group: '{02-plot-group}'
889             num-builds: '180'
890             keep-records: true
891             style: line
892             use-description: false
893             # yamllint disable-line rule:line-length
894             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
895             series:
896               - file: '{02-plot-data-file}'
897                 inclusion-flag: 'off'
898                 display-table: true
899                 format: csv
900           - title: '{03-plot-title}'
901             yaxis: '{03-plot-yaxis}'
902             group: '{03-plot-group}'
903             num-builds: '180'
904             keep-records: true
905             style: line
906             use-description: false
907             # yamllint disable-line rule:line-length
908             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
909             series:
910               - file: '{03-plot-data-file}'
911                 inclusion-flag: '{03-inclusion-flag}'
912                 exclude: '{03-exclude-value}'
913                 format: csv
914           - title: '{04-plot-title}'
915             yaxis: '{04-plot-yaxis}'
916             group: '{04-plot-group}'
917             num-builds: '180'
918             keep-records: true
919             style: line
920             use-description: false
921             # yamllint disable-line rule:line-length
922             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
923             series:
924               - file: '{04-plot-data-file}'
925                 inclusion-flag: '{04-inclusion-flag}'
926                 exclude: '{04-exclude-value}'
927                 format: csv
928           - title: '{05-plot-title}'
929             yaxis: '{05-plot-yaxis}'
930             group: '{05-plot-group}'
931             num-builds: '180'
932             keep-records: true
933             style: line
934             use-description: false
935             # yamllint disable-line rule:line-length
936             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
937             series:
938               - file: '{05-plot-data-file}'
939                 inclusion-flag: '{05-inclusion-flag}'
940                 exclude: '{05-exclude-value}'
941                 format: csv
942           - title: '{06-plot-title}'
943             yaxis: '{06-plot-yaxis}'
944             group: '{06-plot-group}'
945             num-builds: '180'
946             keep-records: true
947             style: line
948             use-description: false
949             # yamllint disable-line rule:line-length
950             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
951             series:
952               - file: '{06-plot-data-file}'
953                 inclusion-flag: '{06-inclusion-flag}'
954                 exclude: '{06-exclude-value}'
955                 format: csv
956           - title: '{07-plot-title}'
957             yaxis: '{07-plot-yaxis}'
958             group: '{07-plot-group}'
959             num-builds: '180'
960             keep-records: true
961             style: line
962             use-description: false
963             # yamllint disable-line rule:line-length
964             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
965             series:
966               - file: '{07-plot-data-file}'
967                 inclusion-flag: '{07-inclusion-flag}'
968                 exclude: '{07-exclude-value}'
969                 format: csv
970           - title: '{08-plot-title}'
971             yaxis: '{08-plot-yaxis}'
972             group: '{08-plot-group}'
973             num-builds: '180'
974             keep-records: true
975             style: line
976             use-description: false
977             # yamllint disable-line rule:line-length
978             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
979             series:
980               - file: '{08-plot-data-file}'
981                 inclusion-flag: '{08-inclusion-flag}'
982                 exclude: '{08-exclude-value}'
983                 format: csv
984           - title: '{09-plot-title}'
985             yaxis: '{09-plot-yaxis}'
986             group: '{09-plot-group}'
987             num-builds: '180'
988             keep-records: true
989             style: line
990             use-description: false
991             # yamllint disable-line rule:line-length
992             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
993             series:
994               - file: '{09-plot-data-file}'
995                 inclusion-flag: '{09-inclusion-flag}'
996                 exclude: '{09-exclude-value}'
997                 format: csv
998           - title: '{10-plot-title}'
999             yaxis: '{10-plot-yaxis}'
1000             group: '{10-plot-group}'
1001             num-builds: '180'
1002             keep-records: true
1003             style: line
1004             use-description: false
1005             # yamllint disable-line rule:line-length
1006             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
1007             series:
1008               - file: '{10-plot-data-file}'
1009                 inclusion-flag: '{10-inclusion-flag}'
1010                 exclude: '{10-exclude-value}'
1011                 format: csv
1012       - integration-csit-archive-build
1013       - integration-csit-run-postscript
1014       - lf-infra-publish
1015
1016 - job-template:
1017     name: '{prefix}{project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}'
1018     id: inttest-csit-hwvtep-openstack
1019     disabled: false
1020
1021     project-type: freestyle
1022     node: centos7-robot-2c-8g
1023     concurrent: true
1024
1025     properties:
1026       - opendaylight-infra-properties:
1027           build-days-to-keep: '{build-days-to-keep}'
1028
1029     parameters:
1030       - opendaylight-infra-parameters:
1031           os-cloud: '{os-cloud}'
1032           project: 'integration/test'
1033           branch: '{branch}'
1034           refspec: 'refs/heads/{branch}'
1035           artifacts: '{archive-artifacts}'
1036       - integration-distribution-branch:
1037           branch: '{branch}'
1038       - integration-distribution-stream:
1039           stream: '{stream}'
1040       - integration-bundle-url:
1041           bundle-url: '{bundle-url}'
1042       - integration-controller-features:
1043           controller-features: '{install-features}'
1044       - integration-controller-debug-map:
1045           controller-debug-map: '{debug-map}'
1046       - integration-test-options:
1047           test-options: '{robot-options}'
1048       - integration-test-plan:
1049           test-plan: '{testplan}'
1050       - integration-test-suites:
1051           test-suites: '{test-suites}'
1052       - integration-patch-refspec:
1053           branch: 'master'
1054       - integration-jdk-version:
1055           jdkversion: '{jre}'
1056       - distribution-karaf-version:
1057           karaf-version: '{karaf-version}'
1058       - integration-use-features-boot:
1059           use-features-boot: '{use-features-boot}'
1060       - string:
1061           name: OPENSTACK_BRANCH
1062           default: '{openstack-branch}'
1063           description: 'Openstack version to use with devstack'
1064       - string:
1065           name: DEVSTACK_HASH
1066           default: '{devstack-hash}'
1067           description: 'devstack hash to checkout'
1068       - string:
1069           name: ODL_ML2_DRIVER_REPO
1070           default: '{odl-ml2-driver-repo}'
1071           description: 'URL to fetch networking-odl driver'
1072       - string:
1073           name: ODL_ML2_BRANCH
1074           default: '{odl-ml2-branch}'
1075           description: 'Version of networking-odl to checkout from the repo'
1076       - string:
1077           name: ODL_ML2_DRIVER_VERSION
1078           default: '{odl-ml2-driver-version}'
1079           description: 'Mode of networking-odl (v1 or v2)'
1080       - string:
1081           name: ODL_ML2_PORT_BINDING
1082           default: '{odl-ml2-port-binding}'
1083           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1084           network-topology)'
1085       - string:
1086           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1087           default: '{devstack-kubernetes-plugin-repo}'
1088           description: 'URL to fetch kubernetes devstack plugin'
1089       - string:
1090           name: DEVSTACK_LBAAS_PLUGIN_REPO
1091           default: '{devstack-lbaas-plugin-repo}'
1092           description: 'URL to fetch neutron-lbaas devstack plugin'
1093       - string:
1094           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1095           default: '{devstack-networking-sfc-plugin-repo}'
1096           description: 'URL to fetch neutron-lbaas devstack plugin'
1097       - string:
1098           name: ODL_ENABLE_L3_FWD
1099           default: '{odl-enable-l3}'
1100           description: 'Enable L3 FWD in ODL for createing br-ex'
1101       - string:
1102           name: IPSEC_VXLAN_TUNNELS_ENABLED
1103           default: '{ipsec-vxlan-tunnels-enabled}'
1104           description: 'Enable ipsec over vxlan support for all controllers and computes'
1105       - string:
1106           name: PUBLIC_BRIDGE
1107           default: '{public-bridge}'
1108           description: 'Specifies public bridge for provider and external networking'
1109       - string:
1110           name: ENABLE_HAPROXY_FOR_NEUTRON
1111           default: '{enable-haproxy}'
1112           description: 'Enable HAProxy for using neutron interface as HA'
1113       - string:
1114           name: ENABLE_OS_SERVICES
1115           default: '{enable-openstack-services}'
1116           description: 'comma separated list of services to enable on controller nodes'
1117       - string:
1118           name: ENABLE_OS_COMPUTE_SERVICES
1119           default: '{enable-openstack-compute-services}'
1120           description: 'comma separated list of services to enable on compute nodes'
1121       - string:
1122           name: ENABLE_OS_PLUGINS
1123           default: '{enable-openstack-plugins}'
1124           description: 'comma seperated list of plugins to enable'
1125       - string:
1126           name: DISABLE_OS_SERVICES
1127           default: '{disable-openstack-services}'
1128           description: 'comma seperated list of services to enable'
1129       - string:
1130           name: TENANT_NETWORK_TYPE
1131           default: '{tenant-network-type}'
1132           description: 'Tenant Network Type supported by the implementation'
1133       - string:
1134           name: SECURITY_GROUP_MODE
1135           default: '{security-group-mode}'
1136           description: 'Security Group Mode to be used in netvirt aclservice config'
1137       - string:
1138           name: PUBLIC_PHYSICAL_NETWORK
1139           default: '{public-physical-network}'
1140           description: 'provider physical network used for flat/vlan networks'
1141       - string:
1142           name: ENABLE_NETWORKING_L2GW
1143           default: '{enable-networking-l2gw}'
1144           description: 'Enable networking L2gw'
1145       - string:
1146           name: NETWORKING_L2GW_DRIVER
1147           default: '{networking-l2gw-repo}'
1148           description: 'URL to fetch networking-l2gw driver'
1149       - string:
1150           name: CREATE_INITIAL_NETWORKS
1151           default: '{create-initial-networks}'
1152           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1153       - string:
1154           name: LBAAS_SERVICE_PROVIDER
1155           default: '{lbaas-service-provider}'
1156           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1157           neutron-lbaas'
1158       - string:
1159           name: ODL_SFC_DRIVER
1160           default: '{odl-sfc-driver}'
1161           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1162       - string:
1163           name: ODL_SNAT_MODE
1164           default: '{odl-snat-mode}'
1165           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1166     scm:
1167       - integration-gerrit-scm:
1168           basedir: 'test'
1169           refspec: '$PATCHREFSPEC'
1170           branch: 'master'
1171
1172     wrappers:
1173       - opendaylight-infra-wrappers:
1174           build-timeout: '{build-timeout}'
1175
1176     triggers:
1177       - timed: '{schedule}'
1178
1179     builders:
1180       - integration-infra-stack-4-type:
1181           stack-template: '{stack-template}'
1182           vm_0_count: '{odl_system_count}'
1183           vm_0_flavor: '{odl_system_flavor}'
1184           vm_0_image: '{odl_system_image}'
1185           vm_1_count: '{openstack_system_count}'
1186           vm_1_flavor: '{openstack_system_flavor}'
1187           vm_1_image: '{openstack_system_image}'
1188           vm_2_count: '{openstack_system2_count}'
1189           vm_2_flavor: '{openstack_system2_flavor}'
1190           vm_2_image: '{openstack_system2_image}'
1191           vm_3_count: '{tools_system_count}'
1192           vm_3_flavor: '{tools_system_flavor}'
1193           vm_3_image: '{tools_system_image}'
1194       - integration-install-robotframework
1195       - inject:
1196           properties-file: 'env.properties'
1197       - integration-get-slave-addresses
1198       - inject:
1199           properties-file: 'slave_addresses.txt'
1200       - integration-detect-variables
1201       - integration-deploy-controller-run-test
1202       - integration-deploy-openstack-run-test
1203       - integration-cleanup-tmp
1204
1205     publishers:
1206       - integration-robot-tempest:
1207           unstable-if: 0.0
1208           pass-if: 100.0
1209       - email-notification:
1210           email-recipients: '{email-recipients}'
1211           email-prefix: '[{project}]'
1212       - integration-csit-archive-build
1213       - integration-csit-run-postscript
1214       - lf-infra-publish
1215
1216 - job-template:
1217     name: '{prefix}{project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}'
1218     id: inttest-csit-openstack
1219     disabled: false
1220
1221     project-type: freestyle
1222     node: centos7-robot-2c-8g
1223     concurrent: true
1224
1225     properties:
1226       - opendaylight-infra-properties:
1227           build-days-to-keep: '{build-days-to-keep}'
1228
1229     parameters:
1230       - opendaylight-infra-parameters:
1231           os-cloud: '{os-cloud}'
1232           project: 'integration/test'
1233           branch: '{branch}'
1234           refspec: 'refs/heads/{branch}'
1235           artifacts: '{archive-artifacts}'
1236       - integration-distribution-branch:
1237           branch: '{branch}'
1238       - integration-distribution-stream:
1239           stream: '{stream}'
1240       - integration-bundle-url:
1241           bundle-url: '{bundle-url}'
1242       - integration-controller-features:
1243           controller-features: '{install-features}'
1244       - integration-controller-debug-map:
1245           controller-debug-map: '{debug-map}'
1246       - integration-test-options:
1247           test-options: '{robot-options}'
1248       - integration-test-plan:
1249           test-plan: '{testplan}'
1250       - integration-test-suites:
1251           test-suites: '{test-suites}'
1252       - integration-patch-refspec:
1253           branch: 'master'
1254       - integration-jdk-version:
1255           jdkversion: '{jre}'
1256       - distribution-karaf-version:
1257           karaf-version: '{karaf-version}'
1258       - integration-use-features-boot:
1259           use-features-boot: '{use-features-boot}'
1260       - string:
1261           name: OPENSTACK_BRANCH
1262           default: '{openstack-branch}'
1263           description: 'Openstack version to use with devstack'
1264       - string:
1265           name: DEVSTACK_HASH
1266           default: '{devstack-hash}'
1267           description: 'devstack hash to checkout'
1268       - string:
1269           name: ODL_ML2_DRIVER_REPO
1270           default: '{odl-ml2-driver-repo}'
1271           description: 'URL to fetch networking-odl driver'
1272       - string:
1273           name: ODL_ML2_BRANCH
1274           default: '{odl-ml2-branch}'
1275           description: 'Version of networking-odl to checkout from the repo'
1276       - string:
1277           name: ODL_ML2_DRIVER_VERSION
1278           default: '{odl-ml2-driver-version}'
1279           description: 'Mode of networking-odl (v1 or v2)'
1280       - string:
1281           name: ODL_ML2_PORT_BINDING
1282           default: '{odl-ml2-port-binding}'
1283           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1284           network-topology)'
1285       - string:
1286           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1287           default: '{devstack-kubernetes-plugin-repo}'
1288           description: 'URL to fetch kubernetes devstack plugin'
1289       - string:
1290           name: DEVSTACK_LBAAS_PLUGIN_REPO
1291           default: '{devstack-lbaas-plugin-repo}'
1292           description: 'URL to fetch neutron-lbaas devstack plugin'
1293       - string:
1294           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1295           default: '{devstack-networking-sfc-plugin-repo}'
1296           description: 'URL to fetch neutron-lbaas devstack plugin'
1297       - string:
1298           name: ODL_ENABLE_L3_FWD
1299           default: '{odl-enable-l3}'
1300           description: 'Enable L3 FWD in ODL for createing br-ex'
1301       - string:
1302           name: IPSEC_VXLAN_TUNNELS_ENABLED
1303           default: '{ipsec-vxlan-tunnels-enabled}'
1304           description: 'Enable ipsec over vxlan support for all controllers and computes'
1305       - string:
1306           name: PUBLIC_BRIDGE
1307           default: '{public-bridge}'
1308           description: 'Specifies public bridge for provider and external networking'
1309       - string:
1310           name: ENABLE_HAPROXY_FOR_NEUTRON
1311           default: '{enable-haproxy}'
1312           description: 'Enable HAProxy for using neutron interface as HA'
1313       - string:
1314           name: ENABLE_OS_SERVICES
1315           default: '{enable-openstack-services}'
1316           description: 'comma seperated list of services to enable'
1317       - string:
1318           name: ENABLE_OS_COMPUTE_SERVICES
1319           default: '{enable-openstack-compute-services}'
1320           description: 'comma separated list of services to enable on compute nodes'
1321       - string:
1322           name: ENABLE_OS_PLUGINS
1323           default: '{enable-openstack-plugins}'
1324           description: 'comma seperated list of plugins to enable'
1325       - string:
1326           name: DISABLE_OS_SERVICES
1327           default: '{disable-openstack-services}'
1328           description: 'comma seperated list of services to enable'
1329       - string:
1330           name: TENANT_NETWORK_TYPE
1331           default: '{tenant-network-type}'
1332           description: 'Tenant Network Type supported by the implementation'
1333       - string:
1334           name: SECURITY_GROUP_MODE
1335           default: '{security-group-mode}'
1336           description: 'Security Group Mode to be used in netvirt aclservice config'
1337       - string:
1338           name: PUBLIC_PHYSICAL_NETWORK
1339           default: '{public-physical-network}'
1340           description: 'provider physical network used for flat/vlan networks'
1341       - string:
1342           name: ENABLE_NETWORKING_L2GW
1343           default: '{enable-networking-l2gw}'
1344           description: 'Enable networking L2gw'
1345       - string:
1346           name: NETWORKING_L2GW_DRIVER
1347           default: '{networking-l2gw-repo}'
1348           description: 'URL to fetch networking-l2gw driver'
1349       - string:
1350           name: CREATE_INITIAL_NETWORKS
1351           default: '{create-initial-networks}'
1352           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1353       - string:
1354           name: LBAAS_SERVICE_PROVIDER
1355           default: '{lbaas-service-provider}'
1356           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1357           neutron-lbaas'
1358       - string:
1359           name: NUM_OPENSTACK_SITES
1360           default: '{num-openstack-sites}'
1361           description: 'Number of openstack sites'
1362       - string:
1363           name: ODL_SFC_DRIVER
1364           default: '{odl-sfc-driver}'
1365           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1366       - string:
1367           name: ODL_SNAT_MODE
1368           default: '{odl-snat-mode}'
1369           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1370
1371     scm:
1372       - integration-gerrit-scm:
1373           basedir: 'test'
1374           refspec: '$PATCHREFSPEC'
1375           branch: 'master'
1376
1377     wrappers:
1378       - opendaylight-infra-wrappers:
1379           build-timeout: '{build-timeout}'
1380
1381     triggers:
1382       - timed: '{schedule}'
1383
1384     builders:
1385       - integration-infra-stack-3-type:
1386           stack-template: '{stack-template}'
1387           vm_0_count: '{odl_system_count}'
1388           vm_0_flavor: '{odl_system_flavor}'
1389           vm_0_image: '{odl_system_image}'
1390           vm_1_count: '{openstack_system_count}'
1391           vm_1_flavor: '{openstack_system_flavor}'
1392           vm_1_image: '{openstack_system_image}'
1393           vm_2_count: '{openstack_system2_count}'
1394           vm_2_flavor: '{openstack_system2_flavor}'
1395           vm_2_image: '{openstack_system2_image}'
1396       - integration-install-robotframework
1397       - inject:
1398           properties-file: 'env.properties'
1399       - integration-get-slave-addresses
1400       - inject:
1401           properties-file: 'slave_addresses.txt'
1402       - integration-detect-variables
1403       - integration-deploy-controller-run-test
1404       - integration-deploy-openstack-run-test
1405       - integration-cleanup-tmp
1406
1407     publishers:
1408       - integration-robot-tempest:
1409           unstable-if: 0.0
1410           pass-if: 100.0
1411       - email-notification:
1412           email-recipients: '{email-recipients}'
1413           email-prefix: '[{project}]'
1414       - integration-csit-archive-build
1415       - integration-csit-run-postscript
1416       - lf-infra-publish
1417
1418 # Template: {project}-patch-test-{stream}
1419 # Goal: Build a patch and run project specific system test on a distribution containing the change
1420 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1421 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1422
1423 - job-template:
1424     name: '{prefix}{project}-patch-test-{feature}-{stream}'
1425     id: inttest-patch-test
1426
1427     project-type: freestyle
1428     node: centos7-builder-2c-8g
1429     concurrent: true
1430     jdk: '{jdk}'
1431
1432     properties:
1433       - opendaylight-infra-properties:
1434           build-days-to-keep: '{build-days-to-keep}'
1435
1436     parameters:
1437       - opendaylight-infra-parameters:
1438           os-cloud: '{os-cloud}'
1439           project: '{project}'
1440           branch: '{branch}'
1441           refspec: 'refs/heads/{branch}'
1442           artifacts: '{archive-artifacts}'
1443       - integration-distribution-branch:
1444           branch: '{branch}'
1445       - distribution-karaf-version:
1446           karaf-version: '{karaf-version}'
1447       - integration-distribution-git-url:
1448           git-url: '{git-url}'
1449       - string:
1450           name: feature
1451           default: 'all'
1452           description: 'Specific feature test for patch'
1453       - maven-exec:
1454           maven-version: mvn33
1455
1456     scm:
1457       - integration-gerrit-scm:
1458           basedir: '{project}'
1459           refspec: '$GERRIT_REFSPEC'
1460           branch: '{branch}'
1461       - integration-distribution-scm:
1462           branch: '{branch}'
1463
1464     wrappers:
1465       - opendaylight-infra-wrappers:
1466           build-timeout: '{build-timeout}'
1467
1468     triggers:
1469       - gerrit:
1470           server-name: '{gerrit-server-name}'
1471           trigger-on:
1472             - comment-added-contains-event:
1473                 comment-contains-value: 'test-{project}-all'
1474             - comment-added-contains-event:
1475                 comment-contains-value: 'test-{project}-{feature}'
1476           projects:
1477             - project-compare-type: 'ANT'
1478               project-pattern: '{project}'
1479               branches:
1480                 - branch-compare-type: 'ANT'
1481                   branch-pattern: '**/{branch}'
1482           skip-vote:
1483             successful: true
1484             failed: true
1485             unstable: true
1486             notbuilt: true
1487
1488     builders:
1489       - integration-rebase-gerrit-patch
1490       - wipe-org-opendaylight-repo
1491       - maven-target:
1492           maven-version: mvn33
1493           pom: '{project}/pom.xml'
1494           goals: |
1495               clean install dependency:tree
1496               -Pq
1497               -Dgitid.skip=false
1498               -DgenerateReports=false
1499               -Dstream={stream}
1500               {opendaylight-infra-mvn-opts}
1501           # TODO: {opendaylight-infra-parallel-mvn-opts}?
1502           java-opts:
1503             - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1504           settings: integration-settings
1505           settings-type: cfp
1506           global-settings: global-settings
1507           global-settings-type: cfp
1508       - maven-target:
1509           maven-version: mvn33
1510           pom: distribution/pom.xml
1511           goals: |
1512               clean install dependency:tree
1513               -Pq
1514               -Dgitid.skip=false
1515               {opendaylight-infra-parallel-mvn-opts}
1516           java-opts:
1517             - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1518           settings: integration-settings
1519           settings-type: cfp
1520           global-settings: global-settings
1521           global-settings-type: cfp
1522       - integration-upload-distribution:
1523           dist-pom: distribution/pom.xml
1524       - trigger-builds:
1525           - project: '{csit-list}'
1526             block: true
1527             predefined-parameters: |
1528               BUNDLE_URL=$BUNDLE_URL
1529               KARAF_VERSION=$KARAF_VERSION
1530
1531     publishers:
1532       - email-notification:
1533           email-recipients: '{email-recipients}'
1534           email-prefix: '[{project}]'