4 - 'apex-verify-{stream1}'
5 - 'apex-verify-{stream2}'
6 - 'apex-runner-{platform}-{scenario}-{stream}'
7 - 'apex-runner-cperf-{stream1}'
8 - 'apex-build-{stream}'
9 - 'apex-deploy-virtual-{scenario}-{stream}'
10 - 'apex-deploy-baremetal-{scenario}-{stream}'
11 - 'apex-daily-{stream1}'
12 - 'apex-daily-{stream2}'
14 # stream: branch with - in place of / (eg. stable-arno)
15 # branch: branch (eg. stable/arno)
20 block-stream: 'brahmaputra'
22 verify-slave: 'apex-verify-master'
23 daily-slave: 'apex-daily-master'
25 branch: 'stable/brahmaputra'
26 gs-pathname: '/brahmaputra'
27 block-stream: 'master'
29 verify-slave: 'apex-verify-brahmaputra'
30 daily-slave: 'apex-daily-brahmaputra'
37 block-stream: 'brahmaputra'
39 verify-slave: 'apex-verify-master'
40 daily-slave: 'apex-daily-master'
44 branch: 'stable/brahmaputra'
45 gs-pathname: '/brahmaputra'
46 block-stream: 'master'
48 verify-slave: 'apex-verify-brahmaputra'
49 daily-slave: 'apex-daily-brahmaputra'
55 - 'os-nosdn-nofeature-noha'
56 - 'os-nosdn-nofeature-ha'
57 - 'os-odl_l2-nofeature-ha'
58 - 'os-odl_l2-bgpvpn-ha'
59 - 'os-odl_l2-sfc-noha'
60 - 'os-odl_l3-nofeature-ha'
61 - 'os-onos-nofeature-ha'
63 - 'os-ocl-nofeature-ha'
71 name: 'apex-verify-{stream2}'
77 gs-pathname: '{gs-pathname}'
84 default: https://gerrit.opnfv.org/gerrit/$PROJECT
85 description: "Used for overriding the GIT URL coming from parameters macro."
89 credentials-id: '{ssh-credentials}'
90 refspec: '$GERRIT_REFSPEC'
91 choosing-strategy: 'gerrit'
96 - patchset-created-event:
97 exclude-drafts: 'false'
98 exclude-trivial-rebase: 'false'
99 exclude-no-code-change: 'true'
100 - draft-published-event
101 - comment-added-contains-event:
102 comment-contains-value: 'recheck'
103 - comment-added-contains-event:
104 comment-contains-value: 'reverify'
106 - project-compare-type: 'ANT'
107 project-pattern: 'apex'
109 - branch-compare-type: 'ANT'
110 branch-pattern: '**/{branch}'
123 use-build-blocker: true
125 - 'apex-daily.*{stream2}'
126 - 'apex-deploy.*{stream2}'
127 - 'apex-build.*{stream2}'
128 - 'apex-runner.*{stream2}'
129 - 'apex-verify-{stream2}'
135 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream2}'
136 predefined-parameters: |
137 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
142 - project: 'apex-deploy-virtual-os-onos-nofeature-ha-{stream2}'
143 predefined-parameters: |
144 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
149 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream2}'
150 predefined-parameters: |
151 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
156 - project: 'apex-deploy-virtual-os-odl_l2-sfc-noha-{stream2}'
157 predefined-parameters: |
158 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
162 - 'apex-workspace-cleanup'
166 name: 'apex-verify-{stream1}'
168 node: '{verify-slave}'
174 gs-pathname: '{gs-pathname}'
181 default: https://gerrit.opnfv.org/gerrit/$PROJECT
182 description: "Used for overriding the GIT URL coming from parameters macro."
185 - gerrit-trigger-scm:
186 credentials-id: '{ssh-credentials}'
187 refspec: '$GERRIT_REFSPEC'
188 choosing-strategy: 'gerrit'
193 - patchset-created-event:
194 exclude-drafts: 'false'
195 exclude-trivial-rebase: 'false'
196 exclude-no-code-change: 'true'
197 - draft-published-event
198 - comment-added-contains-event:
199 comment-contains-value: 'recheck'
200 - comment-added-contains-event:
201 comment-contains-value: 'reverify'
203 - project-compare-type: 'ANT'
204 project-pattern: 'apex'
206 - branch-compare-type: 'ANT'
207 branch-pattern: '**/{branch}'
220 use-build-blocker: true
223 - 'apex-daily.*{stream1}'
224 - 'apex-deploy.*{stream1}'
225 - 'apex-build.*{stream1}'
226 - 'apex-runner.*{stream1}'
227 - 'apex-verify-{stream1}'
237 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream1}'
238 predefined-parameters: |
239 BUILD_DIRECTORY=apex-verify-{stream1}
245 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
246 predefined-parameters: |
247 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
248 FUNCTEST_SUITE_NAME=healthcheck
252 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream1}'
253 predefined-parameters: |
254 BUILD_DIRECTORY=apex-verify-{stream1}
260 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
261 predefined-parameters: |
262 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
263 FUNCTEST_SUITE_NAME=healthcheck
266 - 'apex-workspace-cleanup'
269 name: 'apex-runner-{platform}-{scenario}-{stream}'
271 # runner jobs for deploying manually
279 gs-pathname: '{gs-pathname}'
286 default: https://gerrit.opnfv.org/gerrit/$PROJECT
287 description: "Used for overriding the GIT URL coming from parameters macro."
290 - gerrit-trigger-scm:
291 credentials-id: '{ssh-credentials}'
293 choosing-strategy: 'default'
297 use-build-blocker: true
299 - 'apex-daily.*{stream}'
300 - 'apex-verify.*{stream}'
304 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
305 predefined-parameters:
310 - project: 'yardstick-apex-{slave}-daily-{stream}'
311 predefined-parameters:
312 DEPLOY_SCENARIO={scenario}
315 build-step-failure-threshold: 'never'
316 failure-threshold: 'never'
317 unstable-threshold: 'FAILURE'
319 - project: 'functest-apex-{slave}-daily-{stream}'
320 predefined-parameters:
321 DEPLOY_SCENARIO={scenario}
324 build-step-failure-threshold: 'never'
325 failure-threshold: 'never'
326 unstable-threshold: 'FAILURE'
329 name: 'apex-runner-cperf-{stream1}'
339 gs-pathname: '{gs-pathname}'
346 default: https://gerrit.opnfv.org/gerrit/$PROJECT
347 description: "Used for overriding the GIT URL coming from parameters macro."
350 - gerrit-trigger-scm:
351 credentials-id: '{ssh-credentials}'
353 choosing-strategy: 'default'
357 use-build-blocker: false
360 - 'apex-deploy.*{stream}'
368 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
369 predefined-parameters:
374 - project: 'cperf-apex-intel-pod2-daily-{stream1}'
375 predefined-parameters:
376 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
381 name: 'apex-build-{stream}'
383 # Job template for builds
385 # Required Variables:
386 # stream: branch with - in place of / (eg. stable)
387 # branch: branch (eg. stable)
388 node: '{daily-slave}'
398 gs-pathname: '{gs-pathname}'
403 default: https://gerrit.opnfv.org/gerrit/$PROJECT
404 description: "Used for overriding the GIT URL coming from parameters macro."
408 credentials-id: '{ssh-credentials}'
414 use-build-blocker: true
417 - 'apex-deploy.*{stream}'
426 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
427 predefined-parameters: |
428 BUILD_DIRECTORY=apex-build-{stream}/build
433 - 'apex-upload-artifact'
436 name: 'apex-deploy-virtual-{scenario}-{stream}'
438 # Job template for virtual deployment
440 # Required Variables:
441 # stream: branch with - in place of / (eg. stable)
442 # branch: branch (eg. stable)
451 credentials-id: '{ssh-credentials}'
459 gs-pathname: '{gs-pathname}'
461 name: DEPLOY_SCENARIO
462 default: '{scenario}'
463 description: "Scenario to deploy with."
467 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
471 use-build-blocker: true
474 - 'apex-deploy.*{stream}'
482 - 'apex-workspace-cleanup'
485 name: 'apex-deploy-baremetal-{scenario}-{stream}'
487 # Job template for baremetal deployment
489 # Required Variables:
490 # stream: branch with - in place of / (eg. stable)
491 # branch: branch (eg. stable)
498 credentials-id: '{ssh-credentials}'
506 gs-pathname: '{gs-pathname}'
508 name: DEPLOY_SCENARIO
509 default: '{scenario}'
510 description: "Scenario to deploy with."
514 use-build-blocker: true
517 - 'apex-verify.*{stream}'
518 - 'apex-deploy.*{stream}'
519 - 'apex-build.*{stream}'
524 - 'apex-workspace-cleanup'
528 name: 'apex-daily-{stream2}'
530 # Job template for daily build
532 # Required Variables:
533 # stream: branch with - in place of / (eg. stable)
534 # branch: branch (eg. stable)
541 credentials-id: '{ssh-credentials}'
549 gs-pathname: '{gs-pathname}'
553 use-build-blocker: true
555 - 'apex-verify.*{stream2}'
556 - 'apex-deploy.*{stream2}'
557 - 'apex-build.*{stream2}'
558 - 'apex-runner.*{stream2}'
565 - project: 'apex-build-{stream2}'
567 current-parameters: true
570 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream2}'
571 predefined-parameters: |
572 BUILD_DIRECTORY=apex-build-{stream2}/build_output
577 - project: 'functest-apex-{slave}-daily-{stream2}'
578 predefined-parameters:
579 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
582 build-step-failure-threshold: 'never'
583 failure-threshold: 'never'
584 unstable-threshold: 'FAILURE'
586 - project: 'yardstick-apex-{slave}-daily-{stream2}'
587 predefined-parameters:
588 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
591 build-step-failure-threshold: 'never'
592 failure-threshold: 'never'
593 unstable-threshold: 'FAILURE'
595 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream2}'
596 predefined-parameters:
597 BUILD_DIRECTORY=apex-build-{stream2}/build_output
601 - project: 'functest-apex-{slave}-daily-{stream2}'
602 predefined-parameters:
603 DEPLOY_SCENARIO=os-onos-nofeature-ha
606 build-step-failure-threshold: 'never'
607 failure-threshold: 'never'
608 unstable-threshold: 'FAILURE'
610 - project: 'yardstick-apex-{slave}-daily-{stream2}'
611 predefined-parameters:
612 DEPLOY_SCENARIO=os-onos-nofeature-ha
615 build-step-failure-threshold: 'never'
616 failure-threshold: 'never'
617 unstable-threshold: 'FAILURE'
619 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream2}'
620 predefined-parameters:
621 BUILD_DIRECTORY=apex-build-{stream2}/build_output
625 - project: 'functest-apex-{slave}-daily-{stream2}'
626 predefined-parameters:
627 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
630 build-step-failure-threshold: 'never'
631 failure-threshold: 'never'
632 unstable-threshold: 'FAILURE'
634 - project: 'yardstick-apex-{slave}-daily-{stream2}'
635 predefined-parameters:
636 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
639 build-step-failure-threshold: 'never'
640 failure-threshold: 'never'
641 unstable-threshold: 'FAILURE'
643 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream2}'
644 predefined-parameters:
645 BUILD_DIRECTORY=apex-build-{stream2}/build_output
649 - project: 'functest-apex-{slave}-daily-{stream2}'
650 predefined-parameters:
651 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
654 build-step-failure-threshold: 'never'
655 failure-threshold: 'never'
656 unstable-threshold: 'FAILURE'
658 - project: 'yardstick-apex-{slave}-daily-{stream2}'
659 predefined-parameters:
660 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
663 build-step-failure-threshold: 'never'
664 failure-threshold: 'never'
665 unstable-threshold: 'FAILURE'
669 name: 'apex-daily-{stream1}'
671 # Job template for daily build
673 # Required Variables:
674 # stream: branch with - in place of / (eg. stable)
675 # branch: branch (eg. stable)
676 node: '{daily-slave}'
682 credentials-id: '{ssh-credentials}'
690 gs-pathname: '{gs-pathname}'
694 use-build-blocker: true
697 - 'apex-verify.*{stream1}'
698 - 'apex-deploy.*{stream1}'
699 - 'apex-build.*{stream1}'
700 - 'apex-runner.*{stream1}'
707 - project: 'apex-build-{stream1}'
709 current-parameters: true
713 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream1}'
714 predefined-parameters: |
715 BUILD_DIRECTORY=apex-build-{stream1}/build
720 build-step-failure-threshold: 'never'
723 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
724 predefined-parameters:
725 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
729 build-step-failure-threshold: 'never'
730 failure-threshold: 'never'
731 unstable-threshold: 'FAILURE'
733 - project: 'yardstick-apex-{slave}-daily-{stream1}'
734 predefined-parameters:
735 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
739 build-step-failure-threshold: 'never'
740 failure-threshold: 'never'
741 unstable-threshold: 'FAILURE'
743 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
744 predefined-parameters: |
745 BUILD_DIRECTORY=apex-build-{stream1}/build
750 build-step-failure-threshold: 'never'
753 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
754 predefined-parameters:
755 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
759 build-step-failure-threshold: 'never'
760 failure-threshold: 'never'
761 unstable-threshold: 'FAILURE'
763 - project: 'yardstick-apex-{slave}-daily-{stream1}'
764 predefined-parameters:
765 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
769 build-step-failure-threshold: 'never'
770 failure-threshold: 'never'
771 unstable-threshold: 'FAILURE'
773 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream1}'
774 predefined-parameters: |
775 BUILD_DIRECTORY=apex-build-{stream1}/build
780 build-step-failure-threshold: 'never'
783 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
784 predefined-parameters:
785 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
789 build-step-failure-threshold: 'never'
790 failure-threshold: 'never'
791 unstable-threshold: 'FAILURE'
793 - project: 'yardstick-apex-{slave}-daily-{stream1}'
794 predefined-parameters:
795 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
799 build-step-failure-threshold: 'never'
800 failure-threshold: 'never'
801 unstable-threshold: 'FAILURE'
803 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream1}'
804 predefined-parameters: |
805 BUILD_DIRECTORY=apex-build-{stream1}/build
810 build-step-failure-threshold: 'never'
813 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
814 predefined-parameters:
815 DEPLOY_SCENARIO=os-onos-nofeature-ha
819 build-step-failure-threshold: 'never'
820 failure-threshold: 'never'
821 unstable-threshold: 'FAILURE'
823 - project: 'yardstick-apex-{slave}-daily-{stream1}'
824 predefined-parameters:
825 DEPLOY_SCENARIO=os-onos-nofeature-ha
829 build-step-failure-threshold: 'never'
830 failure-threshold: 'never'
831 unstable-threshold: 'FAILURE'
833 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream1}'
834 predefined-parameters: |
835 BUILD_DIRECTORY=apex-build-{stream1}/build
840 build-step-failure-threshold: 'never'
843 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
844 predefined-parameters:
845 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
849 build-step-failure-threshold: 'never'
850 failure-threshold: 'never'
851 unstable-threshold: 'FAILURE'
853 - project: 'yardstick-apex-{slave}-daily-{stream1}'
854 predefined-parameters:
855 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
859 build-step-failure-threshold: 'never'
860 failure-threshold: 'never'
861 unstable-threshold: 'FAILURE'
863 - project: 'apex-deploy-baremetal-os-onos-sfc-ha-{stream1}'
864 predefined-parameters: |
865 BUILD_DIRECTORY=apex-build-{stream1}/build
870 build-step-failure-threshold: 'never'
873 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
874 predefined-parameters:
875 DEPLOY_SCENARIO=os-onos-sfc-ha
879 build-step-failure-threshold: 'never'
880 failure-threshold: 'never'
881 unstable-threshold: 'FAILURE'
883 - project: 'yardstick-apex-{slave}-daily-{stream1}'
884 predefined-parameters:
885 DEPLOY_SCENARIO=os-onos-sfc-ha
889 build-step-failure-threshold: 'never'
890 failure-threshold: 'never'
891 unstable-threshold: 'FAILURE'
893 - project: 'apex-deploy-baremetal-os-odl_l2-sfc-noha-{stream1}'
894 predefined-parameters: |
895 BUILD_DIRECTORY=apex-build-{stream1}/build
900 build-step-failure-threshold: 'never'
903 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
904 predefined-parameters:
905 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
909 build-step-failure-threshold: 'never'
910 failure-threshold: 'never'
911 unstable-threshold: 'FAILURE'
913 - project: 'yardstick-apex-{slave}-daily-{stream1}'
914 predefined-parameters:
915 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
919 build-step-failure-threshold: 'never'
920 failure-threshold: 'never'
921 unstable-threshold: 'FAILURE'
924 name: 'apex-gs-clean-{stream}'
926 # Job template for clean
928 # Required Variables:
929 # stream: branch with - in place of / (eg. stable)
938 gs-pathname: '{gs-pathname}'
944 - 'apex-gs-clean-{stream}'
947 ########################
949 ########################
956 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
958 name: ARTIFACT_VERSION
960 description: "Artifact version type"
962 name: BUILD_DIRECTORY
963 default: $WORKSPACE/build
964 description: "Directory where the build artifact will be located upon the completion of the build."
966 name: CACHE_DIRECTORY
967 default: $HOME/opnfv/cache{gs-pathname}
968 description: "Directory where the cache to be used during the build is located."
971 default: https://gerrit.opnfv.org/gerrit/$PROJECT
972 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
975 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
976 description: "URL to Google Storage."
978 ########################
980 ########################
982 name: 'apex-unit-test'
985 !include-raw: ./apex-unit-test.sh
991 !include-raw: ./apex-build.sh
994 name: 'apex-workspace-cleanup'
997 !include-raw: ./apex-workspace-cleanup.sh
1000 name: 'apex-upload-artifact'
1003 !include-raw: ./apex-upload-artifact.sh
1006 name: 'apex-gs-cleanup'
1009 !include-raw: ./apex-gs-cleanup.sh
1015 !include-raw: ./apex-deploy.sh
1018 #######################
1020 ########################
1024 - timed: '0 3 * * *'
1026 name: 'apex-brahmaputra'
1028 - timed: '0 3 * * *'
1030 name: 'apex-gs-clean-{stream}'
1032 - timed: '0 2 * * *'