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