Migrate docs-rtd to archive-builds macro
[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 # project-parameter: 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: dynamic_robot
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         - project-parameter:
42             project: 'integration/test'
43         - integration-branch:
44             branch: 'stable/beryllium'
45         - integration-distribution-stream:
46             stream: 'beryllium'
47         - integration-bundleurl:
48             bundleurl: 'last'
49         - integration-controller-scope:
50             controller-scope: 'only'
51         - integration-controller-features:
52             controller-features: '{install-features}'
53         - integration-test-options:
54             test-options: '{robot-options}'
55         - integration-stream-test-plan:
56             stream-test-plan: '{project}-{functionality}-beryllium.txt'
57         - integration-test-plan:
58             test-plan: '{project}-{functionality}.txt'
59         - integration-jdk-version:
60             jdkversion: 'openjdk7'
61             # TODO: Switch to openjdk8 from Boron on.
62
63     scm:
64         - integration-gerrit-scm:
65             basedir: 'test'
66             refspec: '$GERRIT_REFSPEC'
67             branch: 'master'
68
69     wrappers:
70         - opendaylight-infra-wrappers:
71             build-timeout: '{build-timeout}'
72         - integration-openstack-controller-mininet:
73             controller-image: '{controller-image}'
74             controller-vms: 1
75             mininet-image: '{mininet-image}'
76             mininet-vms: '{mininet-vms}'
77
78     triggers:
79         - integration-trigger-patch-submitted:
80             name: 'integration/test'
81             branch: 'master'
82             pattern: 'csit/suites/{project}/**'
83
84     builders:
85         - integration-copy-ssh-keys
86         - integration-cleanup-workspace
87         - integration-install-robotframework
88         - inject:
89             properties-file: 'env.properties'
90         - integration-get-slave-addresses
91         - inject:
92             properties-file: 'slave_addresses.txt'
93         - integration-get-bundle-vars
94         - inject:
95             properties-file: 'bundle_vars.txt'
96         - integration-deploy-controller-run-test
97         - integration-cleanup-tmp
98
99     publishers:
100         - integration-robot:
101             unstable-if: 0.0
102             pass-if: 100.0
103         - email-notification:
104             email-prefix: '[{project}]'
105         - integration-csit-archive-build
106         - archive-build:
107             maven-version: '{mvn33}'
108
109 - job-template:
110     name: '{project}-csit-1node-{functionality}-{install}-{stream}'
111     disabled: false
112
113     project-type: freestyle
114     node: dynamic_robot
115
116     logrotate:
117         daysToKeep: '{build-days-to-keep}'
118         numToKeep: '{build-num-to-keep}'
119         artifactDaysToKeep: '{build-artifact-days-to-keep}'
120         artifactNumToKeep: '{build-num-to-keep}'
121
122     parameters:
123         - project-parameter:
124             project: 'integration/test'
125         - integration-branch:
126             branch: '{branch}'
127         - integration-distribution-stream:
128             stream: '{stream}'
129         - integration-bundleurl:
130             bundleurl: 'last'
131         - integration-controller-scope:
132             controller-scope: '{scope}'
133         - integration-controller-features:
134             controller-features: '{install-features}'
135         - integration-test-options:
136             test-options: '{robot-options}'
137         - integration-stream-test-plan:
138             stream-test-plan: '{project}-{functionality}-{stream}.txt'
139         - integration-test-plan:
140             test-plan: '{project}-{functionality}.txt'
141         - integration-patch-refspec:
142             branch: 'master'
143         - integration-jdk-version:
144             jdkversion: '{jre}'
145
146     scm:
147         - integration-gerrit-scm:
148             basedir: 'test'
149             refspec: '$PATCHREFSPEC'
150             branch: 'master'
151
152     wrappers:
153         - opendaylight-infra-wrappers:
154             build-timeout: '{build-timeout}'
155         - integration-openstack-controller-mininet:
156             controller-image: '{controller-image}'
157             controller-vms: 1
158             mininet-image: '{mininet-image}'
159             mininet-vms: '{mininet-vms}'
160
161     triggers:
162         - integration-csit-{install}:
163             jobs: '{trigger-jobs}'
164
165     builders:
166         - integration-copy-ssh-keys
167         - integration-cleanup-workspace
168         - integration-install-robotframework
169         - inject:
170             properties-file: 'env.properties'
171         - integration-get-slave-addresses
172         - inject:
173             properties-file: 'slave_addresses.txt'
174         - integration-get-bundle-vars
175         - inject:
176             properties-file: 'bundle_vars.txt'
177         - integration-deploy-controller-run-test
178         - integration-cleanup-tmp
179
180     publishers:
181         - integration-robot:
182             unstable-if: 0.0
183             pass-if: 100.0
184         - email-notification:
185             email-prefix: '[{project}]'
186         - plot:
187           - title: '{01-plot-title}'
188             yaxis: '{01-plot-yaxis}'
189             group: '{01-plot-group}'
190             num-builds: '5400'
191             style: line
192             use-description: false
193             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
194             series:
195               - file: '{01-plot-data-file}'
196                 inclusion-flag: 'off'
197                 display-table: true
198                 format: csv
199           - title: '{02-plot-title}'
200             yaxis: '{02-plot-yaxis}'
201             group: '{02-plot-group}'
202             num-builds: '5400'
203             style: line
204             use-description: false
205             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
206             series:
207               - file: '{02-plot-data-file}'
208                 inclusion-flag: 'off'
209                 display-table: true
210                 format: csv
211         - integration-csit-archive-build
212         - archive-build:
213             maven-version: '{mvn33}'
214
215 - job-template:
216     name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
217     disabled: false
218
219     project-type: freestyle
220     node: dynamic_robot
221
222     logrotate:
223         daysToKeep: '{build-days-to-keep}'
224         numToKeep: '{build-num-to-keep}'
225         artifactDaysToKeep: '{build-artifact-days-to-keep}'
226         artifactNumToKeep: '{build-num-to-keep}'
227
228     parameters:
229         - project-parameter:
230             project: 'integration/test'
231         - integration-branch:
232             branch: '{branch}'
233         - integration-distribution-stream:
234             stream: '{stream}'
235         - integration-bundleurl:
236             bundleurl: 'last'
237         - integration-controller-scope:
238             controller-scope: '{scope}'
239         - integration-controller-features:
240             controller-features: '{install-features}'
241         - integration-test-options:
242             test-options: '{robot-options}'
243         - integration-stream-test-plan:
244             stream-test-plan: '{project}-{functionality}-{stream}.txt'
245         - integration-test-plan:
246             test-plan: '{project}-{functionality}.txt'
247         - integration-patch-refspec:
248             branch: 'master'
249         - integration-jdk-version:
250             jdkversion: '{jre}'
251
252     scm:
253         - integration-gerrit-scm:
254             basedir: 'test'
255             refspec: '$PATCHREFSPEC'
256             branch: 'master'
257
258     wrappers:
259         - opendaylight-infra-wrappers:
260             build-timeout: '{build-timeout}'
261         - integration-openstack-controller-mininet:
262             controller-image: '{controller-image}'
263             controller-vms: 1
264             mininet-image: '{mininet-image}'
265             mininet-vms: '{mininet-vms}'
266
267     triggers:
268         - timed: '{schedule}'
269
270     builders:
271         - integration-copy-ssh-keys
272         - integration-cleanup-workspace
273         - integration-install-robotframework
274         - inject:
275             properties-file: 'env.properties'
276         - integration-get-slave-addresses
277         - inject:
278             properties-file: 'slave_addresses.txt'
279         - integration-get-bundle-vars
280         - inject:
281             properties-file: 'bundle_vars.txt'
282         - integration-deploy-controller-run-test
283         - integration-cleanup-tmp
284
285     publishers:
286         - integration-robot:
287             unstable-if: 0.0
288             pass-if: 100.0
289         - email-notification:
290             email-prefix: '[{project}]'
291         - plot:
292           - title: '{01-plot-title}'
293             yaxis: '{01-plot-yaxis}'
294             group: '{01-plot-group}'
295             num-builds: '180'
296             style: line
297             use-description: false
298             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
299             series:
300               - file: '{01-plot-data-file}'
301                 inclusion-flag: 'off'
302                 display-table: true
303                 format: csv
304           - title: '{02-plot-title}'
305             yaxis: '{02-plot-yaxis}'
306             group: '{02-plot-group}'
307             num-builds: '180'
308             style: line
309             use-description: false
310             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
311             series:
312               - file: '{02-plot-data-file}'
313                 inclusion-flag: 'off'
314                 display-table: true
315                 format: csv
316         - integration-csit-archive-build
317         - archive-build:
318             maven-version: '{mvn33}'
319
320 - job-template:
321     name: '{project}-csit-verify-3node-{functionality}'
322     disabled: false
323
324     project-type: freestyle
325     node: dynamic_robot
326
327     logrotate:
328         daysToKeep: '{build-days-to-keep}'
329         numToKeep: '{build-num-to-keep}'
330         artifactDaysToKeep: '{build-artifact-days-to-keep}'
331         artifactNumToKeep: '{build-num-to-keep}'
332
333     parameters:
334         - project-parameter:
335             project: 'integration/test'
336         - integration-branch:
337             branch: 'stable/beryllium'
338         - integration-distribution-stream:
339             stream: 'beryllium'
340         - integration-bundleurl:
341             bundleurl: 'last'
342         - integration-controller-scope:
343             controller-scope: 'only'
344         - integration-controller-features:
345             controller-features: 'odl-jolokia,{install-features}'
346         - integration-test-options:
347             test-options: '{robot-options}'
348         - integration-stream-test-plan:
349             stream-test-plan: '{project}-{functionality}-beryllium.txt'
350         - integration-test-plan:
351             test-plan: '{project}-{functionality}.txt'
352         - integration-jdk-version:
353             jdkversion: 'openjdk7'
354             # TODO: Switch to openjdk8 from Boron on.
355
356     scm:
357         - integration-gerrit-scm:
358             basedir: 'test'
359             refspec: '$GERRIT_REFSPEC'
360             branch: 'master'
361
362     wrappers:
363         - opendaylight-infra-wrappers:
364             build-timeout: '{build-timeout}'
365         - integration-openstack-controller-mininet:
366             controller-image: '{controller-image}'
367             controller-vms: 3
368             mininet-image: '{mininet-image}'
369             mininet-vms: '{mininet-vms}'
370
371     triggers:
372         - integration-trigger-patch-submitted:
373             name: 'integration/test'
374             branch: 'master'
375             pattern: 'csit/suites/{project}/**'
376
377     builders:
378         - integration-copy-ssh-keys
379         - integration-cleanup-workspace
380         - integration-install-robotframework
381         - inject:
382             properties-file: 'env.properties'
383         - integration-get-slave-addresses
384         - inject:
385             properties-file: 'slave_addresses.txt'
386         - integration-get-bundle-vars
387         - inject:
388             properties-file: 'bundle_vars.txt'
389         - integration-configure-clustering
390         - integration-start-cluster-run-test
391         - integration-cleanup-tmp
392
393     publishers:
394         - integration-robot:
395             unstable-if: 0.0
396             pass-if: 100.0
397         - email-notification:
398             email-prefix: '[{project}]'
399         - integration-csit-archive-build
400         - archive-build:
401             maven-version: '{mvn33}'
402
403 - job-template:
404     name: '{project}-csit-3node-{functionality}-{install}-{stream}'
405     disabled: false
406
407     project-type: freestyle
408     node: dynamic_robot
409
410     logrotate:
411         daysToKeep: '{build-days-to-keep}'
412         numToKeep: '{build-num-to-keep}'
413         artifactDaysToKeep: '{build-artifact-days-to-keep}'
414         artifactNumToKeep: '{build-num-to-keep}'
415
416     parameters:
417         - project-parameter:
418             project: 'integration/test'
419         - integration-branch:
420             branch: '{branch}'
421         - integration-distribution-stream:
422             stream: '{stream}'
423         - integration-bundleurl:
424             bundleurl: 'last'
425         - integration-controller-scope:
426             controller-scope: '{scope}'
427         - integration-controller-features:
428             controller-features: 'odl-jolokia,{install-features}'
429         - integration-test-options:
430             test-options: '{robot-options}'
431         - integration-stream-test-plan:
432             stream-test-plan: '{project}-{functionality}-{stream}.txt'
433         - integration-test-plan:
434             test-plan: '{project}-{functionality}.txt'
435         - integration-patch-refspec:
436             branch: 'master'
437         - integration-jdk-version:
438             jdkversion: '{jre}'
439
440     scm:
441         - integration-gerrit-scm:
442             basedir: 'test'
443             refspec: '$PATCHREFSPEC'
444             branch: 'master'
445
446     wrappers:
447         - opendaylight-infra-wrappers:
448             build-timeout: '{build-timeout}'
449         - integration-openstack-controller-mininet:
450             controller-image: '{controller-image}'
451             controller-vms: 3
452             mininet-image: '{mininet-image}'
453             mininet-vms: '{mininet-vms}'
454
455     triggers:
456         - integration-csit-{install}:
457             jobs: '{trigger-jobs}'
458
459     builders:
460         - integration-copy-ssh-keys
461         - integration-cleanup-workspace
462         - integration-install-robotframework
463         - inject:
464             properties-file: 'env.properties'
465         - integration-get-slave-addresses
466         - inject:
467             properties-file: 'slave_addresses.txt'
468         - integration-get-bundle-vars
469         - inject:
470             properties-file: 'bundle_vars.txt'
471         - integration-configure-clustering
472         - integration-start-cluster-run-test
473         - integration-cleanup-tmp
474
475     publishers:
476         - integration-robot:
477             unstable-if: 0.0
478             pass-if: 100.0
479         - email-notification:
480             email-prefix: '[{project}]'
481         - plot:
482           - title: '{01-plot-title}'
483             yaxis: '{01-plot-yaxis}'
484             group: '{01-plot-group}'
485             num-builds: '5400'
486             style: line
487             use-description: false
488             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
489             series:
490               - file: '{01-plot-data-file}'
491                 inclusion-flag: 'off'
492                 display-table: true
493                 format: csv
494           - title: '{02-plot-title}'
495             yaxis: '{02-plot-yaxis}'
496             group: '{02-plot-group}'
497             num-builds: '5400'
498             style: line
499             use-description: false
500             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
501             series:
502               - file: '{02-plot-data-file}'
503                 inclusion-flag: 'off'
504                 display-table: true
505                 format: csv
506         - integration-csit-archive-build
507         - archive-build:
508             maven-version: '{mvn33}'
509
510 - job-template:
511     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
512     disabled: false
513
514     project-type: freestyle
515     node: dynamic_robot
516
517     logrotate:
518         daysToKeep: '{build-days-to-keep}'
519         numToKeep: '{build-num-to-keep}'
520         artifactDaysToKeep: '{build-artifact-days-to-keep}'
521         artifactNumToKeep: '{build-num-to-keep}'
522
523     parameters:
524         - project-parameter:
525             project: 'integration/test'
526         - integration-branch:
527             branch: '{branch}'
528         - integration-distribution-stream:
529             stream: '{stream}'
530         - integration-bundleurl:
531             bundleurl: 'last'
532         - integration-controller-scope:
533             controller-scope: '{scope}'
534         - integration-controller-features:
535             controller-features: 'odl-jolokia,{install-features}'
536         - integration-test-options:
537             test-options: '{robot-options}'
538         - integration-stream-test-plan:
539             stream-test-plan: '{project}-{functionality}-{stream}.txt'
540         - integration-test-plan:
541             test-plan: '{project}-{functionality}.txt'
542         - integration-patch-refspec:
543             branch: 'master'
544         - integration-jdk-version:
545             jdkversion: '{jre}'
546
547     scm:
548         - integration-gerrit-scm:
549             basedir: 'test'
550             refspec: '$PATCHREFSPEC'
551             branch: 'master'
552
553     wrappers:
554         - opendaylight-infra-wrappers:
555             build-timeout: '{build-timeout}'
556         - integration-openstack-controller-mininet:
557             controller-image: '{controller-image}'
558             controller-vms: 3
559             mininet-image: '{mininet-image}'
560             mininet-vms: '{mininet-vms}'
561
562     triggers:
563         - timed: '{schedule}'
564
565     builders:
566         - integration-copy-ssh-keys
567         - integration-cleanup-workspace
568         - integration-install-robotframework
569         - inject:
570             properties-file: 'env.properties'
571         - integration-get-slave-addresses
572         - inject:
573             properties-file: 'slave_addresses.txt'
574         - integration-get-bundle-vars
575         - inject:
576             properties-file: 'bundle_vars.txt'
577         - integration-configure-clustering
578         - integration-start-cluster-run-test
579         - integration-cleanup-tmp
580
581     publishers:
582         - integration-robot:
583             unstable-if: 0.0
584             pass-if: 100.0
585         - email-notification:
586             email-prefix: '[{project}]'
587         - plot:
588           - title: '{01-plot-title}'
589             yaxis: '{01-plot-yaxis}'
590             group: '{01-plot-group}'
591             num-builds: '5400'
592             style: line
593             use-description: false
594             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
595             series:
596               - file: '{01-plot-data-file}'
597                 inclusion-flag: 'off'
598                 display-table: true
599                 format: csv
600           - title: '{02-plot-title}'
601             yaxis: '{02-plot-yaxis}'
602             group: '{02-plot-group}'
603             num-builds: '5400'
604             style: line
605             use-description: false
606             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
607             series:
608               - file: '{02-plot-data-file}'
609                 inclusion-flag: 'off'
610                 display-table: true
611                 format: csv
612         - integration-csit-archive-build
613         - archive-build:
614             maven-version: '{mvn33}'
615
616 - job-template:
617     name: '{project}-csit-1node-openstack-{openstack}-{functionality}-{stream}'
618     disabled: false
619
620     project-type: freestyle
621     node: dynamic_robot
622
623     logrotate:
624         daysToKeep: '{build-days-to-keep}'
625         numToKeep: '{build-num-to-keep}'
626         artifactDaysToKeep: '{build-artifact-days-to-keep}'
627         artifactNumToKeep: '{build-num-to-keep}'
628
629     parameters:
630         - project-parameter:
631             project: 'integration/test'
632         - integration-branch:
633             branch: '{branch}'
634         - integration-distribution-stream:
635             stream: '{stream}'
636         - integration-bundleurl:
637             bundleurl: 'last'
638         - integration-controller-features:
639             controller-features: '{install-features}'
640         - integration-test-plan:
641             test-plan: '{project}-1node-openstack.txt'
642         - integration-patch-refspec:
643             branch: 'master'
644         - integration-jdk-version:
645             jdkversion: '{jre}'
646         - string:
647             name: OPENSTACK_BRANCH
648             default: '{openstack-branch}'
649             description: 'Openstack version to use with devstack'
650         - string:
651             name: ODL_ML2_DRIVER_REPO
652             default: 'https://github.com/openstack/networking-odl'
653             description: 'URL to fetch networking-odl driver'
654         - string:
655             name: ODL_ML2_VERSION
656             default: '{odl-ml2-version}'
657             description: 'Version of networking-odl to checkout from the repo'
658         - string:
659             name: ODL_ENABLE_L3_FWD
660             default: '{odl-enable-l3}'
661             description: 'Enable L3 FWD in ODL for createing br-ex'
662         - string:
663             name: ENABLE_OS_SERVICES
664             default: '{enable-openstack-services}'
665             description: 'comma seperated list of services to enable'
666         - string:
667             name: DISABLE_OS_SERVICES
668             default: '{disable-openstack-services}'
669             description: 'comma seperated list of services to enable'
670         - string:
671             name: TENANT_NETWORK_TYPE
672             default: '{tenant-network-type}'
673             description: 'Tenant Network Type supported by the implementation'
674     scm:
675         - integration-gerrit-scm:
676             basedir: 'test'
677             refspec: '$PATCHREFSPEC'
678             branch: 'master'
679
680     wrappers:
681         - opendaylight-infra-wrappers:
682             build-timeout: '{build-timeout}'
683         - integration-openstack-controller-devstack:
684             controller-image: '{controller-image}'
685             controller-vms: 1
686             openstack-image: '{openstack-image}'
687             openstack-vms: '{openstack-vms}'
688
689     triggers:
690         - integration-csit-all
691
692     builders:
693         - integration-copy-ssh-keys
694         - integration-cleanup-workspace
695         - integration-install-robotframework
696         - inject:
697             properties-file: 'env.properties'
698         - integration-get-slave-addresses
699         - inject:
700             properties-file: 'slave_addresses.txt'
701         - integration-get-bundle-vars
702         - inject:
703             properties-file: 'bundle_vars.txt'
704         - integration-deploy-controller-run-test
705         - integration-deploy-openstack-run-test
706         - integration-cleanup-tmp
707
708     publishers:
709         - integration-robot:
710             unstable-if: 0.0
711             pass-if: 100.0
712         - email-notification:
713             email-prefix: '[{project}]'
714         - integration-csit-archive-build
715         - archive-build:
716             maven-version: '{mvn33}'
717
718 - job-template:
719     name: '{project}-csit-3node-openstack-{openstack}-{functionality}-{stream}'
720     disabled: false
721
722     project-type: freestyle
723     node: dynamic_robot
724
725     logrotate:
726         daysToKeep: '{build-days-to-keep}'
727         numToKeep: '{build-num-to-keep}'
728         artifactDaysToKeep: '{build-artifact-days-to-keep}'
729         artifactNumToKeep: '{build-num-to-keep}'
730
731     parameters:
732         - project-parameter:
733             project: 'integration/test'
734         - integration-branch:
735             branch: '{branch}'
736         - integration-distribution-stream:
737             stream: '{stream}'
738         - integration-bundleurl:
739             bundleurl: 'last'
740         - integration-controller-features:
741             controller-features: 'odl-jolokia,{install-features}'
742         - integration-test-plan:
743             test-plan: '{project}-3node-openstack.txt'
744         - integration-patch-refspec:
745             branch: 'master'
746         - integration-jdk-version:
747             jdkversion: '{jre}'
748         - string:
749             name: OPENSTACK_BRANCH
750             default: '{openstack-branch}'
751             description: 'Openstack version to use with devstack'
752         - string:
753             name: ODL_ML2_DRIVER_REPO
754             default: 'https://github.com/openstack/networking-odl'
755             description: 'URL to fetch networking-odl driver'
756         - string:
757             name: ODL_ML2_VERSION
758             default: '{odl-ml2-version}'
759             description: 'Version of networking-odl to checkout from the repo'
760         - string:
761             name: ODL_ENABLE_L3_FWD
762             default: '{odl-enable-l3}'
763             description: 'Enable L3 FWD in ODL for createing br-ex'
764         - string:
765             name: ENABLE_HAPROXY_FOR_NEUTRON
766             default: '{enable-haproxy}'
767             description: 'Enable HAProxy for using neutron interface as HA'
768         - string:
769             name: ENABLE_OS_SERVICES
770             default: '{enable-openstack-services}'
771             description: 'comma seperated list of services to enable'
772         - string:
773             name: DISABLE_OS_SERVICES
774             default: '{disable-openstack-services}'
775             description: 'comma seperated list of services to enable'
776         - string:
777             name: TENANT_NETWORK_TYPE
778             default: '{tenant-network-type}'
779             description: 'Tenant Network Type supported by the implementation'
780     scm:
781         - integration-gerrit-scm:
782             basedir: 'test'
783             refspec: '$PATCHREFSPEC'
784             branch: 'master'
785
786     wrappers:
787         - opendaylight-infra-wrappers:
788             build-timeout: '{build-timeout}'
789         - integration-openstack-controller-devstack:
790             controller-image: '{controller-image}'
791             controller-vms: 3
792             openstack-image: '{openstack-image}'
793             openstack-vms: '{openstack-vms}'
794
795     triggers:
796         - integration-csit-all
797
798     builders:
799         - integration-copy-ssh-keys
800         - integration-cleanup-workspace
801         - integration-install-robotframework
802         - inject:
803             properties-file: 'env.properties'
804         - integration-get-slave-addresses
805         - inject:
806             properties-file: 'slave_addresses.txt'
807         - integration-get-bundle-vars
808         - inject:
809             properties-file: 'bundle_vars.txt'
810         - integration-configure-clustering
811         - integration-start-cluster-run-test
812         - integration-deploy-openstack-run-test
813         - integration-cleanup-tmp
814
815     publishers:
816         - integration-robot:
817             unstable-if: 0.0
818             pass-if: 100.0
819         - email-notification:
820             email-prefix: '[{project}]'
821         - integration-csit-archive-build
822         - archive-build:
823             maven-version: '{mvn33}'
824
825 # Template: {project}-patch-test-{stream}
826 # Goal: Build a patch and run project specific system test on a distribution containing the change
827 # Operation: This job template builds a patch, creates a distribution containing the patch, and
828 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
829
830 - job-template:
831     name: '{project}-patch-test-{stream}'
832
833     project-type: maven
834     node: dynamic_verify
835     jdk: '{jdk}'
836
837     logrotate:
838         daysToKeep: '{build-days-to-keep}'
839         numToKeep: '{build-num-to-keep}'
840         artifactDaysToKeep: '{build-artifact-days-to-keep}'
841         artifactNumToKeep: '{build-artifact-num-to-keep}'
842
843     parameters:
844         - gerrit-parameters:
845             project: '{project}'
846             branch: '{branch}'
847             refspec: '$GERRIT_REFSPEC'
848         - project-parameter:
849             project: '{project}'
850         - integration-branch:
851             branch: '{branch}'
852         - integration-distribution-git-url
853
854     scm:
855         - integration-gerrit-scm:
856             basedir: '{project}'
857             refspec: '$GERRIT_REFSPEC'
858             branch: '{branch}'
859         - integration-distribution-scm:
860             branch: '{branch}'
861
862     wrappers:
863         - opendaylight-infra-wrappers:
864             build-timeout: '{build-timeout}'
865
866     triggers:
867         - gerrit:
868             server-name: 'OpenDaylight'
869             trigger-on:
870                 - comment-added-contains-event:
871                     comment-contains-value: 'test-{project}'
872             projects:
873               - project-compare-type: 'ANT'
874                 project-pattern: '{project}'
875                 branches:
876                   - branch-compare-type: 'ANT'
877                     branch-pattern: '**/{branch}'
878             skip-vote:
879                 successful: true
880                 failed: true
881                 unstable: true
882                 notbuilt: true
883
884     prebuilders:
885         - integration-rebase-gerrit-patch
886         - integration-get-bundle-url
887         - inject:
888             properties-file: 'bundle.txt'
889         - wipe-org-opendaylight-repo
890         - provide-maven-settings:
891             global-settings-file: 'odl-global-settings'
892             settings-file: 'integration-settings'
893         - maven-target:
894             maven-version: '{mvn33}'
895             pom: '{project}/pom.xml'
896             goals: 'clean install -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}'
897             java-opts:
898                 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
899             settings: 'integration-settings'
900             settings-type: cfp
901             global-settings: 'odl-global-settings'
902             global-settings-type: cfp
903
904     maven:
905         maven-name: '{mvn33}'
906         root-pom: 'distribution/pom.xml'
907         goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
908         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
909         settings: 'integration-settings'
910         settings-type: cfp
911         global-settings: 'odl-global-settings'
912         global-settings-type: cfp
913         ignore-upstream-changes: true
914         post-step-run-condition: 'SUCCESS'
915
916     postbuilders:
917         - trigger-builds:
918             - project: '{csit-list}'
919               block: true
920               predefined-parameters:
921                   BUNDLEURL=$BUNDLEURL
922
923     publishers:
924         - email-notification:
925             email-prefix: '[{project}]'