4 - 'apex-verify-{stream}'
5 - 'apex-verify-unit-tests-{stream}'
6 - 'apex-runner-{platform}-{scenario}-{stream}'
7 - 'apex-runner-cperf-{stream}'
8 - 'apex-build-{stream}'
9 - 'apex-deploy-virtual-{scenario}-{stream}'
10 - 'apex-deploy-baremetal-{scenario}-{stream}'
11 - 'apex-daily-{stream}'
13 # stream: branch with - in place of / (eg. stable-arno)
14 # branch: branch (eg. stable/arno)
19 block-stream: 'colorado'
21 verify-slave: 'apex-verify-master'
22 daily-slave: 'apex-daily-master'
24 branch: 'stable/colorado'
25 gs-pathname: '/colorado'
26 block-stream: 'master'
28 verify-slave: 'apex-verify-colorado'
29 daily-slave: 'apex-daily-colorado'
36 block-stream: 'colorado'
38 verify-slave: 'apex-verify-master'
39 daily-slave: 'apex-daily-master'
43 branch: 'stable/colorado'
44 gs-pathname: '/colorado'
45 block-stream: 'master'
47 verify-slave: 'apex-verify-colorado'
48 daily-slave: 'apex-daily-colorado'
54 - 'os-nosdn-nofeature-noha'
55 - 'os-nosdn-nofeature-ha'
56 - 'os-nosdn-nofeature-ha-ipv6'
58 - 'os-nosdn-fdio-noha'
59 - 'os-odl_l2-nofeature-ha'
60 - 'os-odl_l2-bgpvpn-ha'
61 - 'os-odl_l2-fdio-noha'
63 - 'os-odl_l2-sfc-noha'
64 - 'os-odl_l3-nofeature-ha'
65 - 'os-onos-nofeature-ha'
67 - 'os-ocl-nofeature-ha'
75 name: 'apex-verify-unit-tests-{stream}'
77 node: '{verify-slave}'
83 gs-pathname: '{gs-pathname}'
90 default: https://gerrit.opnfv.org/gerrit/$PROJECT
91 description: "Used for overriding the GIT URL coming from parameters macro."
95 credentials-id: '{ssh-credentials}'
96 refspec: '$GERRIT_REFSPEC'
97 choosing-strategy: 'gerrit'
101 server-name: 'gerrit.opnfv.org'
103 - patchset-created-event:
104 exclude-drafts: 'false'
105 exclude-trivial-rebase: 'false'
106 exclude-no-code-change: 'true'
107 - draft-published-event
108 - comment-added-contains-event:
109 comment-contains-value: 'recheck'
110 - comment-added-contains-event:
111 comment-contains-value: 'reverify'
113 - project-compare-type: 'ANT'
114 project-pattern: 'apex'
116 - branch-compare-type: 'ANT'
117 branch-pattern: '**/{branch}'
132 name: 'apex-verify-{stream}'
134 node: '{verify-slave}'
140 gs-pathname: '{gs-pathname}'
147 default: https://gerrit.opnfv.org/gerrit/$PROJECT
148 description: "Used for overriding the GIT URL coming from parameters macro."
151 - gerrit-trigger-scm:
152 credentials-id: '{ssh-credentials}'
153 refspec: '$GERRIT_REFSPEC'
154 choosing-strategy: 'gerrit'
158 server-name: 'gerrit.opnfv.org'
160 - patchset-created-event:
161 exclude-drafts: 'false'
162 exclude-trivial-rebase: 'false'
163 exclude-no-code-change: 'true'
164 - draft-published-event
165 - comment-added-contains-event:
166 comment-contains-value: 'recheck'
167 - comment-added-contains-event:
168 comment-contains-value: 'reverify'
170 - project-compare-type: 'ANT'
171 project-pattern: 'apex'
173 - branch-compare-type: 'ANT'
174 branch-pattern: '**/{branch}'
187 use-build-blocker: true
204 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream}'
205 predefined-parameters: |
206 BUILD_DIRECTORY=apex-verify-{stream}
212 - project: 'functest-apex-{verify-slave}-suite-{stream}'
213 predefined-parameters: |
214 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
215 FUNCTEST_SUITE_NAME=healthcheck
219 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream}'
220 predefined-parameters: |
221 BUILD_DIRECTORY=apex-verify-{stream}
227 - project: 'functest-apex-{verify-slave}-suite-{stream}'
228 predefined-parameters: |
229 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
230 FUNCTEST_SUITE_NAME=healthcheck
233 - 'apex-workspace-cleanup'
236 name: 'apex-runner-{platform}-{scenario}-{stream}'
238 # runner jobs for deploying manually
246 gs-pathname: '{gs-pathname}'
253 default: https://gerrit.opnfv.org/gerrit/$PROJECT
254 description: "Used for overriding the GIT URL coming from parameters macro."
257 - gerrit-trigger-scm:
258 credentials-id: '{ssh-credentials}'
260 choosing-strategy: 'default'
264 use-build-blocker: true
271 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
272 predefined-parameters:
277 - project: 'yardstick-apex-{slave}-daily-{stream}'
278 predefined-parameters:
279 DEPLOY_SCENARIO={scenario}
282 build-step-failure-threshold: 'never'
283 failure-threshold: 'never'
284 unstable-threshold: 'FAILURE'
286 - project: 'functest-apex-{slave}-daily-{stream}'
287 predefined-parameters:
288 DEPLOY_SCENARIO={scenario}
291 build-step-failure-threshold: 'never'
292 failure-threshold: 'never'
293 unstable-threshold: 'FAILURE'
296 name: 'apex-runner-cperf-{stream}'
306 gs-pathname: '{gs-pathname}'
313 default: https://gerrit.opnfv.org/gerrit/$PROJECT
314 description: "Used for overriding the GIT URL coming from parameters macro."
317 - gerrit-trigger-scm:
318 credentials-id: '{ssh-credentials}'
320 choosing-strategy: 'default'
324 use-build-blocker: false
335 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
336 predefined-parameters:
342 - project: 'cperf-apex-intel-pod2-daily-{stream}'
343 predefined-parameters:
344 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
349 name: 'apex-build-{stream}'
351 # Job template for builds
353 # Required Variables:
354 # stream: branch with - in place of / (eg. stable)
355 # branch: branch (eg. stable)
356 node: '{daily-slave}'
366 gs-pathname: '{gs-pathname}'
371 default: https://gerrit.opnfv.org/gerrit/$PROJECT
372 description: "Used for overriding the GIT URL coming from parameters macro."
376 credentials-id: '{ssh-credentials}'
382 use-build-blocker: true
394 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
395 predefined-parameters: |
396 BUILD_DIRECTORY=apex-build-{stream}/build
401 - 'apex-upload-artifact'
404 name: 'apex-deploy-virtual-{scenario}-{stream}'
406 # Job template for virtual deployment
408 # Required Variables:
409 # stream: branch with - in place of / (eg. stable)
410 # branch: branch (eg. stable)
419 credentials-id: '{ssh-credentials}'
427 gs-pathname: '{gs-pathname}'
429 name: DEPLOY_SCENARIO
430 default: '{scenario}'
431 description: "Scenario to deploy with."
435 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
439 use-build-blocker: true
450 - 'apex-workspace-cleanup'
453 name: 'apex-deploy-baremetal-{scenario}-{stream}'
455 # Job template for baremetal deployment
457 # Required Variables:
458 # stream: branch with - in place of / (eg. stable)
459 # branch: branch (eg. stable)
466 credentials-id: '{ssh-credentials}'
474 gs-pathname: '{gs-pathname}'
476 name: DEPLOY_SCENARIO
477 default: '{scenario}'
478 description: "Scenario to deploy with."
482 use-build-blocker: true
492 - 'apex-workspace-cleanup'
496 name: 'apex-daily-{stream}'
498 # Job template for daily build
500 # Required Variables:
501 # stream: branch with - in place of / (eg. stable)
502 # branch: branch (eg. stable)
503 node: '{daily-slave}'
509 credentials-id: '{ssh-credentials}'
517 gs-pathname: '{gs-pathname}'
521 use-build-blocker: true
534 - project: 'apex-build-{stream}'
536 current-parameters: true
540 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
541 predefined-parameters: |
542 BUILD_DIRECTORY=apex-build-{stream}/build
547 build-step-failure-threshold: 'never'
550 - project: 'functest-apex-{daily-slave}-daily-{stream}'
551 predefined-parameters:
552 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
556 build-step-failure-threshold: 'never'
557 failure-threshold: 'never'
558 unstable-threshold: 'FAILURE'
560 - project: 'yardstick-apex-{slave}-daily-{stream}'
561 predefined-parameters:
562 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
566 build-step-failure-threshold: 'never'
567 failure-threshold: 'never'
568 unstable-threshold: 'FAILURE'
570 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
571 predefined-parameters: |
572 BUILD_DIRECTORY=apex-build-{stream}/build
577 build-step-failure-threshold: 'never'
580 - project: 'functest-apex-{daily-slave}-daily-{stream}'
581 predefined-parameters:
582 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
586 build-step-failure-threshold: 'never'
587 failure-threshold: 'never'
588 unstable-threshold: 'FAILURE'
590 - project: 'yardstick-apex-{slave}-daily-{stream}'
591 predefined-parameters:
592 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
596 build-step-failure-threshold: 'never'
597 failure-threshold: 'never'
598 unstable-threshold: 'FAILURE'
600 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
601 predefined-parameters: |
602 BUILD_DIRECTORY=apex-build-{stream}/build
607 build-step-failure-threshold: 'never'
610 - project: 'functest-apex-{daily-slave}-daily-{stream}'
611 predefined-parameters:
612 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
616 build-step-failure-threshold: 'never'
617 failure-threshold: 'never'
618 unstable-threshold: 'FAILURE'
620 - project: 'yardstick-apex-{slave}-daily-{stream}'
621 predefined-parameters:
622 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
626 build-step-failure-threshold: 'never'
627 failure-threshold: 'never'
628 unstable-threshold: 'FAILURE'
630 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream}'
631 predefined-parameters: |
632 BUILD_DIRECTORY=apex-build-{stream}/build
637 build-step-failure-threshold: 'never'
640 - project: 'functest-apex-{daily-slave}-daily-{stream}'
641 predefined-parameters:
642 DEPLOY_SCENARIO=os-onos-nofeature-ha
646 build-step-failure-threshold: 'never'
647 failure-threshold: 'never'
648 unstable-threshold: 'FAILURE'
650 - project: 'yardstick-apex-{slave}-daily-{stream}'
651 predefined-parameters:
652 DEPLOY_SCENARIO=os-onos-nofeature-ha
656 build-step-failure-threshold: 'never'
657 failure-threshold: 'never'
658 unstable-threshold: 'FAILURE'
660 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream}'
661 predefined-parameters: |
662 BUILD_DIRECTORY=apex-build-{stream}/build
667 build-step-failure-threshold: 'never'
670 - project: 'functest-apex-{daily-slave}-daily-{stream}'
671 predefined-parameters:
672 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
676 build-step-failure-threshold: 'never'
677 failure-threshold: 'never'
678 unstable-threshold: 'FAILURE'
680 - project: 'yardstick-apex-{slave}-daily-{stream}'
681 predefined-parameters:
682 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
686 build-step-failure-threshold: 'never'
687 failure-threshold: 'never'
688 unstable-threshold: 'FAILURE'
690 - project: 'apex-deploy-baremetal-os-onos-sfc-ha-{stream}'
691 predefined-parameters: |
692 BUILD_DIRECTORY=apex-build-{stream}/build
697 build-step-failure-threshold: 'never'
700 - project: 'functest-apex-{daily-slave}-daily-{stream}'
701 predefined-parameters:
702 DEPLOY_SCENARIO=os-onos-sfc-ha
706 build-step-failure-threshold: 'never'
707 failure-threshold: 'never'
708 unstable-threshold: 'FAILURE'
710 - project: 'yardstick-apex-{slave}-daily-{stream}'
711 predefined-parameters:
712 DEPLOY_SCENARIO=os-onos-sfc-ha
716 build-step-failure-threshold: 'never'
717 failure-threshold: 'never'
718 unstable-threshold: 'FAILURE'
720 - project: 'apex-deploy-baremetal-os-odl_l2-sfc-noha-{stream}'
721 predefined-parameters: |
722 BUILD_DIRECTORY=apex-build-{stream}/build
727 build-step-failure-threshold: 'never'
730 - project: 'functest-apex-{daily-slave}-daily-{stream}'
731 predefined-parameters:
732 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
736 build-step-failure-threshold: 'never'
737 failure-threshold: 'never'
738 unstable-threshold: 'FAILURE'
740 - project: 'yardstick-apex-{slave}-daily-{stream}'
741 predefined-parameters:
742 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
746 build-step-failure-threshold: 'never'
747 failure-threshold: 'never'
748 unstable-threshold: 'FAILURE'
750 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-{stream}'
751 predefined-parameters: |
752 BUILD_DIRECTORY=apex-build-{stream}/build
757 build-step-failure-threshold: 'never'
760 - project: 'functest-apex-{daily-slave}-daily-{stream}'
761 predefined-parameters:
762 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
766 build-step-failure-threshold: 'never'
767 failure-threshold: 'never'
768 unstable-threshold: 'FAILURE'
770 - project: 'yardstick-apex-{slave}-daily-{stream}'
771 predefined-parameters:
772 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
776 build-step-failure-threshold: 'never'
777 failure-threshold: 'never'
778 unstable-threshold: 'FAILURE'
780 - project: 'apex-deploy-baremetal-os-nosdn-fdio-noha-{stream}'
781 predefined-parameters: |
782 BUILD_DIRECTORY=apex-build-{stream}/build
787 build-step-failure-threshold: 'never'
790 - project: 'functest-apex-{daily-slave}-daily-{stream}'
791 predefined-parameters:
792 DEPLOY_SCENARIO=os-nosdn-fdio-noha
796 build-step-failure-threshold: 'never'
797 failure-threshold: 'never'
798 unstable-threshold: 'FAILURE'
800 - project: 'yardstick-apex-{slave}-daily-{stream}'
801 predefined-parameters:
802 DEPLOY_SCENARIO=os-nosdn-fdio-noha
806 build-step-failure-threshold: 'never'
807 failure-threshold: 'never'
808 unstable-threshold: 'FAILURE'
810 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-ipv6-{stream}'
811 predefined-parameters: |
812 BUILD_DIRECTORY=apex-build-{stream}/build
817 build-step-failure-threshold: 'never'
820 - project: 'apex-deploy-baremetal-os-nosdn-ovs-noha-{stream}'
821 predefined-parameters: |
822 BUILD_DIRECTORY=apex-build-{stream}/build
827 build-step-failure-threshold: 'never'
830 - project: 'functest-apex-{daily-slave}-daily-{stream}'
831 predefined-parameters:
832 DEPLOY_SCENARIO=os-nosdn-ovs-noha
836 build-step-failure-threshold: 'never'
837 failure-threshold: 'never'
838 unstable-threshold: 'FAILURE'
840 - project: 'yardstick-apex-{slave}-daily-{stream}'
841 predefined-parameters:
842 DEPLOY_SCENARIO=os-nosdn-ovs-noha
846 build-step-failure-threshold: 'never'
847 failure-threshold: 'never'
848 unstable-threshold: 'FAILURE'
851 name: 'apex-gs-clean-{stream}'
853 # Job template for clean
855 # Required Variables:
856 # stream: branch with - in place of / (eg. stable)
865 gs-pathname: '{gs-pathname}'
871 - 'apex-gs-clean-{stream}'
874 ########################
876 ########################
883 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
885 name: ARTIFACT_VERSION
887 description: "Artifact version type"
889 name: BUILD_DIRECTORY
890 default: $WORKSPACE/build
891 description: "Directory where the build artifact will be located upon the completion of the build."
893 name: CACHE_DIRECTORY
894 default: $HOME/opnfv/cache{gs-pathname}
895 description: "Directory where the cache to be used during the build is located."
898 default: https://gerrit.opnfv.org/gerrit/$PROJECT
899 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
902 default: '{gs-pathname}'
903 description: "Version directory where opnfv artifacts are stored in gs repository"
906 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
907 description: "URL to Google Storage."
909 ########################
911 ########################
913 name: 'apex-unit-test'
916 !include-raw: ./apex-unit-test.sh
922 !include-raw: ./apex-build.sh
925 name: 'apex-workspace-cleanup'
928 !include-raw: ./apex-workspace-cleanup.sh
931 name: 'apex-upload-artifact'
934 !include-raw: ./apex-upload-artifact.sh
937 name: 'apex-gs-cleanup'
940 !include-raw: ./apex-gs-cleanup.sh
946 !include-raw: ./apex-deploy.sh
949 #######################
951 ########################
958 name: 'apex-colorado'
966 name: 'apex-gs-clean-{stream}'