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