Merge "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           - title: '{03-plot-title}'
332             yaxis: '{03-plot-yaxis}'
333             group: '{03-plot-group}'
334             num-builds: '180'
335             keep-records: true
336             style: line
337             use-description: false
338             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
339             series:
340               - file: '{03-plot-data-file}'
341                 inclusion-flag: '{03-inclusion-flag}'
342                 exclude: '{03-exclude-value}'
343                 format: csv
344           - title: '{04-plot-title}'
345             yaxis: '{04-plot-yaxis}'
346             group: '{04-plot-group}'
347             num-builds: '180'
348             keep-records: true
349             style: line
350             use-description: false
351             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
352             series:
353               - file: '{04-plot-data-file}'
354                 inclusion-flag: '{04-inclusion-flag}'
355                 exclude: '{04-exclude-value}'
356                 format: csv
357           - title: '{05-plot-title}'
358             yaxis: '{05-plot-yaxis}'
359             group: '{05-plot-group}'
360             num-builds: '180'
361             keep-records: true
362             style: line
363             use-description: false
364             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
365             series:
366               - file: '{05-plot-data-file}'
367                 inclusion-flag: '{05-inclusion-flag}'
368                 exclude: '{05-exclude-value}'
369                 format: csv
370           - title: '{06-plot-title}'
371             yaxis: '{06-plot-yaxis}'
372             group: '{06-plot-group}'
373             num-builds: '180'
374             keep-records: true
375             style: line
376             use-description: false
377             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
378             series:
379               - file: '{06-plot-data-file}'
380                 inclusion-flag: '{06-inclusion-flag}'
381                 exclude: '{06-exclude-value}'
382                 format: csv
383           - title: '{07-plot-title}'
384             yaxis: '{07-plot-yaxis}'
385             group: '{07-plot-group}'
386             num-builds: '180'
387             keep-records: true
388             style: line
389             use-description: false
390             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
391             series:
392               - file: '{07-plot-data-file}'
393                 inclusion-flag: '{07-inclusion-flag}'
394                 exclude: '{07-exclude-value}'
395                 format: csv
396           - title: '{08-plot-title}'
397             yaxis: '{08-plot-yaxis}'
398             group: '{08-plot-group}'
399             num-builds: '180'
400             keep-records: true
401             style: line
402             use-description: false
403             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
404             series:
405               - file: '{08-plot-data-file}'
406                 inclusion-flag: '{08-inclusion-flag}'
407                 exclude: '{08-exclude-value}'
408                 format: csv
409           - title: '{09-plot-title}'
410             yaxis: '{09-plot-yaxis}'
411             group: '{09-plot-group}'
412             num-builds: '180'
413             keep-records: true
414             style: line
415             use-description: false
416             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
417             series:
418               - file: '{09-plot-data-file}'
419                 inclusion-flag: '{09-inclusion-flag}'
420                 exclude: '{09-exclude-value}'
421                 format: csv
422           - title: '{10-plot-title}'
423             yaxis: '{10-plot-yaxis}'
424             group: '{10-plot-group}'
425             num-builds: '180'
426             keep-records: true
427             style: line
428             use-description: false
429             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
430             series:
431               - file: '{10-plot-data-file}'
432                 inclusion-flag: '{10-inclusion-flag}'
433                 exclude: '{10-exclude-value}'
434                 format: csv
435         - integration-csit-archive-build
436         - opendaylight-infra-shiplogs:
437             maven-version: 'mvn33'
438
439 - job-template:
440     name: '{project}-csit-verify-3node-{functionality}'
441     disabled: false
442
443     project-type: freestyle
444     node: centos7-robot-2c-2g
445
446     logrotate:
447         daysToKeep: '{build-days-to-keep}'
448         numToKeep: '{build-num-to-keep}'
449         artifactDaysToKeep: '{build-artifact-days-to-keep}'
450         artifactNumToKeep: '{build-num-to-keep}'
451
452     parameters:
453         - opendaylight-infra-parameters:
454             project: 'integration/test'
455             branch: '{branch}'
456             refspec: 'refs/heads/{branch}'
457             artifacts: '{archive-artifacts}'
458         - integration-branch:
459             branch: 'stable/boron'
460         - integration-distribution-stream:
461             stream: 'boron'
462         - integration-bundleurl:
463             bundleurl: 'last'
464         - integration-controller-scope:
465             controller-scope: 'only'
466         - integration-controller-features:
467             controller-features: 'odl-jolokia,{install-features}'
468         - integration-test-options:
469             test-options: '{robot-options}'
470         - integration-stream-test-plan:
471             stream-test-plan: '{project}-{functionality}-boron.txt'
472         - integration-test-plan:
473             test-plan: '{project}-{functionality}.txt'
474         - integration-jdk-version:
475             jdkversion: 'openjdk8'
476
477     scm:
478         - integration-gerrit-scm:
479             basedir: 'test'
480             refspec: '$GERRIT_REFSPEC'
481             branch: 'master'
482
483     wrappers:
484         - opendaylight-infra-wrappers:
485             build-timeout: '{build-timeout}'
486         - integration-jclouds-controller-mininet:
487             controller-image: '{controller-image}'
488             controller-vms: 3
489             mininet-image: '{mininet-image}'
490             mininet-vms: '{mininet-vms}'
491
492     triggers:
493         - integration-trigger-patch-submitted:
494             name: 'integration/test'
495             branch: 'master'
496             pattern: 'csit/suites/{project}/**'
497
498     builders:
499         - integration-copy-ssh-keys
500         - integration-cleanup-workspace
501         - integration-install-robotframework
502         - inject:
503             properties-file: 'env.properties'
504         - integration-get-slave-addresses
505         - inject:
506             properties-file: 'slave_addresses.txt'
507         - integration-get-bundle-vars
508         - inject:
509             properties-file: 'bundle_vars.txt'
510         - integration-configure-clustering
511         - integration-start-cluster-run-test
512         - integration-cleanup-tmp
513
514     publishers:
515         - integration-robot:
516             unstable-if: 0.0
517             pass-if: 100.0
518         - email-notification:
519             email-recipients: '{email-recipients}'
520             email-prefix: '[{project}]'
521         - integration-csit-archive-build
522         - opendaylight-infra-shiplogs:
523             maven-version: 'mvn33'
524
525 - job-template:
526     name: '{project}-csit-3node-{functionality}-{install}-{stream}'
527     disabled: false
528
529     project-type: freestyle
530     node: centos7-robot-2c-2g
531
532     logrotate:
533         daysToKeep: '{build-days-to-keep}'
534         numToKeep: '{build-num-to-keep}'
535         artifactDaysToKeep: '{build-artifact-days-to-keep}'
536         artifactNumToKeep: '{build-num-to-keep}'
537
538     parameters:
539         - opendaylight-infra-parameters:
540             project: 'integration/test'
541             branch: '{branch}'
542             refspec: 'refs/heads/{branch}'
543             artifacts: '{archive-artifacts}'
544         - integration-branch:
545             branch: '{branch}'
546         - integration-distribution-stream:
547             stream: '{stream}'
548         - integration-bundleurl:
549             bundleurl: 'last'
550         - integration-controller-scope:
551             controller-scope: '{scope}'
552         - integration-controller-features:
553             controller-features: 'odl-jolokia,{install-features}'
554         - integration-test-options:
555             test-options: '{robot-options}'
556         - integration-stream-test-plan:
557             stream-test-plan: '{project}-{functionality}-{stream}.txt'
558         - integration-test-plan:
559             test-plan: '{project}-{functionality}.txt'
560         - integration-patch-refspec:
561             branch: 'master'
562         - integration-jdk-version:
563             jdkversion: '{jre}'
564
565     scm:
566         - integration-gerrit-scm:
567             basedir: 'test'
568             refspec: '$PATCHREFSPEC'
569             branch: 'master'
570
571     wrappers:
572         - opendaylight-infra-wrappers:
573             build-timeout: '{build-timeout}'
574         - integration-jclouds-controller-mininet:
575             controller-image: '{controller-image}'
576             controller-vms: 3
577             mininet-image: '{mininet-image}'
578             mininet-vms: '{mininet-vms}'
579
580     triggers:
581         - integration-csit-{install}:
582             jobs: '{trigger-jobs}'
583
584     builders:
585         - integration-copy-ssh-keys
586         - integration-cleanup-workspace
587         - integration-install-robotframework
588         - inject:
589             properties-file: 'env.properties'
590         - integration-get-slave-addresses
591         - inject:
592             properties-file: 'slave_addresses.txt'
593         - integration-get-bundle-vars
594         - inject:
595             properties-file: 'bundle_vars.txt'
596         - integration-configure-clustering
597         - integration-start-cluster-run-test
598         - integration-cleanup-tmp
599
600     publishers:
601         - integration-robot:
602             unstable-if: 0.0
603             pass-if: 100.0
604         - email-notification:
605             email-recipients: '{email-recipients}'
606             email-prefix: '[{project}]'
607         - plot:
608           - title: '{01-plot-title}'
609             yaxis: '{01-plot-yaxis}'
610             group: '{01-plot-group}'
611             num-builds: '5400'
612             keep-records: true
613             style: line
614             use-description: false
615             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
616             series:
617               - file: '{01-plot-data-file}'
618                 inclusion-flag: 'off'
619                 display-table: true
620                 format: csv
621           - title: '{02-plot-title}'
622             yaxis: '{02-plot-yaxis}'
623             group: '{02-plot-group}'
624             num-builds: '5400'
625             keep-records: true
626             style: line
627             use-description: false
628             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
629             series:
630               - file: '{02-plot-data-file}'
631                 inclusion-flag: 'off'
632                 display-table: true
633                 format: csv
634         - integration-csit-archive-build
635         - opendaylight-infra-shiplogs:
636             maven-version: 'mvn33'
637
638 - job-template:
639     name: '{project}-csit-3node-docker-{functionality}-{install}-{stream}'
640     disabled: false
641
642     project-type: freestyle
643     node: centos7-robot-2c-2g
644
645     logrotate:
646         daysToKeep: '{build-days-to-keep}'
647         numToKeep: '{build-num-to-keep}'
648         artifactDaysToKeep: '{build-artifact-days-to-keep}'
649         artifactNumToKeep: '{build-num-to-keep}'
650
651     parameters:
652         - opendaylight-infra-parameters:
653             project: 'integration/test'
654             branch: '{branch}'
655             refspec: 'refs/heads/{branch}'
656             artifacts: '{archive-artifacts}'
657         - integration-branch:
658             branch: '{branch}'
659         - integration-distribution-stream:
660             stream: '{stream}'
661         - integration-bundleurl:
662             bundleurl: 'last'
663         - integration-controller-scope:
664             controller-scope: '{scope}'
665         - integration-controller-features:
666             controller-features: 'odl-jolokia,{install-features}'
667         - integration-test-options:
668             test-options: '{robot-options}'
669         - integration-stream-test-plan:
670             stream-test-plan: '{project}-{functionality}-{stream}.txt'
671         - integration-test-plan:
672             test-plan: '{project}-{functionality}.txt'
673         - integration-patch-refspec:
674             branch: 'master'
675         - integration-jdk-version:
676             jdkversion: '{jre}'
677
678     scm:
679         - integration-gerrit-scm:
680             basedir: 'test'
681             refspec: '$PATCHREFSPEC'
682             branch: 'master'
683
684     wrappers:
685         - opendaylight-infra-wrappers:
686             build-timeout: '{build-timeout}'
687         - integration-jclouds-controller-docker:
688             controller-image: '{controller-image}'
689             controller-vms: 3
690             docker-image: '{docker-image}'
691             docker-vms: 1
692
693     triggers:
694         - integration-csit-{install}:
695             jobs: '{trigger-jobs}'
696
697     builders:
698         - integration-copy-ssh-keys
699         - integration-cleanup-workspace
700         - integration-install-robotframework
701         - inject:
702             properties-file: 'env.properties'
703         - integration-get-slave-addresses
704         - inject:
705             properties-file: 'slave_addresses.txt'
706         - integration-get-bundle-vars
707         - inject:
708             properties-file: 'bundle_vars.txt'
709         - integration-configure-clustering
710         - integration-start-cluster-run-test
711         - integration-cleanup-tmp
712
713     publishers:
714         - integration-robot:
715             unstable-if: 0.0
716             pass-if: 100.0
717         - email-notification:
718             email-recipients: '{email-recipients}'
719             email-prefix: '[{project}]'
720         - plot:
721           - title: '{01-plot-title}'
722             yaxis: '{01-plot-yaxis}'
723             group: '{01-plot-group}'
724             num-builds: '5400'
725             keep-records: true
726             style: line
727             use-description: false
728             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
729             series:
730               - file: '{01-plot-data-file}'
731                 inclusion-flag: 'off'
732                 display-table: true
733                 format: csv
734           - title: '{02-plot-title}'
735             yaxis: '{02-plot-yaxis}'
736             group: '{02-plot-group}'
737             num-builds: '5400'
738             keep-records: true
739             style: line
740             use-description: false
741             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
742             series:
743               - file: '{02-plot-data-file}'
744                 inclusion-flag: 'off'
745                 display-table: true
746                 format: csv
747         - integration-csit-archive-build
748         - opendaylight-infra-shiplogs:
749             maven-version: 'mvn33'
750
751 - job-template:
752     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
753     disabled: false
754
755     project-type: freestyle
756     node: centos7-robot-2c-2g
757
758     logrotate:
759         daysToKeep: '{build-days-to-keep}'
760         numToKeep: '{build-num-to-keep}'
761         artifactDaysToKeep: '{build-artifact-days-to-keep}'
762         artifactNumToKeep: '{build-num-to-keep}'
763
764     parameters:
765         - opendaylight-infra-parameters:
766             project: 'integration/test'
767             branch: '{branch}'
768             refspec: 'refs/heads/{branch}'
769             artifacts: '{archive-artifacts}'
770         - integration-branch:
771             branch: '{branch}'
772         - integration-distribution-stream:
773             stream: '{stream}'
774         - integration-bundleurl:
775             bundleurl: 'last'
776         - integration-controller-scope:
777             controller-scope: '{scope}'
778         - integration-controller-features:
779             controller-features: 'odl-jolokia,{install-features}'
780         - integration-test-options:
781             test-options: '{robot-options}'
782         - integration-stream-test-plan:
783             stream-test-plan: '{project}-{functionality}-{stream}.txt'
784         - integration-test-plan:
785             test-plan: '{project}-{functionality}.txt'
786         - integration-patch-refspec:
787             branch: 'master'
788         - integration-jdk-version:
789             jdkversion: '{jre}'
790
791     scm:
792         - integration-gerrit-scm:
793             basedir: 'test'
794             refspec: '$PATCHREFSPEC'
795             branch: 'master'
796
797     wrappers:
798         - opendaylight-infra-wrappers:
799             build-timeout: '{build-timeout}'
800         - integration-jclouds-controller-mininet:
801             controller-image: '{controller-image}'
802             controller-vms: 3
803             mininet-image: '{mininet-image}'
804             mininet-vms: '{mininet-vms}'
805
806     triggers:
807         - timed: '{schedule}'
808
809     builders:
810         - integration-copy-ssh-keys
811         - integration-cleanup-workspace
812         - integration-install-robotframework
813         - inject:
814             properties-file: 'env.properties'
815         - integration-get-slave-addresses
816         - inject:
817             properties-file: 'slave_addresses.txt'
818         - integration-get-bundle-vars
819         - inject:
820             properties-file: 'bundle_vars.txt'
821         - integration-configure-clustering
822         - integration-start-cluster-run-test
823         - integration-cleanup-tmp
824
825     publishers:
826         - integration-robot:
827             unstable-if: 0.0
828             pass-if: 100.0
829         - email-notification:
830             email-recipients: '{email-recipients}'
831             email-prefix: '[{project}]'
832         - plot:
833           - title: '{01-plot-title}'
834             yaxis: '{01-plot-yaxis}'
835             group: '{01-plot-group}'
836             num-builds: '180'
837             keep-records: true
838             style: line
839             use-description: false
840             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
841             series:
842               - file: '{01-plot-data-file}'
843                 inclusion-flag: 'off'
844                 display-table: true
845                 format: csv
846           - title: '{02-plot-title}'
847             yaxis: '{02-plot-yaxis}'
848             group: '{02-plot-group}'
849             num-builds: '180'
850             keep-records: true
851             style: line
852             use-description: false
853             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
854             series:
855               - file: '{02-plot-data-file}'
856                 inclusion-flag: 'off'
857                 display-table: true
858                 format: csv
859           - title: '{03-plot-title}'
860             yaxis: '{03-plot-yaxis}'
861             group: '{03-plot-group}'
862             num-builds: '180'
863             keep-records: true
864             style: line
865             use-description: false
866             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
867             series:
868               - file: '{03-plot-data-file}'
869                 inclusion-flag: '{03-inclusion-flag}'
870                 exclude: '{03-exclude-value}'
871                 format: csv
872           - title: '{04-plot-title}'
873             yaxis: '{04-plot-yaxis}'
874             group: '{04-plot-group}'
875             num-builds: '180'
876             keep-records: true
877             style: line
878             use-description: false
879             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
880             series:
881               - file: '{04-plot-data-file}'
882                 inclusion-flag: '{04-inclusion-flag}'
883                 exclude: '{04-exclude-value}'
884                 format: csv
885           - title: '{05-plot-title}'
886             yaxis: '{05-plot-yaxis}'
887             group: '{05-plot-group}'
888             num-builds: '180'
889             keep-records: true
890             style: line
891             use-description: false
892             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
893             series:
894               - file: '{05-plot-data-file}'
895                 inclusion-flag: '{05-inclusion-flag}'
896                 exclude: '{05-exclude-value}'
897                 format: csv
898           - title: '{06-plot-title}'
899             yaxis: '{06-plot-yaxis}'
900             group: '{06-plot-group}'
901             num-builds: '180'
902             keep-records: true
903             style: line
904             use-description: false
905             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
906             series:
907               - file: '{06-plot-data-file}'
908                 inclusion-flag: '{06-inclusion-flag}'
909                 exclude: '{06-exclude-value}'
910                 format: csv
911           - title: '{07-plot-title}'
912             yaxis: '{07-plot-yaxis}'
913             group: '{07-plot-group}'
914             num-builds: '180'
915             keep-records: true
916             style: line
917             use-description: false
918             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
919             series:
920               - file: '{07-plot-data-file}'
921                 inclusion-flag: '{07-inclusion-flag}'
922                 exclude: '{07-exclude-value}'
923                 format: csv
924           - title: '{08-plot-title}'
925             yaxis: '{08-plot-yaxis}'
926             group: '{08-plot-group}'
927             num-builds: '180'
928             keep-records: true
929             style: line
930             use-description: false
931             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
932             series:
933               - file: '{08-plot-data-file}'
934                 inclusion-flag: '{08-inclusion-flag}'
935                 exclude: '{08-exclude-value}'
936                 format: csv
937           - title: '{09-plot-title}'
938             yaxis: '{09-plot-yaxis}'
939             group: '{09-plot-group}'
940             num-builds: '180'
941             keep-records: true
942             style: line
943             use-description: false
944             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
945             series:
946               - file: '{09-plot-data-file}'
947                 inclusion-flag: '{09-inclusion-flag}'
948                 exclude: '{09-exclude-value}'
949                 format: csv
950           - title: '{10-plot-title}'
951             yaxis: '{10-plot-yaxis}'
952             group: '{10-plot-group}'
953             num-builds: '180'
954             keep-records: true
955             style: line
956             use-description: false
957             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
958             series:
959               - file: '{10-plot-data-file}'
960                 inclusion-flag: '{10-inclusion-flag}'
961                 exclude: '{10-exclude-value}'
962                 format: csv
963         - integration-csit-archive-build
964         - opendaylight-infra-shiplogs:
965             maven-version: 'mvn33'
966
967 - job-template:
968     name: '{project}-csit-1node-openstack-{openstack}-{functionality}-{stream}'
969     disabled: false
970
971     project-type: freestyle
972     node: centos7-robot-2c-2g
973
974     logrotate:
975         daysToKeep: '{build-days-to-keep}'
976         numToKeep: '{build-num-to-keep}'
977         artifactDaysToKeep: '{build-artifact-days-to-keep}'
978         artifactNumToKeep: '{build-num-to-keep}'
979
980     parameters:
981         - opendaylight-infra-parameters:
982             project: 'integration/test'
983             branch: '{branch}'
984             refspec: 'refs/heads/{branch}'
985             artifacts: '{archive-artifacts}'
986         - integration-branch:
987             branch: '{branch}'
988         - integration-distribution-stream:
989             stream: '{stream}'
990         - integration-bundleurl:
991             bundleurl: 'last'
992         - integration-controller-features:
993             controller-features: '{install-features}'
994         - integration-test-plan:
995             test-plan: '{project}-1node-openstack.txt'
996         - integration-patch-refspec:
997             branch: 'master'
998         - integration-jdk-version:
999             jdkversion: '{jre}'
1000         - string:
1001             name: OPENSTACK_BRANCH
1002             default: '{openstack-branch}'
1003             description: 'Openstack version to use with devstack'
1004         - string:
1005             name: ODL_ML2_DRIVER_REPO
1006             default: '{odl-ml2-driver-repo}'
1007             description: 'URL to fetch networking-odl driver'
1008         - string:
1009             name: ODL_ML2_BRANCH
1010             default: '{odl-ml2-branch}'
1011             description: 'Version of networking-odl to checkout from the repo'
1012         - string:
1013             name: ODL_ML2_DRIVER_VERSION
1014             default: '{odl-ml2-driver-version}'
1015             description: 'Mode of networking-odl (v1 or v2)'
1016         - string:
1017             name: ODL_ENABLE_L3_FWD
1018             default: '{odl-enable-l3}'
1019             description: 'Enable L3 FWD in ODL for createing br-ex'
1020         - string:
1021             name: PUBLIC_BRIDGE
1022             default: '{public-bridge}'
1023             description: 'Specifies public bridge for provider and external networking'
1024         - string:
1025             name: ENABLE_OS_SERVICES
1026             default: '{enable-openstack-services}'
1027             description: 'comma seperated list of services to enable'
1028         - string:
1029             name: DISABLE_OS_SERVICES
1030             default: '{disable-openstack-services}'
1031             description: 'comma seperated list of services to enable'
1032         - string:
1033             name: TENANT_NETWORK_TYPE
1034             default: '{tenant-network-type}'
1035             description: 'Tenant Network Type supported by the implementation'
1036         - string:
1037             name: SECURITY_GROUP_MODE
1038             default: '{security-group-mode}'
1039             description: 'Security Group Mode to be used in netvirt aclservice config'
1040     scm:
1041         - integration-gerrit-scm:
1042             basedir: 'test'
1043             refspec: '$PATCHREFSPEC'
1044             branch: 'master'
1045
1046     wrappers:
1047         - opendaylight-infra-wrappers:
1048             build-timeout: '{build-timeout}'
1049         - integration-jclouds-controller-devstack:
1050             controller-image: '{controller-image}'
1051             controller-vms: 1
1052             openstack-image: '{openstack-image}'
1053             openstack-vms: '{openstack-vms}'
1054
1055     triggers:
1056         - timed: '{schedule}'
1057
1058     builders:
1059         - integration-copy-ssh-keys
1060         - integration-cleanup-workspace
1061         - integration-install-robotframework
1062         - inject:
1063             properties-file: 'env.properties'
1064         - integration-get-slave-addresses
1065         - inject:
1066             properties-file: 'slave_addresses.txt'
1067         - integration-get-bundle-vars
1068         - inject:
1069             properties-file: 'bundle_vars.txt'
1070         - integration-deploy-controller-run-test
1071         - integration-deploy-openstack-run-test
1072         - integration-cleanup-tmp
1073
1074     publishers:
1075         - integration-robot-tempest:
1076             unstable-if: 0.0
1077             pass-if: 100.0
1078         - email-notification:
1079             email-recipients: '{email-recipients}'
1080             email-prefix: '[{project}]'
1081         - integration-csit-archive-build
1082         - opendaylight-infra-shiplogs:
1083             maven-version: 'mvn33'
1084
1085 - job-template:
1086     name: '{project}-csit-3node-openstack-{openstack}-{functionality}-{stream}'
1087     disabled: false
1088
1089     project-type: freestyle
1090     node: centos7-robot-2c-2g
1091
1092     logrotate:
1093         daysToKeep: '{build-days-to-keep}'
1094         numToKeep: '{build-num-to-keep}'
1095         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1096         artifactNumToKeep: '{build-num-to-keep}'
1097
1098     parameters:
1099         - opendaylight-infra-parameters:
1100             project: 'integration/test'
1101             branch: '{branch}'
1102             refspec: 'refs/heads/{branch}'
1103             artifacts: '{archive-artifacts}'
1104         - integration-branch:
1105             branch: '{branch}'
1106         - integration-distribution-stream:
1107             stream: '{stream}'
1108         - integration-bundleurl:
1109             bundleurl: 'last'
1110         - integration-controller-features:
1111             controller-features: 'odl-jolokia,{install-features}'
1112         - integration-test-plan:
1113             test-plan: '{project}-3node-openstack.txt'
1114         - integration-patch-refspec:
1115             branch: 'master'
1116         - integration-jdk-version:
1117             jdkversion: '{jre}'
1118         - string:
1119             name: OPENSTACK_BRANCH
1120             default: '{openstack-branch}'
1121             description: 'Openstack version to use with devstack'
1122         - string:
1123             name: ODL_ML2_DRIVER_REPO
1124             default: '{odl-ml2-driver-repo}'
1125             description: 'URL to fetch networking-odl driver'
1126         - string:
1127             name: ODL_ML2_BRANCH
1128             default: '{odl-ml2-branch}'
1129             description: 'Version of networking-odl to checkout from the repo'
1130         - string:
1131             name: ODL_ML2_DRIVER_VERSION
1132             default: '{odl-ml2-driver-version}'
1133             description: 'Mode of networking-odl (v1 or v2)'
1134         - string:
1135             name: ODL_ENABLE_L3_FWD
1136             default: '{odl-enable-l3}'
1137             description: 'Enable L3 FWD in ODL for createing br-ex'
1138         - string:
1139             name: PUBLIC_BRIDGE
1140             default: '{public-bridge}'
1141             description: 'Specifies public bridge for provider and external networking'
1142         - string:
1143             name: ENABLE_HAPROXY_FOR_NEUTRON
1144             default: '{enable-haproxy}'
1145             description: 'Enable HAProxy for using neutron interface as HA'
1146         - string:
1147             name: ENABLE_OS_SERVICES
1148             default: '{enable-openstack-services}'
1149             description: 'comma seperated list of services to enable'
1150         - string:
1151             name: DISABLE_OS_SERVICES
1152             default: '{disable-openstack-services}'
1153             description: 'comma seperated list of services to enable'
1154         - string:
1155             name: TENANT_NETWORK_TYPE
1156             default: '{tenant-network-type}'
1157             description: 'Tenant Network Type supported by the implementation'
1158         - string:
1159             name: SECURITY_GROUP_MODE
1160             default: '{security-group-mode}'
1161             description: 'Security Group Mode to be used in netvirt aclservice config'
1162
1163     scm:
1164         - integration-gerrit-scm:
1165             basedir: 'test'
1166             refspec: '$PATCHREFSPEC'
1167             branch: 'master'
1168
1169     wrappers:
1170         - opendaylight-infra-wrappers:
1171             build-timeout: '{build-timeout}'
1172         - integration-jclouds-controller-devstack:
1173             controller-image: '{controller-image}'
1174             controller-vms: 3
1175             openstack-image: '{openstack-image}'
1176             openstack-vms: '{openstack-vms}'
1177
1178     triggers:
1179         - timed: '{schedule}'
1180
1181     builders:
1182         - integration-copy-ssh-keys
1183         - integration-cleanup-workspace
1184         - integration-install-robotframework
1185         - inject:
1186             properties-file: 'env.properties'
1187         - integration-get-slave-addresses
1188         - inject:
1189             properties-file: 'slave_addresses.txt'
1190         - integration-get-bundle-vars
1191         - inject:
1192             properties-file: 'bundle_vars.txt'
1193         - integration-configure-clustering
1194         - integration-start-cluster-run-test
1195         - integration-deploy-openstack-run-test
1196         - integration-cleanup-tmp
1197
1198     publishers:
1199         - integration-robot-tempest:
1200             unstable-if: 0.0
1201             pass-if: 100.0
1202         - email-notification:
1203             email-recipients: '{email-recipients}'
1204             email-prefix: '[{project}]'
1205         - integration-csit-archive-build
1206         - opendaylight-infra-shiplogs:
1207             maven-version: 'mvn33'
1208
1209 # Template: {project}-patch-test-{stream}
1210 # Goal: Build a patch and run project specific system test on a distribution containing the change
1211 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1212 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1213
1214 - job-template:
1215     name: '{project}-patch-test-{feature}-{stream}'
1216
1217     project-type: maven
1218     node: centos7-java-builder-2c-8g
1219     jdk: '{jdk}'
1220
1221     logrotate:
1222         daysToKeep: '{build-days-to-keep}'
1223         numToKeep: '{build-num-to-keep}'
1224         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1225         artifactNumToKeep: '{build-artifact-num-to-keep}'
1226
1227     parameters:
1228         - opendaylight-infra-parameters:
1229             project: '{project}'
1230             branch: '{branch}'
1231             refspec: '$GERRIT_REFSPEC'
1232             artifacts: '{archive-artifacts}'
1233         - integration-branch:
1234             branch: '{branch}'
1235         - integration-distribution-git-url
1236         - string:
1237             name: feature
1238             default: 'all'
1239             description: 'Specific feature test for patch'
1240
1241     scm:
1242         - integration-gerrit-scm:
1243             basedir: '{project}'
1244             refspec: '$GERRIT_REFSPEC'
1245             branch: '{branch}'
1246         - integration-distribution-scm:
1247             branch: '{branch}'
1248
1249     wrappers:
1250         - opendaylight-infra-wrappers:
1251             build-timeout: '{build-timeout}'
1252
1253     triggers:
1254         - gerrit:
1255             server-name: 'OpenDaylight'
1256             trigger-on:
1257                 - comment-added-contains-event:
1258                     comment-contains-value: 'test-{project}-all'
1259                 - comment-added-contains-event:
1260                     comment-contains-value: 'test-{project}-{feature}'
1261             projects:
1262               - project-compare-type: 'ANT'
1263                 project-pattern: '{project}'
1264                 branches:
1265                   - branch-compare-type: 'ANT'
1266                     branch-pattern: '**/{branch}'
1267             skip-vote:
1268                 successful: true
1269                 failed: true
1270                 unstable: true
1271                 notbuilt: true
1272
1273     prebuilders:
1274         - integration-rebase-gerrit-patch
1275         - integration-get-bundle-url
1276         - inject:
1277             properties-file: 'bundle.txt'
1278         - wipe-org-opendaylight-repo
1279         - provide-maven-settings:
1280             global-settings-file: 'odl-global-settings'
1281             settings-file: 'integration-settings'
1282         - maven-target:
1283             maven-version: 'mvn33'
1284             pom: '{project}/pom.xml'
1285             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}'
1286             java-opts:
1287                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1288             settings: 'integration-settings'
1289             settings-type: cfp
1290             global-settings: 'odl-global-settings'
1291             global-settings-type: cfp
1292
1293     maven:
1294         maven-name: 'mvn33'
1295         root-pom: 'distribution/pom.xml'
1296         goals: 'clean install dependency:tree -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
1297         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1298         settings: 'integration-settings'
1299         settings-type: cfp
1300         global-settings: 'odl-global-settings'
1301         global-settings-type: cfp
1302         ignore-upstream-changes: true
1303         post-step-run-condition: 'SUCCESS'
1304
1305     postbuilders:
1306         - trigger-builds:
1307             - project: '{csit-list}'
1308               block: true
1309               predefined-parameters:
1310                   BUNDLEURL=$BUNDLEURL
1311
1312     publishers:
1313         - email-notification:
1314             email-recipients: '{email-recipients}'
1315             email-prefix: '[{project}]'
1316
1317
1318