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