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'
102 - patchset-created-event:
103 exclude-drafts: 'false'
104 exclude-trivial-rebase: 'false'
105 exclude-no-code-change: 'true'
106 - draft-published-event
107 - comment-added-contains-event:
108 comment-contains-value: 'recheck'
109 - comment-added-contains-event:
110 comment-contains-value: 'reverify'
112 - project-compare-type: 'ANT'
113 project-pattern: 'apex'
115 - branch-compare-type: 'ANT'
116 branch-pattern: '**/{branch}'
131 name: 'apex-verify-{stream}'
133 node: '{verify-slave}'
139 gs-pathname: '{gs-pathname}'
146 default: https://gerrit.opnfv.org/gerrit/$PROJECT
147 description: "Used for overriding the GIT URL coming from parameters macro."
150 - gerrit-trigger-scm:
151 credentials-id: '{ssh-credentials}'
152 refspec: '$GERRIT_REFSPEC'
153 choosing-strategy: 'gerrit'
158 - patchset-created-event:
159 exclude-drafts: 'false'
160 exclude-trivial-rebase: 'false'
161 exclude-no-code-change: 'true'
162 - draft-published-event
163 - comment-added-contains-event:
164 comment-contains-value: 'recheck'
165 - comment-added-contains-event:
166 comment-contains-value: 'reverify'
168 - project-compare-type: 'ANT'
169 project-pattern: 'apex'
171 - branch-compare-type: 'ANT'
172 branch-pattern: '**/{branch}'
185 use-build-blocker: true
202 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream}'
203 predefined-parameters: |
204 BUILD_DIRECTORY=apex-verify-{stream}
210 - project: 'functest-apex-{verify-slave}-suite-{stream}'
211 predefined-parameters: |
212 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
213 FUNCTEST_SUITE_NAME=healthcheck
217 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream}'
218 predefined-parameters: |
219 BUILD_DIRECTORY=apex-verify-{stream}
225 - project: 'functest-apex-{verify-slave}-suite-{stream}'
226 predefined-parameters: |
227 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
228 FUNCTEST_SUITE_NAME=healthcheck
231 - 'apex-workspace-cleanup'
234 name: 'apex-runner-{platform}-{scenario}-{stream}'
236 # runner jobs for deploying manually
244 gs-pathname: '{gs-pathname}'
251 default: https://gerrit.opnfv.org/gerrit/$PROJECT
252 description: "Used for overriding the GIT URL coming from parameters macro."
255 - gerrit-trigger-scm:
256 credentials-id: '{ssh-credentials}'
258 choosing-strategy: 'default'
262 use-build-blocker: true
269 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
270 predefined-parameters:
275 - project: 'yardstick-apex-{slave}-daily-{stream}'
276 predefined-parameters:
277 DEPLOY_SCENARIO={scenario}
280 build-step-failure-threshold: 'never'
281 failure-threshold: 'never'
282 unstable-threshold: 'FAILURE'
284 - project: 'functest-apex-{slave}-daily-{stream}'
285 predefined-parameters:
286 DEPLOY_SCENARIO={scenario}
289 build-step-failure-threshold: 'never'
290 failure-threshold: 'never'
291 unstable-threshold: 'FAILURE'
294 name: 'apex-runner-cperf-{stream}'
304 gs-pathname: '{gs-pathname}'
311 default: https://gerrit.opnfv.org/gerrit/$PROJECT
312 description: "Used for overriding the GIT URL coming from parameters macro."
315 - gerrit-trigger-scm:
316 credentials-id: '{ssh-credentials}'
318 choosing-strategy: 'default'
322 use-build-blocker: false
333 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
334 predefined-parameters:
340 - project: 'cperf-apex-intel-pod2-daily-{stream}'
341 predefined-parameters:
342 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
347 name: 'apex-build-{stream}'
349 # Job template for builds
351 # Required Variables:
352 # stream: branch with - in place of / (eg. stable)
353 # branch: branch (eg. stable)
354 node: '{daily-slave}'
364 gs-pathname: '{gs-pathname}'
369 default: https://gerrit.opnfv.org/gerrit/$PROJECT
370 description: "Used for overriding the GIT URL coming from parameters macro."
374 credentials-id: '{ssh-credentials}'
380 use-build-blocker: true
392 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
393 predefined-parameters: |
394 BUILD_DIRECTORY=apex-build-{stream}/build
399 - 'apex-upload-artifact'
402 name: 'apex-deploy-virtual-{scenario}-{stream}'
404 # Job template for virtual deployment
406 # Required Variables:
407 # stream: branch with - in place of / (eg. stable)
408 # branch: branch (eg. stable)
417 credentials-id: '{ssh-credentials}'
425 gs-pathname: '{gs-pathname}'
427 name: DEPLOY_SCENARIO
428 default: '{scenario}'
429 description: "Scenario to deploy with."
433 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
437 use-build-blocker: true
448 - 'apex-workspace-cleanup'
451 name: 'apex-deploy-baremetal-{scenario}-{stream}'
453 # Job template for baremetal deployment
455 # Required Variables:
456 # stream: branch with - in place of / (eg. stable)
457 # branch: branch (eg. stable)
464 credentials-id: '{ssh-credentials}'
472 gs-pathname: '{gs-pathname}'
474 name: DEPLOY_SCENARIO
475 default: '{scenario}'
476 description: "Scenario to deploy with."
480 use-build-blocker: true
490 - 'apex-workspace-cleanup'
494 name: 'apex-daily-{stream}'
496 # Job template for daily build
498 # Required Variables:
499 # stream: branch with - in place of / (eg. stable)
500 # branch: branch (eg. stable)
501 node: '{daily-slave}'
507 credentials-id: '{ssh-credentials}'
515 gs-pathname: '{gs-pathname}'
519 use-build-blocker: true
532 - project: 'apex-build-{stream}'
534 current-parameters: true
538 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
539 predefined-parameters: |
540 BUILD_DIRECTORY=apex-build-{stream}/build
545 build-step-failure-threshold: 'never'
548 - project: 'functest-apex-{daily-slave}-daily-{stream}'
549 predefined-parameters:
550 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
554 build-step-failure-threshold: 'never'
555 failure-threshold: 'never'
556 unstable-threshold: 'FAILURE'
558 - project: 'yardstick-apex-{slave}-daily-{stream}'
559 predefined-parameters:
560 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
564 build-step-failure-threshold: 'never'
565 failure-threshold: 'never'
566 unstable-threshold: 'FAILURE'
568 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
569 predefined-parameters: |
570 BUILD_DIRECTORY=apex-build-{stream}/build
575 build-step-failure-threshold: 'never'
578 - project: 'functest-apex-{daily-slave}-daily-{stream}'
579 predefined-parameters:
580 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
584 build-step-failure-threshold: 'never'
585 failure-threshold: 'never'
586 unstable-threshold: 'FAILURE'
588 - project: 'yardstick-apex-{slave}-daily-{stream}'
589 predefined-parameters:
590 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
594 build-step-failure-threshold: 'never'
595 failure-threshold: 'never'
596 unstable-threshold: 'FAILURE'
598 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
599 predefined-parameters: |
600 BUILD_DIRECTORY=apex-build-{stream}/build
605 build-step-failure-threshold: 'never'
608 - project: 'functest-apex-{daily-slave}-daily-{stream}'
609 predefined-parameters:
610 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
614 build-step-failure-threshold: 'never'
615 failure-threshold: 'never'
616 unstable-threshold: 'FAILURE'
618 - project: 'yardstick-apex-{slave}-daily-{stream}'
619 predefined-parameters:
620 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
624 build-step-failure-threshold: 'never'
625 failure-threshold: 'never'
626 unstable-threshold: 'FAILURE'
628 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream}'
629 predefined-parameters: |
630 BUILD_DIRECTORY=apex-build-{stream}/build
635 build-step-failure-threshold: 'never'
638 - project: 'functest-apex-{daily-slave}-daily-{stream}'
639 predefined-parameters:
640 DEPLOY_SCENARIO=os-onos-nofeature-ha
644 build-step-failure-threshold: 'never'
645 failure-threshold: 'never'
646 unstable-threshold: 'FAILURE'
648 - project: 'yardstick-apex-{slave}-daily-{stream}'
649 predefined-parameters:
650 DEPLOY_SCENARIO=os-onos-nofeature-ha
654 build-step-failure-threshold: 'never'
655 failure-threshold: 'never'
656 unstable-threshold: 'FAILURE'
658 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream}'
659 predefined-parameters: |
660 BUILD_DIRECTORY=apex-build-{stream}/build
665 build-step-failure-threshold: 'never'
668 - project: 'functest-apex-{daily-slave}-daily-{stream}'
669 predefined-parameters:
670 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
674 build-step-failure-threshold: 'never'
675 failure-threshold: 'never'
676 unstable-threshold: 'FAILURE'
678 - project: 'yardstick-apex-{slave}-daily-{stream}'
679 predefined-parameters:
680 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
684 build-step-failure-threshold: 'never'
685 failure-threshold: 'never'
686 unstable-threshold: 'FAILURE'
688 - project: 'apex-deploy-baremetal-os-onos-sfc-ha-{stream}'
689 predefined-parameters: |
690 BUILD_DIRECTORY=apex-build-{stream}/build
695 build-step-failure-threshold: 'never'
698 - project: 'functest-apex-{daily-slave}-daily-{stream}'
699 predefined-parameters:
700 DEPLOY_SCENARIO=os-onos-sfc-ha
704 build-step-failure-threshold: 'never'
705 failure-threshold: 'never'
706 unstable-threshold: 'FAILURE'
708 - project: 'yardstick-apex-{slave}-daily-{stream}'
709 predefined-parameters:
710 DEPLOY_SCENARIO=os-onos-sfc-ha
714 build-step-failure-threshold: 'never'
715 failure-threshold: 'never'
716 unstable-threshold: 'FAILURE'
718 - project: 'apex-deploy-baremetal-os-odl_l2-sfc-noha-{stream}'
719 predefined-parameters: |
720 BUILD_DIRECTORY=apex-build-{stream}/build
725 build-step-failure-threshold: 'never'
728 - project: 'functest-apex-{daily-slave}-daily-{stream}'
729 predefined-parameters:
730 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
734 build-step-failure-threshold: 'never'
735 failure-threshold: 'never'
736 unstable-threshold: 'FAILURE'
738 - project: 'yardstick-apex-{slave}-daily-{stream}'
739 predefined-parameters:
740 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
744 build-step-failure-threshold: 'never'
745 failure-threshold: 'never'
746 unstable-threshold: 'FAILURE'
748 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-{stream}'
749 predefined-parameters: |
750 BUILD_DIRECTORY=apex-build-{stream}/build
755 build-step-failure-threshold: 'never'
758 - project: 'functest-apex-{daily-slave}-daily-{stream}'
759 predefined-parameters:
760 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
764 build-step-failure-threshold: 'never'
765 failure-threshold: 'never'
766 unstable-threshold: 'FAILURE'
768 - project: 'yardstick-apex-{slave}-daily-{stream}'
769 predefined-parameters:
770 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
774 build-step-failure-threshold: 'never'
775 failure-threshold: 'never'
776 unstable-threshold: 'FAILURE'
778 - project: 'apex-deploy-baremetal-os-nosdn-fdio-noha-{stream}'
779 predefined-parameters: |
780 BUILD_DIRECTORY=apex-build-{stream}/build
785 build-step-failure-threshold: 'never'
788 - project: 'functest-apex-{daily-slave}-daily-{stream}'
789 predefined-parameters:
790 DEPLOY_SCENARIO=os-nosdn-fdio-noha
794 build-step-failure-threshold: 'never'
795 failure-threshold: 'never'
796 unstable-threshold: 'FAILURE'
798 - project: 'yardstick-apex-{slave}-daily-{stream}'
799 predefined-parameters:
800 DEPLOY_SCENARIO=os-nosdn-fdio-noha
804 build-step-failure-threshold: 'never'
805 failure-threshold: 'never'
806 unstable-threshold: 'FAILURE'
808 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-ipv6-{stream}'
809 predefined-parameters: |
810 BUILD_DIRECTORY=apex-build-{stream}/build
815 build-step-failure-threshold: 'never'
818 - project: 'apex-deploy-baremetal-os-nosdn-ovs-noha-{stream}'
819 predefined-parameters: |
820 BUILD_DIRECTORY=apex-build-{stream}/build
825 build-step-failure-threshold: 'never'
828 - project: 'functest-apex-{daily-slave}-daily-{stream}'
829 predefined-parameters:
830 DEPLOY_SCENARIO=os-nosdn-ovs-noha
834 build-step-failure-threshold: 'never'
835 failure-threshold: 'never'
836 unstable-threshold: 'FAILURE'
838 - project: 'yardstick-apex-{slave}-daily-{stream}'
839 predefined-parameters:
840 DEPLOY_SCENARIO=os-nosdn-ovs-noha
844 build-step-failure-threshold: 'never'
845 failure-threshold: 'never'
846 unstable-threshold: 'FAILURE'
849 name: 'apex-gs-clean-{stream}'
851 # Job template for clean
853 # Required Variables:
854 # stream: branch with - in place of / (eg. stable)
863 gs-pathname: '{gs-pathname}'
869 - 'apex-gs-clean-{stream}'
872 ########################
874 ########################
881 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
883 name: ARTIFACT_VERSION
885 description: "Artifact version type"
887 name: BUILD_DIRECTORY
888 default: $WORKSPACE/build
889 description: "Directory where the build artifact will be located upon the completion of the build."
891 name: CACHE_DIRECTORY
892 default: $HOME/opnfv/cache{gs-pathname}
893 description: "Directory where the cache to be used during the build is located."
896 default: https://gerrit.opnfv.org/gerrit/$PROJECT
897 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
900 default: '{gs-pathname}'
901 description: "Version directory where opnfv artifacts are stored in gs repository"
904 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
905 description: "URL to Google Storage."
907 ########################
909 ########################
911 name: 'apex-unit-test'
914 !include-raw: ./apex-unit-test.sh
920 !include-raw: ./apex-build.sh
923 name: 'apex-workspace-cleanup'
926 !include-raw: ./apex-workspace-cleanup.sh
929 name: 'apex-upload-artifact'
932 !include-raw: ./apex-upload-artifact.sh
935 name: 'apex-gs-cleanup'
938 !include-raw: ./apex-gs-cleanup.sh
944 !include-raw: ./apex-deploy.sh
947 #######################
949 ########################
956 name: 'apex-colorado'
964 name: 'apex-gs-clean-{stream}'