Merge "Images with pre-loaded devstack pips and yums"
[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         - integration-jclouds-controller-mininet:
567             controller-image: '{controller-image}'
568             controller-vms: 3
569             mininet-image: '{mininet-image}'
570             mininet-vms: '{mininet-vms}'
571
572     triggers:
573         - integration-csit-{install}:
574             jobs: '{trigger-jobs}'
575
576     builders:
577         - integration-copy-ssh-keys
578         - integration-cleanup-workspace
579         - integration-install-robotframework
580         - inject:
581             properties-file: 'env.properties'
582         - integration-get-slave-addresses
583         - inject:
584             properties-file: 'slave_addresses.txt'
585         - integration-get-bundle-vars
586         - inject:
587             properties-file: 'bundle_vars.txt'
588         - integration-configure-clustering
589         - integration-start-cluster-run-test
590         - integration-cleanup-tmp
591
592     publishers:
593         - integration-robot:
594             unstable-if: 0.0
595             pass-if: 100.0
596         - email-notification:
597             email-recipients: '{email-recipients}'
598             email-prefix: '[{project}]'
599         - plot:
600           - title: '{01-plot-title}'
601             yaxis: '{01-plot-yaxis}'
602             group: '{01-plot-group}'
603             num-builds: '5400'
604             keep-records: true
605             style: line
606             use-description: false
607             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
608             series:
609               - file: '{01-plot-data-file}'
610                 inclusion-flag: 'off'
611                 display-table: true
612                 format: csv
613           - title: '{02-plot-title}'
614             yaxis: '{02-plot-yaxis}'
615             group: '{02-plot-group}'
616             num-builds: '5400'
617             keep-records: true
618             style: line
619             use-description: false
620             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
621             series:
622               - file: '{02-plot-data-file}'
623                 inclusion-flag: 'off'
624                 display-table: true
625                 format: csv
626         - integration-csit-archive-build
627         - opendaylight-infra-shiplogs:
628             maven-version: 'mvn33'
629
630 - job-template:
631     name: '{project}-csit-3node-docker-{functionality}-{install}-{stream}'
632     disabled: false
633
634     project-type: freestyle
635     node: centos7-robot-2c-2g
636
637     properties:
638         - opendaylight-infra-properties:
639             build-days-to-keep: '{build-days-to-keep}'
640
641     parameters:
642         - opendaylight-infra-parameters:
643             project: 'integration/test'
644             branch: '{branch}'
645             refspec: 'refs/heads/{branch}'
646             artifacts: '{archive-artifacts}'
647         - integration-branch:
648             branch: '{branch}'
649         - integration-distribution-stream:
650             stream: '{stream}'
651         - integration-bundleurl:
652             bundleurl: '{bundleurl}'
653         - integration-controller-scope:
654             controller-scope: '{scope}'
655         - integration-controller-features:
656             controller-features: 'odl-jolokia,{install-features}'
657         - integration-test-options:
658             test-options: '{robot-options}'
659         - integration-stream-test-plan:
660             stream-test-plan: '{project}-{functionality}-{stream}.txt'
661         - integration-test-plan:
662             test-plan: '{project}-{functionality}.txt'
663         - integration-patch-refspec:
664             branch: 'master'
665         - integration-jdk-version:
666             jdkversion: '{jre}'
667
668     scm:
669         - integration-gerrit-scm:
670             basedir: 'test'
671             refspec: '$PATCHREFSPEC'
672             branch: 'master'
673
674     wrappers:
675         - opendaylight-infra-wrappers:
676             build-timeout: '{build-timeout}'
677         - integration-jclouds-controller-docker:
678             controller-image: '{controller-image}'
679             controller-vms: 3
680             docker-image: '{docker-image}'
681             docker-vms: 1
682
683     triggers:
684         - integration-csit-{install}:
685             jobs: '{trigger-jobs}'
686
687     builders:
688         - integration-copy-ssh-keys
689         - integration-cleanup-workspace
690         - integration-install-robotframework
691         - inject:
692             properties-file: 'env.properties'
693         - integration-get-slave-addresses
694         - inject:
695             properties-file: 'slave_addresses.txt'
696         - integration-get-bundle-vars
697         - inject:
698             properties-file: 'bundle_vars.txt'
699         - integration-configure-clustering
700         - integration-start-cluster-run-test
701         - integration-cleanup-tmp
702
703     publishers:
704         - integration-robot:
705             unstable-if: 0.0
706             pass-if: 100.0
707         - email-notification:
708             email-recipients: '{email-recipients}'
709             email-prefix: '[{project}]'
710         - plot:
711           - title: '{01-plot-title}'
712             yaxis: '{01-plot-yaxis}'
713             group: '{01-plot-group}'
714             num-builds: '5400'
715             keep-records: true
716             style: line
717             use-description: false
718             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
719             series:
720               - file: '{01-plot-data-file}'
721                 inclusion-flag: 'off'
722                 display-table: true
723                 format: csv
724           - title: '{02-plot-title}'
725             yaxis: '{02-plot-yaxis}'
726             group: '{02-plot-group}'
727             num-builds: '5400'
728             keep-records: true
729             style: line
730             use-description: false
731             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
732             series:
733               - file: '{02-plot-data-file}'
734                 inclusion-flag: 'off'
735                 display-table: true
736                 format: csv
737         - integration-csit-archive-build
738         - opendaylight-infra-shiplogs:
739             maven-version: 'mvn33'
740
741 - job-template:
742     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
743     disabled: false
744
745     project-type: freestyle
746     node: centos7-robot-2c-2g
747
748     properties:
749         - opendaylight-infra-properties:
750             build-days-to-keep: '{build-days-to-keep}'
751
752     parameters:
753         - opendaylight-infra-parameters:
754             project: 'integration/test'
755             branch: '{branch}'
756             refspec: 'refs/heads/{branch}'
757             artifacts: '{archive-artifacts}'
758         - integration-branch:
759             branch: '{branch}'
760         - integration-distribution-stream:
761             stream: '{stream}'
762         - integration-bundleurl:
763             bundleurl: '{bundleurl}'
764         - integration-controller-scope:
765             controller-scope: '{scope}'
766         - integration-controller-features:
767             controller-features: 'odl-jolokia,{install-features}'
768         - integration-test-options:
769             test-options: '{robot-options}'
770         - integration-stream-test-plan:
771             stream-test-plan: '{project}-{functionality}-{stream}.txt'
772         - integration-test-plan:
773             test-plan: '{project}-{functionality}.txt'
774         - integration-patch-refspec:
775             branch: 'master'
776         - integration-jdk-version:
777             jdkversion: '{jre}'
778
779     scm:
780         - integration-gerrit-scm:
781             basedir: 'test'
782             refspec: '$PATCHREFSPEC'
783             branch: 'master'
784
785     wrappers:
786         - opendaylight-infra-wrappers:
787             build-timeout: '{build-timeout}'
788         - integration-jclouds-controller-mininet:
789             controller-image: '{controller-image}'
790             controller-vms: 3
791             mininet-image: '{mininet-image}'
792             mininet-vms: '{mininet-vms}'
793
794     triggers:
795         - timed: '{schedule}'
796
797     builders:
798         - integration-copy-ssh-keys
799         - integration-cleanup-workspace
800         - integration-install-robotframework
801         - inject:
802             properties-file: 'env.properties'
803         - integration-get-slave-addresses
804         - inject:
805             properties-file: 'slave_addresses.txt'
806         - integration-get-bundle-vars
807         - inject:
808             properties-file: 'bundle_vars.txt'
809         - integration-configure-clustering
810         - integration-start-cluster-run-test
811         - integration-cleanup-tmp
812
813     publishers:
814         - integration-robot:
815             unstable-if: 0.0
816             pass-if: 100.0
817         - email-notification:
818             email-recipients: '{email-recipients}'
819             email-prefix: '[{project}]'
820         - plot:
821           - title: '{01-plot-title}'
822             yaxis: '{01-plot-yaxis}'
823             group: '{01-plot-group}'
824             num-builds: '180'
825             keep-records: true
826             style: line
827             use-description: false
828             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
829             series:
830               - file: '{01-plot-data-file}'
831                 inclusion-flag: 'off'
832                 display-table: true
833                 format: csv
834           - title: '{02-plot-title}'
835             yaxis: '{02-plot-yaxis}'
836             group: '{02-plot-group}'
837             num-builds: '180'
838             keep-records: true
839             style: line
840             use-description: false
841             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
842             series:
843               - file: '{02-plot-data-file}'
844                 inclusion-flag: 'off'
845                 display-table: true
846                 format: csv
847           - title: '{03-plot-title}'
848             yaxis: '{03-plot-yaxis}'
849             group: '{03-plot-group}'
850             num-builds: '180'
851             keep-records: true
852             style: line
853             use-description: false
854             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
855             series:
856               - file: '{03-plot-data-file}'
857                 inclusion-flag: '{03-inclusion-flag}'
858                 exclude: '{03-exclude-value}'
859                 format: csv
860           - title: '{04-plot-title}'
861             yaxis: '{04-plot-yaxis}'
862             group: '{04-plot-group}'
863             num-builds: '180'
864             keep-records: true
865             style: line
866             use-description: false
867             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
868             series:
869               - file: '{04-plot-data-file}'
870                 inclusion-flag: '{04-inclusion-flag}'
871                 exclude: '{04-exclude-value}'
872                 format: csv
873           - title: '{05-plot-title}'
874             yaxis: '{05-plot-yaxis}'
875             group: '{05-plot-group}'
876             num-builds: '180'
877             keep-records: true
878             style: line
879             use-description: false
880             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
881             series:
882               - file: '{05-plot-data-file}'
883                 inclusion-flag: '{05-inclusion-flag}'
884                 exclude: '{05-exclude-value}'
885                 format: csv
886           - title: '{06-plot-title}'
887             yaxis: '{06-plot-yaxis}'
888             group: '{06-plot-group}'
889             num-builds: '180'
890             keep-records: true
891             style: line
892             use-description: false
893             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
894             series:
895               - file: '{06-plot-data-file}'
896                 inclusion-flag: '{06-inclusion-flag}'
897                 exclude: '{06-exclude-value}'
898                 format: csv
899           - title: '{07-plot-title}'
900             yaxis: '{07-plot-yaxis}'
901             group: '{07-plot-group}'
902             num-builds: '180'
903             keep-records: true
904             style: line
905             use-description: false
906             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
907             series:
908               - file: '{07-plot-data-file}'
909                 inclusion-flag: '{07-inclusion-flag}'
910                 exclude: '{07-exclude-value}'
911                 format: csv
912           - title: '{08-plot-title}'
913             yaxis: '{08-plot-yaxis}'
914             group: '{08-plot-group}'
915             num-builds: '180'
916             keep-records: true
917             style: line
918             use-description: false
919             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
920             series:
921               - file: '{08-plot-data-file}'
922                 inclusion-flag: '{08-inclusion-flag}'
923                 exclude: '{08-exclude-value}'
924                 format: csv
925           - title: '{09-plot-title}'
926             yaxis: '{09-plot-yaxis}'
927             group: '{09-plot-group}'
928             num-builds: '180'
929             keep-records: true
930             style: line
931             use-description: false
932             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
933             series:
934               - file: '{09-plot-data-file}'
935                 inclusion-flag: '{09-inclusion-flag}'
936                 exclude: '{09-exclude-value}'
937                 format: csv
938           - title: '{10-plot-title}'
939             yaxis: '{10-plot-yaxis}'
940             group: '{10-plot-group}'
941             num-builds: '180'
942             keep-records: true
943             style: line
944             use-description: false
945             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
946             series:
947               - file: '{10-plot-data-file}'
948                 inclusion-flag: '{10-inclusion-flag}'
949                 exclude: '{10-exclude-value}'
950                 format: csv
951         - integration-csit-archive-build
952         - opendaylight-infra-shiplogs:
953             maven-version: 'mvn33'
954
955 - job-template:
956     name: '{project}-csit-1node-openstack-{openstack}-{functionality}-{stream}'
957     disabled: false
958
959     project-type: freestyle
960     node: centos7-robot-2c-2g
961     concurrent: true
962
963     properties:
964         - opendaylight-infra-properties:
965             build-days-to-keep: '{build-days-to-keep}'
966
967     parameters:
968         - opendaylight-infra-parameters:
969             project: 'integration/test'
970             branch: '{branch}'
971             refspec: 'refs/heads/{branch}'
972             artifacts: '{archive-artifacts}'
973         - integration-branch:
974             branch: '{branch}'
975         - integration-distribution-stream:
976             stream: '{stream}'
977         - integration-bundleurl:
978             bundleurl: '{bundleurl}'
979         - integration-controller-features:
980             controller-features: '{install-features}'
981         - integration-test-options:
982             test-options: '{robot-options}'
983         - integration-test-plan:
984             test-plan: '{testplan}'
985         - integration-patch-refspec:
986             branch: 'master'
987         - integration-jdk-version:
988             jdkversion: '{jre}'
989         - string:
990             name: OPENSTACK_BRANCH
991             default: '{openstack-branch}'
992             description: 'Openstack version to use with devstack'
993         - string:
994             name: ODL_ML2_DRIVER_REPO
995             default: '{odl-ml2-driver-repo}'
996             description: 'URL to fetch networking-odl driver'
997         - string:
998             name: ODL_ML2_BRANCH
999             default: '{odl-ml2-branch}'
1000             description: 'Version of networking-odl to checkout from the repo'
1001         - string:
1002             name: ODL_ML2_DRIVER_VERSION
1003             default: '{odl-ml2-driver-version}'
1004             description: 'Mode of networking-odl (v1 or v2)'
1005         - string:
1006             name: ODL_ENABLE_L3_FWD
1007             default: '{odl-enable-l3}'
1008             description: 'Enable L3 FWD in ODL for createing br-ex'
1009         - string:
1010             name: PUBLIC_BRIDGE
1011             default: '{public-bridge}'
1012             description: 'Specifies public bridge for provider and external networking'
1013         - string:
1014             name: ENABLE_OS_SERVICES
1015             default: '{enable-openstack-services}'
1016             description: 'comma seperated list of services to enable'
1017         - string:
1018             name: DISABLE_OS_SERVICES
1019             default: '{disable-openstack-services}'
1020             description: 'comma seperated list of services to enable'
1021         - string:
1022             name: TENANT_NETWORK_TYPE
1023             default: '{tenant-network-type}'
1024             description: 'Tenant Network Type supported by the implementation'
1025         - string:
1026             name: SECURITY_GROUP_MODE
1027             default: '{security-group-mode}'
1028             description: 'Security Group Mode to be used in netvirt aclservice config'
1029     scm:
1030         - integration-gerrit-scm:
1031             basedir: 'test'
1032             refspec: '$PATCHREFSPEC'
1033             branch: 'master'
1034
1035     wrappers:
1036         - opendaylight-infra-wrappers:
1037             build-timeout: '{build-timeout}'
1038         - integration-jclouds-controller-devstack:
1039             controller-image: '{controller-image}'
1040             controller-vms: 1
1041             openstack-image: '{openstack-image}'
1042             openstack-vms: '{openstack-vms}'
1043
1044     triggers:
1045         - timed: '{schedule}'
1046
1047     builders:
1048         - integration-copy-ssh-keys
1049         - integration-cleanup-workspace
1050         - integration-install-robotframework
1051         - inject:
1052             properties-file: 'env.properties'
1053         - integration-get-slave-addresses
1054         - inject:
1055             properties-file: 'slave_addresses.txt'
1056         - integration-get-bundle-vars
1057         - inject:
1058             properties-file: 'bundle_vars.txt'
1059         - integration-deploy-controller-run-test
1060         - integration-deploy-openstack-run-test
1061         - integration-cleanup-tmp
1062
1063     publishers:
1064         - integration-robot-tempest:
1065             unstable-if: 0.0
1066             pass-if: 100.0
1067         - email-notification:
1068             email-recipients: '{email-recipients}'
1069             email-prefix: '[{project}]'
1070         - integration-csit-archive-build
1071         - opendaylight-infra-shiplogs:
1072             maven-version: 'mvn33'
1073
1074 - job-template:
1075     name: '{project}-csit-3node-openstack-{openstack}-{functionality}-{stream}'
1076     disabled: false
1077
1078     project-type: freestyle
1079     node: centos7-robot-2c-2g
1080     concurrent: true
1081
1082     properties:
1083         - opendaylight-infra-properties:
1084             build-days-to-keep: '{build-days-to-keep}'
1085
1086     parameters:
1087         - opendaylight-infra-parameters:
1088             project: 'integration/test'
1089             branch: '{branch}'
1090             refspec: 'refs/heads/{branch}'
1091             artifacts: '{archive-artifacts}'
1092         - integration-branch:
1093             branch: '{branch}'
1094         - integration-distribution-stream:
1095             stream: '{stream}'
1096         - integration-bundleurl:
1097             bundleurl: '{bundleurl}'
1098         - integration-controller-features:
1099             controller-features: 'odl-jolokia,{install-features}'
1100         - integration-test-options:
1101             test-options: '{robot-options}'
1102         - integration-test-plan:
1103             test-plan: '{project}-3node-openstack.txt'
1104         - integration-patch-refspec:
1105             branch: 'master'
1106         - integration-jdk-version:
1107             jdkversion: '{jre}'
1108         - string:
1109             name: OPENSTACK_BRANCH
1110             default: '{openstack-branch}'
1111             description: 'Openstack version to use with devstack'
1112         - string:
1113             name: ODL_ML2_DRIVER_REPO
1114             default: '{odl-ml2-driver-repo}'
1115             description: 'URL to fetch networking-odl driver'
1116         - string:
1117             name: ODL_ML2_BRANCH
1118             default: '{odl-ml2-branch}'
1119             description: 'Version of networking-odl to checkout from the repo'
1120         - string:
1121             name: ODL_ML2_DRIVER_VERSION
1122             default: '{odl-ml2-driver-version}'
1123             description: 'Mode of networking-odl (v1 or v2)'
1124         - string:
1125             name: ODL_ENABLE_L3_FWD
1126             default: '{odl-enable-l3}'
1127             description: 'Enable L3 FWD in ODL for createing br-ex'
1128         - string:
1129             name: PUBLIC_BRIDGE
1130             default: '{public-bridge}'
1131             description: 'Specifies public bridge for provider and external networking'
1132         - string:
1133             name: ENABLE_HAPROXY_FOR_NEUTRON
1134             default: '{enable-haproxy}'
1135             description: 'Enable HAProxy for using neutron interface as HA'
1136         - string:
1137             name: ENABLE_OS_SERVICES
1138             default: '{enable-openstack-services}'
1139             description: 'comma seperated list of services to enable'
1140         - string:
1141             name: DISABLE_OS_SERVICES
1142             default: '{disable-openstack-services}'
1143             description: 'comma seperated list of services to enable'
1144         - string:
1145             name: TENANT_NETWORK_TYPE
1146             default: '{tenant-network-type}'
1147             description: 'Tenant Network Type supported by the implementation'
1148         - string:
1149             name: SECURITY_GROUP_MODE
1150             default: '{security-group-mode}'
1151             description: 'Security Group Mode to be used in netvirt aclservice config'
1152
1153     scm:
1154         - integration-gerrit-scm:
1155             basedir: 'test'
1156             refspec: '$PATCHREFSPEC'
1157             branch: 'master'
1158
1159     wrappers:
1160         - opendaylight-infra-wrappers:
1161             build-timeout: '{build-timeout}'
1162         - integration-jclouds-controller-devstack:
1163             controller-image: '{controller-image}'
1164             controller-vms: 3
1165             openstack-image: '{openstack-image}'
1166             openstack-vms: '{openstack-vms}'
1167
1168     triggers:
1169         - timed: '{schedule}'
1170
1171     builders:
1172         - integration-copy-ssh-keys
1173         - integration-cleanup-workspace
1174         - integration-install-robotframework
1175         - inject:
1176             properties-file: 'env.properties'
1177         - integration-get-slave-addresses
1178         - inject:
1179             properties-file: 'slave_addresses.txt'
1180         - integration-get-bundle-vars
1181         - inject:
1182             properties-file: 'bundle_vars.txt'
1183         - integration-configure-clustering
1184         - integration-start-cluster-run-test
1185         - integration-deploy-openstack-run-test
1186         - integration-cleanup-tmp
1187
1188     publishers:
1189         - integration-robot-tempest:
1190             unstable-if: 0.0
1191             pass-if: 100.0
1192         - email-notification:
1193             email-recipients: '{email-recipients}'
1194             email-prefix: '[{project}]'
1195         - integration-csit-archive-build
1196         - opendaylight-infra-shiplogs:
1197             maven-version: 'mvn33'
1198
1199 # Template: {project}-patch-test-{stream}
1200 # Goal: Build a patch and run project specific system test on a distribution containing the change
1201 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1202 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1203
1204 - job-template:
1205     name: '{project}-patch-test-{feature}-{stream}'
1206
1207     project-type: maven
1208     node: centos7-java-builder-2c-8g
1209     concurrent: true
1210     jdk: '{jdk}'
1211
1212     properties:
1213         - opendaylight-infra-properties:
1214             build-days-to-keep: '{build-days-to-keep}'
1215
1216     parameters:
1217         - opendaylight-infra-parameters:
1218             project: '{project}'
1219             branch: '{branch}'
1220             refspec: '$GERRIT_REFSPEC'
1221             artifacts: '{archive-artifacts}'
1222         - integration-branch:
1223             branch: '{branch}'
1224         - integration-distribution-git-url:
1225             git-url: '{git-url}'
1226         - string:
1227             name: feature
1228             default: 'all'
1229             description: 'Specific feature test for patch'
1230
1231     scm:
1232         - integration-gerrit-scm:
1233             basedir: '{project}'
1234             refspec: '$GERRIT_REFSPEC'
1235             branch: '{branch}'
1236         - integration-distribution-scm:
1237             branch: '{branch}'
1238
1239     wrappers:
1240         - opendaylight-infra-wrappers:
1241             build-timeout: '{build-timeout}'
1242
1243     triggers:
1244         - gerrit:
1245             server-name: '{server-name}'
1246             trigger-on:
1247                 - comment-added-contains-event:
1248                     comment-contains-value: 'test-{project}-all'
1249                 - comment-added-contains-event:
1250                     comment-contains-value: 'test-{project}-{feature}'
1251             projects:
1252               - project-compare-type: 'ANT'
1253                 project-pattern: '{project}'
1254                 branches:
1255                   - branch-compare-type: 'ANT'
1256                     branch-pattern: '**/{branch}'
1257             skip-vote:
1258                 successful: true
1259                 failed: true
1260                 unstable: true
1261                 notbuilt: true
1262
1263     prebuilders:
1264         - integration-rebase-gerrit-patch
1265         - integration-get-bundle-url
1266         - inject:
1267             properties-file: 'bundle.txt'
1268         - wipe-org-opendaylight-repo
1269         - provide-maven-settings:
1270             global-settings-file: 'odl-global-settings'
1271             settings-file: 'integration-settings'
1272         - maven-target:
1273             maven-version: 'mvn33'
1274             pom: '{project}/pom.xml'
1275             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}'
1276             java-opts:
1277                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1278             settings: 'integration-settings'
1279             settings-type: cfp
1280             global-settings: 'odl-global-settings'
1281             global-settings-type: cfp
1282
1283     maven:
1284         maven-name: 'mvn33'
1285         root-pom: 'distribution/pom.xml'
1286         goals: 'clean install dependency:tree -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
1287         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1288         settings: 'integration-settings'
1289         settings-type: cfp
1290         global-settings: 'odl-global-settings'
1291         global-settings-type: cfp
1292         ignore-upstream-changes: true
1293         post-step-run-condition: 'SUCCESS'
1294
1295     postbuilders:
1296         - trigger-builds:
1297             - project: '{csit-list}'
1298               block: true
1299               predefined-parameters:
1300                   BUNDLEURL=$BUNDLEURL
1301
1302     publishers:
1303         - email-notification:
1304             email-recipients: '{email-recipients}'
1305             email-prefix: '[{project}]'