Merge "Switch the csit-3node-docker 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: '{project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}'
1018     disabled: false
1019
1020     project-type: freestyle
1021     node: centos7-robot-2c-8g
1022     concurrent: true
1023
1024     properties:
1025       - opendaylight-infra-properties:
1026           build-days-to-keep: '{build-days-to-keep}'
1027
1028     parameters:
1029       - opendaylight-infra-parameters:
1030           os-cloud: '{os-cloud}'
1031           project: 'integration/test'
1032           branch: '{branch}'
1033           refspec: 'refs/heads/{branch}'
1034           artifacts: '{archive-artifacts}'
1035       - integration-distribution-branch:
1036           branch: '{branch}'
1037       - integration-distribution-stream:
1038           stream: '{stream}'
1039       - integration-bundle-url:
1040           bundle-url: '{bundle-url}'
1041       - integration-controller-features:
1042           controller-features: '{install-features}'
1043       - integration-controller-debug-map:
1044           controller-debug-map: '{debug-map}'
1045       - integration-test-options:
1046           test-options: '{robot-options}'
1047       - integration-test-plan:
1048           test-plan: '{testplan}'
1049       - integration-test-suites:
1050           test-suites: '{test-suites}'
1051       - integration-patch-refspec:
1052           branch: 'master'
1053       - integration-jdk-version:
1054           jdkversion: '{jre}'
1055       - distribution-karaf-version:
1056           karaf-version: '{karaf-version}'
1057       - integration-use-features-boot:
1058           use-features-boot: '{use-features-boot}'
1059       - string:
1060           name: OPENSTACK_BRANCH
1061           default: '{openstack-branch}'
1062           description: 'Openstack version to use with devstack'
1063       - string:
1064           name: DEVSTACK_HASH
1065           default: '{devstack-hash}'
1066           description: 'devstack hash to checkout'
1067       - string:
1068           name: ODL_ML2_DRIVER_REPO
1069           default: '{odl-ml2-driver-repo}'
1070           description: 'URL to fetch networking-odl driver'
1071       - string:
1072           name: ODL_ML2_BRANCH
1073           default: '{odl-ml2-branch}'
1074           description: 'Version of networking-odl to checkout from the repo'
1075       - string:
1076           name: ODL_ML2_DRIVER_VERSION
1077           default: '{odl-ml2-driver-version}'
1078           description: 'Mode of networking-odl (v1 or v2)'
1079       - string:
1080           name: ODL_ML2_PORT_BINDING
1081           default: '{odl-ml2-port-binding}'
1082           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1083           network-topology)'
1084       - string:
1085           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1086           default: '{devstack-kubernetes-plugin-repo}'
1087           description: 'URL to fetch kubernetes devstack plugin'
1088       - string:
1089           name: DEVSTACK_LBAAS_PLUGIN_REPO
1090           default: '{devstack-lbaas-plugin-repo}'
1091           description: 'URL to fetch neutron-lbaas devstack plugin'
1092       - string:
1093           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1094           default: '{devstack-networking-sfc-plugin-repo}'
1095           description: 'URL to fetch neutron-lbaas devstack plugin'
1096       - string:
1097           name: ODL_ENABLE_L3_FWD
1098           default: '{odl-enable-l3}'
1099           description: 'Enable L3 FWD in ODL for createing br-ex'
1100       - string:
1101           name: IPSEC_VXLAN_TUNNELS_ENABLED
1102           default: '{ipsec-vxlan-tunnels-enabled}'
1103           description: 'Enable ipsec over vxlan support for all controllers and computes'
1104       - string:
1105           name: PUBLIC_BRIDGE
1106           default: '{public-bridge}'
1107           description: 'Specifies public bridge for provider and external networking'
1108       - string:
1109           name: ENABLE_HAPROXY_FOR_NEUTRON
1110           default: '{enable-haproxy}'
1111           description: 'Enable HAProxy for using neutron interface as HA'
1112       - string:
1113           name: ENABLE_OS_SERVICES
1114           default: '{enable-openstack-services}'
1115           description: 'comma separated list of services to enable on controller nodes'
1116       - string:
1117           name: ENABLE_OS_COMPUTE_SERVICES
1118           default: '{enable-openstack-compute-services}'
1119           description: 'comma separated list of services to enable on compute nodes'
1120       - string:
1121           name: ENABLE_OS_PLUGINS
1122           default: '{enable-openstack-plugins}'
1123           description: 'comma seperated list of plugins to enable'
1124       - string:
1125           name: DISABLE_OS_SERVICES
1126           default: '{disable-openstack-services}'
1127           description: 'comma seperated list of services to enable'
1128       - string:
1129           name: TENANT_NETWORK_TYPE
1130           default: '{tenant-network-type}'
1131           description: 'Tenant Network Type supported by the implementation'
1132       - string:
1133           name: SECURITY_GROUP_MODE
1134           default: '{security-group-mode}'
1135           description: 'Security Group Mode to be used in netvirt aclservice config'
1136       - string:
1137           name: PUBLIC_PHYSICAL_NETWORK
1138           default: '{public-physical-network}'
1139           description: 'provider physical network used for flat/vlan networks'
1140       - string:
1141           name: ENABLE_NETWORKING_L2GW
1142           default: '{enable-networking-l2gw}'
1143           description: 'Enable networking L2gw'
1144       - string:
1145           name: NETWORKING_L2GW_DRIVER
1146           default: '{networking-l2gw-repo}'
1147           description: 'URL to fetch networking-l2gw driver'
1148       - string:
1149           name: CREATE_INITIAL_NETWORKS
1150           default: '{create-initial-networks}'
1151           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1152       - string:
1153           name: LBAAS_SERVICE_PROVIDER
1154           default: '{lbaas-service-provider}'
1155           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1156           neutron-lbaas'
1157       - string:
1158           name: ODL_SFC_DRIVER
1159           default: '{odl-sfc-driver}'
1160           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1161       - string:
1162           name: ODL_SNAT_MODE
1163           default: '{odl-snat-mode}'
1164           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1165     scm:
1166       - integration-gerrit-scm:
1167           basedir: 'test'
1168           refspec: '$PATCHREFSPEC'
1169           branch: 'master'
1170
1171     wrappers:
1172       - opendaylight-infra-wrappers:
1173           build-timeout: '{build-timeout}'
1174
1175     triggers:
1176       - timed: '{schedule}'
1177
1178     builders:
1179       - integration-infra-stack-4-type:
1180           stack-template: '{stack-template}'
1181           vm_0_count: '{odl_system_count}'
1182           vm_0_flavor: '{odl_system_flavor}'
1183           vm_0_image: '{odl_system_image}'
1184           vm_1_count: '{openstack_system_count}'
1185           vm_1_flavor: '{openstack_system_flavor}'
1186           vm_1_image: '{openstack_system_image}'
1187           vm_2_count: '{openstack_system2_count}'
1188           vm_2_flavor: '{openstack_system2_flavor}'
1189           vm_2_image: '{openstack_system2_image}'
1190           vm_3_count: '{tools_system_count}'
1191           vm_3_flavor: '{tools_system_flavor}'
1192           vm_3_image: '{tools_system_image}'
1193       - integration-install-robotframework
1194       - inject:
1195           properties-file: 'env.properties'
1196       - integration-get-slave-addresses
1197       - inject:
1198           properties-file: 'slave_addresses.txt'
1199       - integration-detect-variables
1200       - integration-deploy-controller-run-test
1201       - integration-deploy-openstack-run-test
1202       - integration-cleanup-tmp
1203
1204     publishers:
1205       - integration-robot-tempest:
1206           unstable-if: 0.0
1207           pass-if: 100.0
1208       - email-notification:
1209           email-recipients: '{email-recipients}'
1210           email-prefix: '[{project}]'
1211       - integration-csit-archive-build
1212       - integration-csit-run-postscript
1213       - lf-infra-publish
1214
1215 - job-template:
1216     name: '{project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}'
1217     disabled: false
1218
1219     project-type: freestyle
1220     node: centos7-robot-2c-8g
1221     concurrent: true
1222
1223     properties:
1224       - opendaylight-infra-properties:
1225           build-days-to-keep: '{build-days-to-keep}'
1226
1227     parameters:
1228       - opendaylight-infra-parameters:
1229           os-cloud: '{os-cloud}'
1230           project: 'integration/test'
1231           branch: '{branch}'
1232           refspec: 'refs/heads/{branch}'
1233           artifacts: '{archive-artifacts}'
1234       - integration-distribution-branch:
1235           branch: '{branch}'
1236       - integration-distribution-stream:
1237           stream: '{stream}'
1238       - integration-bundle-url:
1239           bundle-url: '{bundle-url}'
1240       - integration-controller-features:
1241           controller-features: '{install-features}'
1242       - integration-controller-debug-map:
1243           controller-debug-map: '{debug-map}'
1244       - integration-test-options:
1245           test-options: '{robot-options}'
1246       - integration-test-plan:
1247           test-plan: '{testplan}'
1248       - integration-test-suites:
1249           test-suites: '{test-suites}'
1250       - integration-patch-refspec:
1251           branch: 'master'
1252       - integration-jdk-version:
1253           jdkversion: '{jre}'
1254       - distribution-karaf-version:
1255           karaf-version: '{karaf-version}'
1256       - integration-use-features-boot:
1257           use-features-boot: '{use-features-boot}'
1258       - string:
1259           name: OPENSTACK_BRANCH
1260           default: '{openstack-branch}'
1261           description: 'Openstack version to use with devstack'
1262       - string:
1263           name: DEVSTACK_HASH
1264           default: '{devstack-hash}'
1265           description: 'devstack hash to checkout'
1266       - string:
1267           name: ODL_ML2_DRIVER_REPO
1268           default: '{odl-ml2-driver-repo}'
1269           description: 'URL to fetch networking-odl driver'
1270       - string:
1271           name: ODL_ML2_BRANCH
1272           default: '{odl-ml2-branch}'
1273           description: 'Version of networking-odl to checkout from the repo'
1274       - string:
1275           name: ODL_ML2_DRIVER_VERSION
1276           default: '{odl-ml2-driver-version}'
1277           description: 'Mode of networking-odl (v1 or v2)'
1278       - string:
1279           name: ODL_ML2_PORT_BINDING
1280           default: '{odl-ml2-port-binding}'
1281           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1282           network-topology)'
1283       - string:
1284           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1285           default: '{devstack-kubernetes-plugin-repo}'
1286           description: 'URL to fetch kubernetes devstack plugin'
1287       - string:
1288           name: DEVSTACK_LBAAS_PLUGIN_REPO
1289           default: '{devstack-lbaas-plugin-repo}'
1290           description: 'URL to fetch neutron-lbaas devstack plugin'
1291       - string:
1292           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1293           default: '{devstack-networking-sfc-plugin-repo}'
1294           description: 'URL to fetch neutron-lbaas devstack plugin'
1295       - string:
1296           name: ODL_ENABLE_L3_FWD
1297           default: '{odl-enable-l3}'
1298           description: 'Enable L3 FWD in ODL for createing br-ex'
1299       - string:
1300           name: IPSEC_VXLAN_TUNNELS_ENABLED
1301           default: '{ipsec-vxlan-tunnels-enabled}'
1302           description: 'Enable ipsec over vxlan support for all controllers and computes'
1303       - string:
1304           name: PUBLIC_BRIDGE
1305           default: '{public-bridge}'
1306           description: 'Specifies public bridge for provider and external networking'
1307       - string:
1308           name: ENABLE_HAPROXY_FOR_NEUTRON
1309           default: '{enable-haproxy}'
1310           description: 'Enable HAProxy for using neutron interface as HA'
1311       - string:
1312           name: ENABLE_OS_SERVICES
1313           default: '{enable-openstack-services}'
1314           description: 'comma seperated list of services to enable'
1315       - string:
1316           name: ENABLE_OS_COMPUTE_SERVICES
1317           default: '{enable-openstack-compute-services}'
1318           description: 'comma separated list of services to enable on compute nodes'
1319       - string:
1320           name: ENABLE_OS_PLUGINS
1321           default: '{enable-openstack-plugins}'
1322           description: 'comma seperated list of plugins to enable'
1323       - string:
1324           name: DISABLE_OS_SERVICES
1325           default: '{disable-openstack-services}'
1326           description: 'comma seperated list of services to enable'
1327       - string:
1328           name: TENANT_NETWORK_TYPE
1329           default: '{tenant-network-type}'
1330           description: 'Tenant Network Type supported by the implementation'
1331       - string:
1332           name: SECURITY_GROUP_MODE
1333           default: '{security-group-mode}'
1334           description: 'Security Group Mode to be used in netvirt aclservice config'
1335       - string:
1336           name: PUBLIC_PHYSICAL_NETWORK
1337           default: '{public-physical-network}'
1338           description: 'provider physical network used for flat/vlan networks'
1339       - string:
1340           name: ENABLE_NETWORKING_L2GW
1341           default: '{enable-networking-l2gw}'
1342           description: 'Enable networking L2gw'
1343       - string:
1344           name: NETWORKING_L2GW_DRIVER
1345           default: '{networking-l2gw-repo}'
1346           description: 'URL to fetch networking-l2gw driver'
1347       - string:
1348           name: CREATE_INITIAL_NETWORKS
1349           default: '{create-initial-networks}'
1350           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1351       - string:
1352           name: LBAAS_SERVICE_PROVIDER
1353           default: '{lbaas-service-provider}'
1354           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1355           neutron-lbaas'
1356       - string:
1357           name: NUM_OPENSTACK_SITES
1358           default: '{num-openstack-sites}'
1359           description: 'Number of openstack sites'
1360       - string:
1361           name: ODL_SFC_DRIVER
1362           default: '{odl-sfc-driver}'
1363           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1364       - string:
1365           name: ODL_SNAT_MODE
1366           default: '{odl-snat-mode}'
1367           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1368
1369     scm:
1370       - integration-gerrit-scm:
1371           basedir: 'test'
1372           refspec: '$PATCHREFSPEC'
1373           branch: 'master'
1374
1375     wrappers:
1376       - opendaylight-infra-wrappers:
1377           build-timeout: '{build-timeout}'
1378
1379     triggers:
1380       - timed: '{schedule}'
1381
1382     builders:
1383       - integration-infra-stack-3-type:
1384           stack-template: '{stack-template}'
1385           vm_0_count: '{odl_system_count}'
1386           vm_0_flavor: '{odl_system_flavor}'
1387           vm_0_image: '{odl_system_image}'
1388           vm_1_count: '{openstack_system_count}'
1389           vm_1_flavor: '{openstack_system_flavor}'
1390           vm_1_image: '{openstack_system_image}'
1391           vm_2_count: '{openstack_system2_count}'
1392           vm_2_flavor: '{openstack_system2_flavor}'
1393           vm_2_image: '{openstack_system2_image}'
1394       - integration-install-robotframework
1395       - inject:
1396           properties-file: 'env.properties'
1397       - integration-get-slave-addresses
1398       - inject:
1399           properties-file: 'slave_addresses.txt'
1400       - integration-detect-variables
1401       - integration-deploy-controller-run-test
1402       - integration-deploy-openstack-run-test
1403       - integration-cleanup-tmp
1404
1405     publishers:
1406       - integration-robot-tempest:
1407           unstable-if: 0.0
1408           pass-if: 100.0
1409       - email-notification:
1410           email-recipients: '{email-recipients}'
1411           email-prefix: '[{project}]'
1412       - integration-csit-archive-build
1413       - integration-csit-run-postscript
1414       - lf-infra-publish
1415
1416 # Template: {project}-patch-test-{stream}
1417 # Goal: Build a patch and run project specific system test on a distribution containing the change
1418 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1419 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1420
1421 - job-template:
1422     name: '{prefix}{project}-patch-test-{feature}-{stream}'
1423     id: inttest-patch-test
1424
1425     project-type: freestyle
1426     node: centos7-builder-2c-8g
1427     concurrent: true
1428     jdk: '{jdk}'
1429
1430     properties:
1431       - opendaylight-infra-properties:
1432           build-days-to-keep: '{build-days-to-keep}'
1433
1434     parameters:
1435       - opendaylight-infra-parameters:
1436           os-cloud: '{os-cloud}'
1437           project: '{project}'
1438           branch: '{branch}'
1439           refspec: 'refs/heads/{branch}'
1440           artifacts: '{archive-artifacts}'
1441       - integration-distribution-branch:
1442           branch: '{branch}'
1443       - distribution-karaf-version:
1444           karaf-version: '{karaf-version}'
1445       - integration-distribution-git-url:
1446           git-url: '{git-url}'
1447       - string:
1448           name: feature
1449           default: 'all'
1450           description: 'Specific feature test for patch'
1451       - maven-exec:
1452           maven-version: mvn33
1453
1454     scm:
1455       - integration-gerrit-scm:
1456           basedir: '{project}'
1457           refspec: '$GERRIT_REFSPEC'
1458           branch: '{branch}'
1459       - integration-distribution-scm:
1460           branch: '{branch}'
1461
1462     wrappers:
1463       - opendaylight-infra-wrappers:
1464           build-timeout: '{build-timeout}'
1465
1466     triggers:
1467       - gerrit:
1468           server-name: '{gerrit-server-name}'
1469           trigger-on:
1470             - comment-added-contains-event:
1471                 comment-contains-value: 'test-{project}-all'
1472             - comment-added-contains-event:
1473                 comment-contains-value: 'test-{project}-{feature}'
1474           projects:
1475             - project-compare-type: 'ANT'
1476               project-pattern: '{project}'
1477               branches:
1478                 - branch-compare-type: 'ANT'
1479                   branch-pattern: '**/{branch}'
1480           skip-vote:
1481             successful: true
1482             failed: true
1483             unstable: true
1484             notbuilt: true
1485
1486     builders:
1487       - integration-rebase-gerrit-patch
1488       - wipe-org-opendaylight-repo
1489       - maven-target:
1490           maven-version: mvn33
1491           pom: '{project}/pom.xml'
1492           goals: |
1493               clean install dependency:tree
1494               -Pq
1495               -Dgitid.skip=false
1496               -DgenerateReports=false
1497               -Dstream={stream}
1498               {opendaylight-infra-mvn-opts}
1499           # TODO: {opendaylight-infra-parallel-mvn-opts}?
1500           java-opts:
1501             - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1502           settings: integration-settings
1503           settings-type: cfp
1504           global-settings: global-settings
1505           global-settings-type: cfp
1506       - maven-target:
1507           maven-version: mvn33
1508           pom: distribution/pom.xml
1509           goals: |
1510               clean install dependency:tree
1511               -Pq
1512               -Dgitid.skip=false
1513               {opendaylight-infra-parallel-mvn-opts}
1514           java-opts:
1515             - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1516           settings: integration-settings
1517           settings-type: cfp
1518           global-settings: global-settings
1519           global-settings-type: cfp
1520       - integration-upload-distribution:
1521           dist-pom: distribution/pom.xml
1522       - trigger-builds:
1523           - project: '{csit-list}'
1524             block: true
1525             predefined-parameters: |
1526               BUNDLE_URL=$BUNDLE_URL
1527               KARAF_VERSION=$KARAF_VERSION
1528
1529     publishers:
1530       - email-notification:
1531           email-recipients: '{email-recipients}'
1532           email-prefix: '[{project}]'