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