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