jenkins job networking odl v2
[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_BRANCH
802             default: '{odl-ml2-branch}'
803             description: 'Version of networking-odl to checkout from the repo'
804         - string:
805             name: ODL_ML2_DRIVER_VERSION
806             default: '{odl-ml2-driver-version}'
807             description: 'Mode of networking-odl (v1 or v2)'
808         - string:
809             name: ODL_ENABLE_L3_FWD
810             default: '{odl-enable-l3}'
811             description: 'Enable L3 FWD in ODL for createing br-ex'
812         - string:
813             name: PUBLIC_BRIDGE
814             default: '{public-bridge}'
815             description: 'Specifies public bridge for provider and external networking'
816         - string:
817             name: ENABLE_OS_SERVICES
818             default: '{enable-openstack-services}'
819             description: 'comma seperated list of services to enable'
820         - string:
821             name: DISABLE_OS_SERVICES
822             default: '{disable-openstack-services}'
823             description: 'comma seperated list of services to enable'
824         - string:
825             name: TENANT_NETWORK_TYPE
826             default: '{tenant-network-type}'
827             description: 'Tenant Network Type supported by the implementation'
828         - string:
829             name: SECURITY_GROUP_MODE
830             default: '{security-group-mode}'
831             description: 'Security Group Mode to be used in netvirt aclservice config'
832     scm:
833         - integration-gerrit-scm:
834             basedir: 'test'
835             refspec: '$PATCHREFSPEC'
836             branch: 'master'
837
838     wrappers:
839         - opendaylight-infra-wrappers:
840             build-timeout: '{build-timeout}'
841         - integration-jclouds-controller-devstack:
842             controller-image: '{controller-image}'
843             controller-vms: 1
844             openstack-image: '{openstack-image}'
845             openstack-vms: '{openstack-vms}'
846
847     triggers:
848         - timed: '{schedule}'
849
850     builders:
851         - integration-copy-ssh-keys
852         - integration-cleanup-workspace
853         - integration-install-robotframework
854         - inject:
855             properties-file: 'env.properties'
856         - integration-get-slave-addresses
857         - inject:
858             properties-file: 'slave_addresses.txt'
859         - integration-get-bundle-vars
860         - inject:
861             properties-file: 'bundle_vars.txt'
862         - integration-deploy-controller-run-test
863         - integration-deploy-openstack-run-test
864         - integration-cleanup-tmp
865
866     publishers:
867         - integration-robot-tempest:
868             unstable-if: 0.0
869             pass-if: 100.0
870         - email-notification:
871             email-recipients: '{email-recipients}'
872             email-prefix: '[{project}]'
873         - integration-csit-archive-build
874         - opendaylight-infra-shiplogs:
875             maven-version: 'mvn33'
876
877 - job-template:
878     name: '{project}-csit-3node-openstack-{openstack}-{functionality}-{stream}'
879     disabled: false
880
881     project-type: freestyle
882     node: centos7-robot-2c-2g
883
884     logrotate:
885         daysToKeep: '{build-days-to-keep}'
886         numToKeep: '{build-num-to-keep}'
887         artifactDaysToKeep: '{build-artifact-days-to-keep}'
888         artifactNumToKeep: '{build-num-to-keep}'
889
890     parameters:
891         - opendaylight-infra-parameters:
892             project: 'integration/test'
893             branch: '{branch}'
894             refspec: 'refs/heads/{branch}'
895             artifacts: '{archive-artifacts}'
896         - integration-branch:
897             branch: '{branch}'
898         - integration-distribution-stream:
899             stream: '{stream}'
900         - integration-bundleurl:
901             bundleurl: 'last'
902         - integration-controller-features:
903             controller-features: 'odl-jolokia,{install-features}'
904         - integration-test-plan:
905             test-plan: '{project}-3node-openstack.txt'
906         - integration-patch-refspec:
907             branch: 'master'
908         - integration-jdk-version:
909             jdkversion: '{jre}'
910         - string:
911             name: OPENSTACK_BRANCH
912             default: '{openstack-branch}'
913             description: 'Openstack version to use with devstack'
914         - string:
915             name: ODL_ML2_DRIVER_REPO
916             default: 'https://github.com/openstack/networking-odl'
917             description: 'URL to fetch networking-odl driver'
918         - string:
919             name: ODL_ML2_BRANCH
920             default: '{odl-ml2-branch}'
921             description: 'Version of networking-odl to checkout from the repo'
922         - string:
923             name: ODL_ML2_DRIVER_VERSION
924             default: '{odl-ml2-driver-version}'
925             description: 'Mode of networking-odl (v1 or v2)'
926         - string:
927             name: ODL_ENABLE_L3_FWD
928             default: '{odl-enable-l3}'
929             description: 'Enable L3 FWD in ODL for createing br-ex'
930         - string:
931             name: PUBLIC_BRIDGE
932             default: '{public-bridge}'
933             description: 'Specifies public bridge for provider and external networking'
934         - string:
935             name: ENABLE_HAPROXY_FOR_NEUTRON
936             default: '{enable-haproxy}'
937             description: 'Enable HAProxy for using neutron interface as HA'
938         - string:
939             name: ENABLE_OS_SERVICES
940             default: '{enable-openstack-services}'
941             description: 'comma seperated list of services to enable'
942         - string:
943             name: DISABLE_OS_SERVICES
944             default: '{disable-openstack-services}'
945             description: 'comma seperated list of services to enable'
946         - string:
947             name: TENANT_NETWORK_TYPE
948             default: '{tenant-network-type}'
949             description: 'Tenant Network Type supported by the implementation'
950         - string:
951             name: SECURITY_GROUP_MODE
952             default: '{security-group-mode}'
953             description: 'Security Group Mode to be used in netvirt aclservice config'
954
955     scm:
956         - integration-gerrit-scm:
957             basedir: 'test'
958             refspec: '$PATCHREFSPEC'
959             branch: 'master'
960
961     wrappers:
962         - opendaylight-infra-wrappers:
963             build-timeout: '{build-timeout}'
964         - integration-jclouds-controller-devstack:
965             controller-image: '{controller-image}'
966             controller-vms: 3
967             openstack-image: '{openstack-image}'
968             openstack-vms: '{openstack-vms}'
969
970     triggers:
971         - timed: '{schedule}'
972
973     builders:
974         - integration-copy-ssh-keys
975         - integration-cleanup-workspace
976         - integration-install-robotframework
977         - inject:
978             properties-file: 'env.properties'
979         - integration-get-slave-addresses
980         - inject:
981             properties-file: 'slave_addresses.txt'
982         - integration-get-bundle-vars
983         - inject:
984             properties-file: 'bundle_vars.txt'
985         - integration-configure-clustering
986         - integration-start-cluster-run-test
987         - integration-deploy-openstack-run-test
988         - integration-cleanup-tmp
989
990     publishers:
991         - integration-robot-tempest:
992             unstable-if: 0.0
993             pass-if: 100.0
994         - email-notification:
995             email-recipients: '{email-recipients}'
996             email-prefix: '[{project}]'
997         - integration-csit-archive-build
998         - opendaylight-infra-shiplogs:
999             maven-version: 'mvn33'
1000
1001 # Template: {project}-patch-test-{stream}
1002 # Goal: Build a patch and run project specific system test on a distribution containing the change
1003 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1004 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1005
1006 - job-template:
1007     name: '{project}-patch-test-{feature}-{stream}'
1008
1009     project-type: maven
1010     node: centos7-java-builder-2c-8g
1011     jdk: '{jdk}'
1012
1013     logrotate:
1014         daysToKeep: '{build-days-to-keep}'
1015         numToKeep: '{build-num-to-keep}'
1016         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1017         artifactNumToKeep: '{build-artifact-num-to-keep}'
1018
1019     parameters:
1020         - opendaylight-infra-parameters:
1021             project: '{project}'
1022             branch: '{branch}'
1023             refspec: '$GERRIT_REFSPEC'
1024             artifacts: '{archive-artifacts}'
1025         - integration-branch:
1026             branch: '{branch}'
1027         - integration-distribution-git-url
1028         - string:
1029             name: feature
1030             default: 'all'
1031             description: 'Specific feature test for patch'
1032
1033     scm:
1034         - integration-gerrit-scm:
1035             basedir: '{project}'
1036             refspec: '$GERRIT_REFSPEC'
1037             branch: '{branch}'
1038         - integration-distribution-scm:
1039             branch: '{branch}'
1040
1041     wrappers:
1042         - opendaylight-infra-wrappers:
1043             build-timeout: '{build-timeout}'
1044
1045     triggers:
1046         - gerrit:
1047             server-name: 'OpenDaylight'
1048             trigger-on:
1049                 - comment-added-contains-event:
1050                     comment-contains-value: 'test-{project}-all'
1051                 - comment-added-contains-event:
1052                     comment-contains-value: 'test-{project}-{feature}'
1053             projects:
1054               - project-compare-type: 'ANT'
1055                 project-pattern: '{project}'
1056                 branches:
1057                   - branch-compare-type: 'ANT'
1058                     branch-pattern: '**/{branch}'
1059             skip-vote:
1060                 successful: true
1061                 failed: true
1062                 unstable: true
1063                 notbuilt: true
1064
1065     prebuilders:
1066         - integration-rebase-gerrit-patch
1067         - integration-get-bundle-url
1068         - inject:
1069             properties-file: 'bundle.txt'
1070         - wipe-org-opendaylight-repo
1071         - provide-maven-settings:
1072             global-settings-file: 'odl-global-settings'
1073             settings-file: 'integration-settings'
1074         - maven-target:
1075             maven-version: 'mvn33'
1076             pom: '{project}/pom.xml'
1077             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}'
1078             java-opts:
1079                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1080             settings: 'integration-settings'
1081             settings-type: cfp
1082             global-settings: 'odl-global-settings'
1083             global-settings-type: cfp
1084
1085     maven:
1086         maven-name: 'mvn33'
1087         root-pom: 'distribution/pom.xml'
1088         goals: 'clean install dependency:tree -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
1089         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1090         settings: 'integration-settings'
1091         settings-type: cfp
1092         global-settings: 'odl-global-settings'
1093         global-settings-type: cfp
1094         ignore-upstream-changes: true
1095         post-step-run-condition: 'SUCCESS'
1096
1097     postbuilders:
1098         - trigger-builds:
1099             - project: '{csit-list}'
1100               block: true
1101               predefined-parameters:
1102                   BUNDLEURL=$BUNDLEURL
1103
1104     publishers:
1105         - email-notification:
1106             email-recipients: '{email-recipients}'
1107             email-prefix: '[{project}]'
1108
1109
1110