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