1 # Job templates in this file (please update with every new template):
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}
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)
28 name: '{project}-csit-verify-1node-{functionality}'
31 project-type: freestyle
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}'
42 project: 'integration/test'
44 branch: 'stable/beryllium'
45 - integration-distribution-stream:
47 - integration-bundleurl:
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.
64 - integration-gerrit-scm:
66 refspec: '$GERRIT_REFSPEC'
70 - opendaylight-infra-wrappers:
71 build-timeout: '{build-timeout}'
72 - integration-openstack-controller-mininet:
73 controller-image: '{controller-image}'
75 mininet-image: '{mininet-image}'
76 mininet-vms: '{mininet-vms}'
79 - integration-trigger-patch-submitted:
80 name: 'integration/test'
82 pattern: 'csit/suites/{project}/**'
85 - integration-copy-ssh-keys
86 - integration-cleanup-workspace
87 - integration-install-robotframework
89 properties-file: 'env.properties'
90 - integration-get-slave-addresses
92 properties-file: 'slave_addresses.txt'
93 - integration-get-bundle-vars
95 properties-file: 'bundle_vars.txt'
96 - integration-deploy-controller-run-test
97 - integration-cleanup-tmp
103 - email-notification:
104 email-prefix: '[{project}]'
105 - integration-csit-archive-build
107 maven-version: '{mvn33}'
110 name: '{project}-csit-1node-{functionality}-{install}-{stream}'
113 project-type: freestyle
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}'
124 project: 'integration/test'
125 - integration-branch:
127 - integration-distribution-stream:
129 - integration-bundleurl:
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:
143 - integration-jdk-version:
147 - integration-gerrit-scm:
149 refspec: '$PATCHREFSPEC'
153 - opendaylight-infra-wrappers:
154 build-timeout: '{build-timeout}'
155 - integration-openstack-controller-mininet:
156 controller-image: '{controller-image}'
158 mininet-image: '{mininet-image}'
159 mininet-vms: '{mininet-vms}'
162 - integration-csit-{install}:
163 jobs: '{trigger-jobs}'
166 - integration-copy-ssh-keys
167 - integration-cleanup-workspace
168 - integration-install-robotframework
170 properties-file: 'env.properties'
171 - integration-get-slave-addresses
173 properties-file: 'slave_addresses.txt'
174 - integration-get-bundle-vars
176 properties-file: 'bundle_vars.txt'
177 - integration-deploy-controller-run-test
178 - integration-cleanup-tmp
184 - email-notification:
185 email-prefix: '[{project}]'
187 - title: '{01-plot-title}'
188 yaxis: '{01-plot-yaxis}'
189 group: '{01-plot-group}'
192 use-description: false
193 csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
195 - file: '{01-plot-data-file}'
196 inclusion-flag: 'off'
199 - title: '{02-plot-title}'
200 yaxis: '{02-plot-yaxis}'
201 group: '{02-plot-group}'
204 use-description: false
205 csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
207 - file: '{02-plot-data-file}'
208 inclusion-flag: 'off'
211 - integration-csit-archive-build
213 maven-version: '{mvn33}'
216 name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
219 project-type: freestyle
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}'
230 project: 'integration/test'
231 - integration-branch:
233 - integration-distribution-stream:
235 - integration-bundleurl:
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:
249 - integration-jdk-version:
253 - integration-gerrit-scm:
255 refspec: '$PATCHREFSPEC'
259 - opendaylight-infra-wrappers:
260 build-timeout: '{build-timeout}'
261 - integration-openstack-controller-mininet:
262 controller-image: '{controller-image}'
264 mininet-image: '{mininet-image}'
265 mininet-vms: '{mininet-vms}'
268 - timed: '{schedule}'
271 - integration-copy-ssh-keys
272 - integration-cleanup-workspace
273 - integration-install-robotframework
275 properties-file: 'env.properties'
276 - integration-get-slave-addresses
278 properties-file: 'slave_addresses.txt'
279 - integration-get-bundle-vars
281 properties-file: 'bundle_vars.txt'
282 - integration-deploy-controller-run-test
283 - integration-cleanup-tmp
289 - email-notification:
290 email-prefix: '[{project}]'
292 - title: '{01-plot-title}'
293 yaxis: '{01-plot-yaxis}'
294 group: '{01-plot-group}'
297 use-description: false
298 csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
300 - file: '{01-plot-data-file}'
301 inclusion-flag: 'off'
304 - title: '{02-plot-title}'
305 yaxis: '{02-plot-yaxis}'
306 group: '{02-plot-group}'
309 use-description: false
310 csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
312 - file: '{02-plot-data-file}'
313 inclusion-flag: 'off'
316 - integration-csit-archive-build
318 maven-version: '{mvn33}'
321 name: '{project}-csit-verify-3node-{functionality}'
324 project-type: freestyle
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}'
335 project: 'integration/test'
336 - integration-branch:
337 branch: 'stable/beryllium'
338 - integration-distribution-stream:
340 - integration-bundleurl:
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.
357 - integration-gerrit-scm:
359 refspec: '$GERRIT_REFSPEC'
363 - opendaylight-infra-wrappers:
364 build-timeout: '{build-timeout}'
365 - integration-openstack-controller-mininet:
366 controller-image: '{controller-image}'
368 mininet-image: '{mininet-image}'
369 mininet-vms: '{mininet-vms}'
372 - integration-trigger-patch-submitted:
373 name: 'integration/test'
375 pattern: 'csit/suites/{project}/**'
378 - integration-copy-ssh-keys
379 - integration-cleanup-workspace
380 - integration-install-robotframework
382 properties-file: 'env.properties'
383 - integration-get-slave-addresses
385 properties-file: 'slave_addresses.txt'
386 - integration-get-bundle-vars
388 properties-file: 'bundle_vars.txt'
389 - integration-configure-clustering
390 - integration-start-cluster-run-test
391 - integration-cleanup-tmp
397 - email-notification:
398 email-prefix: '[{project}]'
399 - integration-csit-archive-build
401 maven-version: '{mvn33}'
404 name: '{project}-csit-3node-{functionality}-{install}-{stream}'
407 project-type: freestyle
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}'
418 project: 'integration/test'
419 - integration-branch:
421 - integration-distribution-stream:
423 - integration-bundleurl:
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:
437 - integration-jdk-version:
441 - integration-gerrit-scm:
443 refspec: '$PATCHREFSPEC'
447 - opendaylight-infra-wrappers:
448 build-timeout: '{build-timeout}'
449 - integration-openstack-controller-mininet:
450 controller-image: '{controller-image}'
452 mininet-image: '{mininet-image}'
453 mininet-vms: '{mininet-vms}'
456 - integration-csit-{install}:
457 jobs: '{trigger-jobs}'
460 - integration-copy-ssh-keys
461 - integration-cleanup-workspace
462 - integration-install-robotframework
464 properties-file: 'env.properties'
465 - integration-get-slave-addresses
467 properties-file: 'slave_addresses.txt'
468 - integration-get-bundle-vars
470 properties-file: 'bundle_vars.txt'
471 - integration-configure-clustering
472 - integration-start-cluster-run-test
473 - integration-cleanup-tmp
479 - email-notification:
480 email-prefix: '[{project}]'
482 - title: '{01-plot-title}'
483 yaxis: '{01-plot-yaxis}'
484 group: '{01-plot-group}'
487 use-description: false
488 csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
490 - file: '{01-plot-data-file}'
491 inclusion-flag: 'off'
494 - title: '{02-plot-title}'
495 yaxis: '{02-plot-yaxis}'
496 group: '{02-plot-group}'
499 use-description: false
500 csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
502 - file: '{02-plot-data-file}'
503 inclusion-flag: 'off'
506 - integration-csit-archive-build
508 maven-version: '{mvn33}'
511 name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
514 project-type: freestyle
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}'
525 project: 'integration/test'
526 - integration-branch:
528 - integration-distribution-stream:
530 - integration-bundleurl:
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:
544 - integration-jdk-version:
548 - integration-gerrit-scm:
550 refspec: '$PATCHREFSPEC'
554 - opendaylight-infra-wrappers:
555 build-timeout: '{build-timeout}'
556 - integration-openstack-controller-mininet:
557 controller-image: '{controller-image}'
559 mininet-image: '{mininet-image}'
560 mininet-vms: '{mininet-vms}'
563 - timed: '{schedule}'
566 - integration-copy-ssh-keys
567 - integration-cleanup-workspace
568 - integration-install-robotframework
570 properties-file: 'env.properties'
571 - integration-get-slave-addresses
573 properties-file: 'slave_addresses.txt'
574 - integration-get-bundle-vars
576 properties-file: 'bundle_vars.txt'
577 - integration-configure-clustering
578 - integration-start-cluster-run-test
579 - integration-cleanup-tmp
585 - email-notification:
586 email-prefix: '[{project}]'
588 - title: '{01-plot-title}'
589 yaxis: '{01-plot-yaxis}'
590 group: '{01-plot-group}'
593 use-description: false
594 csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
596 - file: '{01-plot-data-file}'
597 inclusion-flag: 'off'
600 - title: '{02-plot-title}'
601 yaxis: '{02-plot-yaxis}'
602 group: '{02-plot-group}'
605 use-description: false
606 csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
608 - file: '{02-plot-data-file}'
609 inclusion-flag: 'off'
612 - integration-csit-archive-build
614 maven-version: '{mvn33}'
617 name: '{project}-csit-1node-openstack-{openstack}-{functionality}-{stream}'
620 project-type: freestyle
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}'
631 project: 'integration/test'
632 - integration-branch:
634 - integration-distribution-stream:
636 - integration-bundleurl:
638 - integration-controller-features:
639 controller-features: '{install-features}'
640 - integration-test-plan:
641 test-plan: '{project}-1node-openstack.txt'
642 - integration-patch-refspec:
644 - integration-jdk-version:
647 name: OPENSTACK_BRANCH
648 default: '{openstack-branch}'
649 description: 'Openstack version to use with devstack'
651 name: ODL_ML2_DRIVER_REPO
652 default: 'https://github.com/openstack/networking-odl'
653 description: 'URL to fetch networking-odl driver'
655 name: ODL_ML2_VERSION
656 default: '{odl-ml2-version}'
657 description: 'Version of networking-odl to checkout from the repo'
659 name: ODL_ENABLE_L3_FWD
660 default: '{odl-enable-l3}'
661 description: 'Enable L3 FWD in ODL for createing br-ex'
663 name: ENABLE_OS_SERVICES
664 default: '{enable-openstack-services}'
665 description: 'comma seperated list of services to enable'
667 name: DISABLE_OS_SERVICES
668 default: '{disable-openstack-services}'
669 description: 'comma seperated list of services to enable'
671 name: TENANT_NETWORK_TYPE
672 default: '{tenant-network-type}'
673 description: 'Tenant Network Type supported by the implementation'
675 - integration-gerrit-scm:
677 refspec: '$PATCHREFSPEC'
681 - opendaylight-infra-wrappers:
682 build-timeout: '{build-timeout}'
683 - integration-openstack-controller-devstack:
684 controller-image: '{controller-image}'
686 openstack-image: '{openstack-image}'
687 openstack-vms: '{openstack-vms}'
690 - integration-csit-all
693 - integration-copy-ssh-keys
694 - integration-cleanup-workspace
695 - integration-install-robotframework
697 properties-file: 'env.properties'
698 - integration-get-slave-addresses
700 properties-file: 'slave_addresses.txt'
701 - integration-get-bundle-vars
703 properties-file: 'bundle_vars.txt'
704 - integration-deploy-controller-run-test
705 - integration-deploy-openstack-run-test
706 - integration-cleanup-tmp
712 - email-notification:
713 email-prefix: '[{project}]'
714 - integration-csit-archive-build
716 maven-version: '{mvn33}'
719 name: '{project}-csit-3node-openstack-{openstack}-{functionality}-{stream}'
722 project-type: freestyle
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}'
733 project: 'integration/test'
734 - integration-branch:
736 - integration-distribution-stream:
738 - integration-bundleurl:
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:
746 - integration-jdk-version:
749 name: OPENSTACK_BRANCH
750 default: '{openstack-branch}'
751 description: 'Openstack version to use with devstack'
753 name: ODL_ML2_DRIVER_REPO
754 default: 'https://github.com/openstack/networking-odl'
755 description: 'URL to fetch networking-odl driver'
757 name: ODL_ML2_VERSION
758 default: '{odl-ml2-version}'
759 description: 'Version of networking-odl to checkout from the repo'
761 name: ODL_ENABLE_L3_FWD
762 default: '{odl-enable-l3}'
763 description: 'Enable L3 FWD in ODL for createing br-ex'
765 name: ENABLE_HAPROXY_FOR_NEUTRON
766 default: '{enable-haproxy}'
767 description: 'Enable HAProxy for using neutron interface as HA'
769 name: ENABLE_OS_SERVICES
770 default: '{enable-openstack-services}'
771 description: 'comma seperated list of services to enable'
773 name: DISABLE_OS_SERVICES
774 default: '{disable-openstack-services}'
775 description: 'comma seperated list of services to enable'
777 name: TENANT_NETWORK_TYPE
778 default: '{tenant-network-type}'
779 description: 'Tenant Network Type supported by the implementation'
781 - integration-gerrit-scm:
783 refspec: '$PATCHREFSPEC'
787 - opendaylight-infra-wrappers:
788 build-timeout: '{build-timeout}'
789 - integration-openstack-controller-devstack:
790 controller-image: '{controller-image}'
792 openstack-image: '{openstack-image}'
793 openstack-vms: '{openstack-vms}'
796 - integration-csit-all
799 - integration-copy-ssh-keys
800 - integration-cleanup-workspace
801 - integration-install-robotframework
803 properties-file: 'env.properties'
804 - integration-get-slave-addresses
806 properties-file: 'slave_addresses.txt'
807 - integration-get-bundle-vars
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
819 - email-notification:
820 email-prefix: '[{project}]'
821 - integration-csit-archive-build
823 maven-version: '{mvn33}'
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
831 name: '{project}-patch-test-{stream}'
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}'
847 refspec: '$GERRIT_REFSPEC'
850 - integration-branch:
852 - integration-distribution-git-url
855 - integration-gerrit-scm:
857 refspec: '$GERRIT_REFSPEC'
859 - integration-distribution-scm:
863 - opendaylight-infra-wrappers:
864 build-timeout: '{build-timeout}'
868 server-name: 'OpenDaylight'
870 - comment-added-contains-event:
871 comment-contains-value: 'test-{project}'
873 - project-compare-type: 'ANT'
874 project-pattern: '{project}'
876 - branch-compare-type: 'ANT'
877 branch-pattern: '**/{branch}'
885 - integration-rebase-gerrit-patch
886 - integration-get-bundle-url
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'
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}'
898 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
899 settings: 'integration-settings'
901 global-settings: 'odl-global-settings'
902 global-settings-type: cfp
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'
911 global-settings: 'odl-global-settings'
912 global-settings-type: cfp
913 ignore-upstream-changes: true
914 post-step-run-condition: 'SUCCESS'
918 - project: '{csit-list}'
920 predefined-parameters:
924 - email-notification:
925 email-prefix: '[{project}]'