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