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