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