Merge "general improvement of published graphs for 1node and 3node controller benchm...
[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_VERSION
1010             default: '{odl-ml2-version}'
1011             description: 'Version of networking-odl to checkout from the repo'
1012         - string:
1013             name: ODL_ENABLE_L3_FWD
1014             default: '{odl-enable-l3}'
1015             description: 'Enable L3 FWD in ODL for createing br-ex'
1016         - string:
1017             name: PUBLIC_BRIDGE
1018             default: '{public-bridge}'
1019             description: 'Specifies public bridge for provider and external networking'
1020         - string:
1021             name: ENABLE_OS_SERVICES
1022             default: '{enable-openstack-services}'
1023             description: 'comma seperated list of services to enable'
1024         - string:
1025             name: DISABLE_OS_SERVICES
1026             default: '{disable-openstack-services}'
1027             description: 'comma seperated list of services to enable'
1028         - string:
1029             name: TENANT_NETWORK_TYPE
1030             default: '{tenant-network-type}'
1031             description: 'Tenant Network Type supported by the implementation'
1032         - string:
1033             name: SECURITY_GROUP_MODE
1034             default: '{security-group-mode}'
1035             description: 'Security Group Mode to be used in netvirt aclservice config'
1036     scm:
1037         - integration-gerrit-scm:
1038             basedir: 'test'
1039             refspec: '$PATCHREFSPEC'
1040             branch: 'master'
1041
1042     wrappers:
1043         - opendaylight-infra-wrappers:
1044             build-timeout: '{build-timeout}'
1045         - integration-jclouds-controller-devstack:
1046             controller-image: '{controller-image}'
1047             controller-vms: 1
1048             openstack-image: '{openstack-image}'
1049             openstack-vms: '{openstack-vms}'
1050
1051     triggers:
1052         - timed: '{schedule}'
1053
1054     builders:
1055         - integration-copy-ssh-keys
1056         - integration-cleanup-workspace
1057         - integration-install-robotframework
1058         - inject:
1059             properties-file: 'env.properties'
1060         - integration-get-slave-addresses
1061         - inject:
1062             properties-file: 'slave_addresses.txt'
1063         - integration-get-bundle-vars
1064         - inject:
1065             properties-file: 'bundle_vars.txt'
1066         - integration-deploy-controller-run-test
1067         - integration-deploy-openstack-run-test
1068         - integration-cleanup-tmp
1069
1070     publishers:
1071         - integration-robot-tempest:
1072             unstable-if: 0.0
1073             pass-if: 100.0
1074         - email-notification:
1075             email-recipients: '{email-recipients}'
1076             email-prefix: '[{project}]'
1077         - integration-csit-archive-build
1078         - opendaylight-infra-shiplogs:
1079             maven-version: 'mvn33'
1080
1081 - job-template:
1082     name: '{project}-csit-3node-openstack-{openstack}-{functionality}-{stream}'
1083     disabled: false
1084
1085     project-type: freestyle
1086     node: centos7-robot-2c-2g
1087
1088     logrotate:
1089         daysToKeep: '{build-days-to-keep}'
1090         numToKeep: '{build-num-to-keep}'
1091         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1092         artifactNumToKeep: '{build-num-to-keep}'
1093
1094     parameters:
1095         - opendaylight-infra-parameters:
1096             project: 'integration/test'
1097             branch: '{branch}'
1098             refspec: 'refs/heads/{branch}'
1099             artifacts: '{archive-artifacts}'
1100         - integration-branch:
1101             branch: '{branch}'
1102         - integration-distribution-stream:
1103             stream: '{stream}'
1104         - integration-bundleurl:
1105             bundleurl: 'last'
1106         - integration-controller-features:
1107             controller-features: 'odl-jolokia,{install-features}'
1108         - integration-test-plan:
1109             test-plan: '{project}-3node-openstack.txt'
1110         - integration-patch-refspec:
1111             branch: 'master'
1112         - integration-jdk-version:
1113             jdkversion: '{jre}'
1114         - string:
1115             name: OPENSTACK_BRANCH
1116             default: '{openstack-branch}'
1117             description: 'Openstack version to use with devstack'
1118         - string:
1119             name: ODL_ML2_DRIVER_REPO
1120             default: '{odl-ml2-driver-repo}'
1121             description: 'URL to fetch networking-odl driver'
1122         - string:
1123             name: ODL_ML2_VERSION
1124             default: '{odl-ml2-version}'
1125             description: 'Version of networking-odl to checkout from the repo'
1126         - string:
1127             name: ODL_ENABLE_L3_FWD
1128             default: '{odl-enable-l3}'
1129             description: 'Enable L3 FWD in ODL for createing br-ex'
1130         - string:
1131             name: PUBLIC_BRIDGE
1132             default: '{public-bridge}'
1133             description: 'Specifies public bridge for provider and external networking'
1134         - string:
1135             name: ENABLE_HAPROXY_FOR_NEUTRON
1136             default: '{enable-haproxy}'
1137             description: 'Enable HAProxy for using neutron interface as HA'
1138         - string:
1139             name: ENABLE_OS_SERVICES
1140             default: '{enable-openstack-services}'
1141             description: 'comma seperated list of services to enable'
1142         - string:
1143             name: DISABLE_OS_SERVICES
1144             default: '{disable-openstack-services}'
1145             description: 'comma seperated list of services to enable'
1146         - string:
1147             name: TENANT_NETWORK_TYPE
1148             default: '{tenant-network-type}'
1149             description: 'Tenant Network Type supported by the implementation'
1150         - string:
1151             name: SECURITY_GROUP_MODE
1152             default: '{security-group-mode}'
1153             description: 'Security Group Mode to be used in netvirt aclservice config'
1154
1155     scm:
1156         - integration-gerrit-scm:
1157             basedir: 'test'
1158             refspec: '$PATCHREFSPEC'
1159             branch: 'master'
1160
1161     wrappers:
1162         - opendaylight-infra-wrappers:
1163             build-timeout: '{build-timeout}'
1164         - integration-jclouds-controller-devstack:
1165             controller-image: '{controller-image}'
1166             controller-vms: 3
1167             openstack-image: '{openstack-image}'
1168             openstack-vms: '{openstack-vms}'
1169
1170     triggers:
1171         - timed: '{schedule}'
1172
1173     builders:
1174         - integration-copy-ssh-keys
1175         - integration-cleanup-workspace
1176         - integration-install-robotframework
1177         - inject:
1178             properties-file: 'env.properties'
1179         - integration-get-slave-addresses
1180         - inject:
1181             properties-file: 'slave_addresses.txt'
1182         - integration-get-bundle-vars
1183         - inject:
1184             properties-file: 'bundle_vars.txt'
1185         - integration-configure-clustering
1186         - integration-start-cluster-run-test
1187         - integration-deploy-openstack-run-test
1188         - integration-cleanup-tmp
1189
1190     publishers:
1191         - integration-robot-tempest:
1192             unstable-if: 0.0
1193             pass-if: 100.0
1194         - email-notification:
1195             email-recipients: '{email-recipients}'
1196             email-prefix: '[{project}]'
1197         - integration-csit-archive-build
1198         - opendaylight-infra-shiplogs:
1199             maven-version: 'mvn33'
1200
1201 # Template: {project}-patch-test-{stream}
1202 # Goal: Build a patch and run project specific system test on a distribution containing the change
1203 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1204 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1205
1206 - job-template:
1207     name: '{project}-patch-test-{feature}-{stream}'
1208
1209     project-type: maven
1210     node: centos7-java-builder-2c-8g
1211     jdk: '{jdk}'
1212
1213     logrotate:
1214         daysToKeep: '{build-days-to-keep}'
1215         numToKeep: '{build-num-to-keep}'
1216         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1217         artifactNumToKeep: '{build-artifact-num-to-keep}'
1218
1219     parameters:
1220         - opendaylight-infra-parameters:
1221             project: '{project}'
1222             branch: '{branch}'
1223             refspec: '$GERRIT_REFSPEC'
1224             artifacts: '{archive-artifacts}'
1225         - integration-branch:
1226             branch: '{branch}'
1227         - integration-distribution-git-url
1228         - string:
1229             name: feature
1230             default: 'all'
1231             description: 'Specific feature test for patch'
1232
1233     scm:
1234         - integration-gerrit-scm:
1235             basedir: '{project}'
1236             refspec: '$GERRIT_REFSPEC'
1237             branch: '{branch}'
1238         - integration-distribution-scm:
1239             branch: '{branch}'
1240
1241     wrappers:
1242         - opendaylight-infra-wrappers:
1243             build-timeout: '{build-timeout}'
1244
1245     triggers:
1246         - gerrit:
1247             server-name: 'OpenDaylight'
1248             trigger-on:
1249                 - comment-added-contains-event:
1250                     comment-contains-value: 'test-{project}-all'
1251                 - comment-added-contains-event:
1252                     comment-contains-value: 'test-{project}-{feature}'
1253             projects:
1254               - project-compare-type: 'ANT'
1255                 project-pattern: '{project}'
1256                 branches:
1257                   - branch-compare-type: 'ANT'
1258                     branch-pattern: '**/{branch}'
1259             skip-vote:
1260                 successful: true
1261                 failed: true
1262                 unstable: true
1263                 notbuilt: true
1264
1265     prebuilders:
1266         - integration-rebase-gerrit-patch
1267         - integration-get-bundle-url
1268         - inject:
1269             properties-file: 'bundle.txt'
1270         - wipe-org-opendaylight-repo
1271         - provide-maven-settings:
1272             global-settings-file: 'odl-global-settings'
1273             settings-file: 'integration-settings'
1274         - maven-target:
1275             maven-version: 'mvn33'
1276             pom: '{project}/pom.xml'
1277             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}'
1278             java-opts:
1279                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1280             settings: 'integration-settings'
1281             settings-type: cfp
1282             global-settings: 'odl-global-settings'
1283             global-settings-type: cfp
1284
1285     maven:
1286         maven-name: 'mvn33'
1287         root-pom: 'distribution/pom.xml'
1288         goals: 'clean install dependency:tree -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
1289         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1290         settings: 'integration-settings'
1291         settings-type: cfp
1292         global-settings: 'odl-global-settings'
1293         global-settings-type: cfp
1294         ignore-upstream-changes: true
1295         post-step-run-condition: 'SUCCESS'
1296
1297     postbuilders:
1298         - trigger-builds:
1299             - project: '{csit-list}'
1300               block: true
1301               predefined-parameters:
1302                   BUNDLEURL=$BUNDLEURL
1303
1304     publishers:
1305         - email-notification:
1306             email-recipients: '{email-recipients}'
1307             email-prefix: '[{project}]'
1308
1309
1310