4 - 'apex-verify-{stream}'
5 - 'apex-verify-gate-{stream}'
6 - 'apex-verify-unit-tests-{stream}'
7 - 'apex-runner-{platform}-{scenario}-{stream}'
8 - 'apex-runner-cperf-{stream}'
9 - 'apex-build-{stream}'
10 - 'apex-deploy-virtual-{scenario}-{stream}'
11 - 'apex-deploy-baremetal-{scenario}-{stream}'
12 - 'apex-daily-{stream}'
13 - 'apex-csit-promote-daily-{stream}'
14 - 'apex-fdio-promote-daily-{stream}'
16 # stream: branch with - in place of / (eg. stable-arno)
17 # branch: branch (eg. stable/arno)
23 verify-slave: 'apex-verify-master'
24 daily-slave: 'apex-daily-master'
26 branch: 'stable/danube'
27 gs-pathname: '/danube'
29 verify-slave: 'apex-verify-danube'
30 daily-slave: 'apex-daily-danube'
35 - 'os-nosdn-nofeature-noha'
36 - 'os-nosdn-nofeature-ha'
37 - 'os-nosdn-nofeature-ha-ipv6'
40 - 'os-nosdn-fdio-noha'
44 - 'os-odl_l2-fdio-noha'
46 - 'os-odl_l2-netvirt_gbp_fdio-noha'
47 - 'os-odl_l2-sfc-noha'
48 - 'os-odl_l3-nofeature-noha'
49 - 'os-odl_l3-nofeature-ha'
50 - 'os-odl_l3-ovs-noha'
54 - 'os-odl_l3-fdio-noha'
56 - 'os-odl_l3-fdio_dvr-noha'
57 - 'os-odl_l3-fdio_dvr-ha'
58 - 'os-odl_l3-csit-noha'
59 - 'os-onos-nofeature-ha'
60 - 'os-ovn-nofeature-noha'
69 name: 'apex-verify-unit-tests-{stream}'
71 node: '{verify-slave}'
77 gs-pathname: '{gs-pathname}'
83 default: https://gerrit.opnfv.org/gerrit/$PROJECT
84 description: "Used for overriding the GIT URL coming from parameters macro."
91 server-name: 'gerrit.opnfv.org'
93 - patchset-created-event:
94 exclude-drafts: 'false'
95 exclude-trivial-rebase: 'false'
96 exclude-no-code-change: 'true'
97 - draft-published-event
98 - comment-added-contains-event:
99 comment-contains-value: 'recheck'
100 - comment-added-contains-event:
101 comment-contains-value: 'reverify'
103 - project-compare-type: 'ANT'
104 project-pattern: 'apex'
106 - branch-compare-type: 'ANT'
107 branch-pattern: '**/{branch}'
123 name: 'apex-verify-{stream}'
125 node: '{verify-slave}'
131 gs-pathname: '{gs-pathname}'
137 default: https://gerrit.opnfv.org/gerrit/$PROJECT
138 description: "Used for overriding the GIT URL coming from parameters macro."
145 server-name: 'gerrit.opnfv.org'
147 - patchset-created-event:
148 exclude-drafts: 'false'
149 exclude-trivial-rebase: 'false'
150 exclude-no-code-change: 'true'
151 - draft-published-event
152 - comment-added-contains-event:
153 comment-contains-value: 'recheck'
154 - comment-added-contains-event:
155 comment-contains-value: 'reverify'
157 - project-compare-type: 'ANT'
158 project-pattern: 'apex'
160 - branch-compare-type: 'ANT'
161 branch-pattern: '**/{branch}'
175 use-build-blocker: true
192 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream}'
193 predefined-parameters: |
194 BUILD_DIRECTORY=apex-verify-{stream}
200 - project: 'functest-apex-{verify-slave}-suite-{stream}'
201 predefined-parameters: |
202 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
203 FUNCTEST_SUITE_NAME=healthcheck
206 - 'apex-workspace-cleanup'
208 # Verify Scenario Gate
210 name: 'apex-verify-gate-{stream}'
212 node: '{verify-slave}'
218 gs-pathname: '{gs-pathname}'
224 default: https://gerrit.opnfv.org/gerrit/$PROJECT
225 description: "Used for overriding the GIT URL coming from parameters macro."
232 server-name: 'gerrit.opnfv.org'
234 - comment-added-contains-event:
235 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
237 - project-compare-type: 'ANT'
238 project-pattern: 'apex'
240 - branch-compare-type: 'ANT'
241 branch-pattern: '**/{branch}'
255 use-build-blocker: true
271 - project: 'apex-deploy-virtual-gate-{stream}'
272 predefined-parameters: |
273 BUILD_DIRECTORY=apex-verify-gate-{stream}
275 current-parameters: true
280 - project: 'functest-apex-{verify-slave}-suite-{stream}'
281 predefined-parameters: |
282 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
283 FUNCTEST_SUITE_NAME=healthcheck
286 - 'apex-workspace-cleanup'
289 name: 'apex-runner-{platform}-{scenario}-{stream}'
291 # runner jobs for deploying manually
299 gs-pathname: '{gs-pathname}'
305 default: https://gerrit.opnfv.org/gerrit/$PROJECT
306 description: "Used for overriding the GIT URL coming from parameters macro."
314 use-build-blocker: true
318 - 'apex-.*-promote.*'
322 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
323 predefined-parameters:
328 - project: 'yardstick-apex-{slave}-daily-{stream}'
329 predefined-parameters:
330 DEPLOY_SCENARIO={scenario}
333 build-step-failure-threshold: 'never'
334 failure-threshold: 'never'
335 unstable-threshold: 'FAILURE'
337 - project: 'functest-apex-{slave}-daily-{stream}'
338 predefined-parameters:
339 DEPLOY_SCENARIO={scenario}
342 build-step-failure-threshold: 'never'
343 failure-threshold: 'never'
344 unstable-threshold: 'FAILURE'
347 name: 'apex-runner-cperf-{stream}'
357 gs-pathname: '{gs-pathname}'
363 default: https://gerrit.opnfv.org/gerrit/$PROJECT
364 description: "Used for overriding the GIT URL coming from parameters macro."
372 use-build-blocker: false
383 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-noha-{stream}'
384 predefined-parameters:
390 - project: 'cperf-apex-intel-pod2-daily-master'
391 predefined-parameters:
392 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
397 name: 'apex-build-{stream}'
399 # Job template for builds
401 # Required Variables:
402 # stream: branch with - in place of / (eg. stable)
403 # branch: branch (eg. stable)
404 node: '{daily-slave}'
415 gs-pathname: '{gs-pathname}'
418 default: https://gerrit.opnfv.org/gerrit/$PROJECT
419 description: "Used for overriding the GIT URL coming from parameters macro."
427 use-build-blocker: true
439 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
440 predefined-parameters: |
441 BUILD_DIRECTORY=apex-build-{stream}/.build
446 - 'apex-upload-rpm-artifact'
448 - project: 'apex-iso-verify-{stream}'
449 predefined-parameters: |
450 BUILD_DIRECTORY=apex-build-{stream}/.build
455 - 'apex-upload-iso-artifact'
458 name: 'apex-deploy-virtual-{scenario}-{stream}'
460 # Job template for virtual deployment
462 # Required Variables:
463 # stream: branch with - in place of / (eg. stable)
464 # branch: branch (eg. stable)
479 gs-pathname: '{gs-pathname}'
481 name: DEPLOY_SCENARIO
482 default: '{scenario}'
483 description: "Scenario to deploy with."
487 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
492 use-build-blocker: true
503 - 'apex-workspace-cleanup'
506 name: 'apex-deploy-baremetal-{scenario}-{stream}'
508 # Job template for baremetal deployment
510 # Required Variables:
511 # stream: branch with - in place of / (eg. stable)
512 # branch: branch (eg. stable)
525 gs-pathname: '{gs-pathname}'
527 name: DEPLOY_SCENARIO
528 default: '{scenario}'
529 description: "Scenario to deploy with."
534 use-build-blocker: true
544 - 'apex-workspace-cleanup'
548 name: 'apex-daily-{stream}'
550 # Job template for daily build
552 # Required Variables:
553 # stream: branch with - in place of / (eg. stable)
554 # branch: branch (eg. stable)
555 node: '{daily-slave}'
567 gs-pathname: '{gs-pathname}'
572 use-build-blocker: true
579 - 'apex-.*-promote.*'
586 - project: 'apex-build-{stream}'
588 current-parameters: true
592 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
593 predefined-parameters: |
594 BUILD_DIRECTORY=apex-build-{stream}/.build
599 build-step-failure-threshold: 'never'
602 - project: 'functest-apex-{daily-slave}-daily-{stream}'
603 predefined-parameters:
604 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
608 build-step-failure-threshold: 'never'
609 failure-threshold: 'never'
610 unstable-threshold: 'FAILURE'
612 - project: 'yardstick-apex-{slave}-daily-{stream}'
613 predefined-parameters:
614 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
618 build-step-failure-threshold: 'never'
619 failure-threshold: 'never'
620 unstable-threshold: 'FAILURE'
621 # 1.dovetail only master by now, not sync with A/B/C branches
622 # 2.here the stream means the SUT stream, dovetail stream is defined in its own job
623 # 3.only debug testsuite here(includes basic testcase,
624 # i.e. one tempest smoke ipv6, two vping from functest)
625 # 4.not used for release criteria or compliance,
626 # only to debug the dovetail tool bugs with apex
628 # - project: 'dovetail-apex-{slave}-debug-{stream}'
629 # current-parameters: false
630 # predefined-parameters:
631 # DEPLOY_SCENARIO=os-nosdn-nofeature-ha
635 # build-step-failure-threshold: 'never'
636 # failure-threshold: 'never'
637 # unstable-threshold: 'FAILURE'
639 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
640 predefined-parameters: |
641 BUILD_DIRECTORY=apex-build-{stream}/.build
646 build-step-failure-threshold: 'never'
649 - project: 'functest-apex-{daily-slave}-daily-{stream}'
650 predefined-parameters:
651 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
655 build-step-failure-threshold: 'never'
656 failure-threshold: 'never'
657 unstable-threshold: 'FAILURE'
659 - project: 'yardstick-apex-{slave}-daily-{stream}'
660 predefined-parameters:
661 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
665 build-step-failure-threshold: 'never'
666 failure-threshold: 'never'
667 unstable-threshold: 'FAILURE'
669 - project: 'apex-deploy-baremetal-os-odl-bgpvpn-ha-{stream}'
670 predefined-parameters: |
671 BUILD_DIRECTORY=apex-build-{stream}/.build
676 build-step-failure-threshold: 'never'
679 - project: 'functest-apex-{daily-slave}-daily-{stream}'
680 predefined-parameters:
681 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
685 build-step-failure-threshold: 'never'
686 failure-threshold: 'never'
687 unstable-threshold: 'FAILURE'
689 - project: 'yardstick-apex-{slave}-daily-{stream}'
690 predefined-parameters:
691 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
695 build-step-failure-threshold: 'never'
696 failure-threshold: 'never'
697 unstable-threshold: 'FAILURE'
699 - project: 'apex-deploy-baremetal-os-odl-gluon-noha-{stream}'
700 predefined-parameters: |
701 BUILD_DIRECTORY=apex-build-{stream}/.build
706 build-step-failure-threshold: 'never'
709 - project: 'functest-apex-{daily-slave}-daily-{stream}'
710 predefined-parameters:
711 DEPLOY_SCENARIO=os-odl-gluon-noha
715 build-step-failure-threshold: 'never'
716 failure-threshold: 'never'
717 unstable-threshold: 'FAILURE'
719 - project: 'yardstick-apex-{slave}-daily-{stream}'
720 predefined-parameters:
721 DEPLOY_SCENARIO=os-odl-gluon-noha
725 build-step-failure-threshold: 'never'
726 failure-threshold: 'never'
727 unstable-threshold: 'FAILURE'
729 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-noha-{stream}'
730 predefined-parameters: |
731 BUILD_DIRECTORY=apex-build-{stream}/.build
736 build-step-failure-threshold: 'never'
739 - project: 'functest-apex-{daily-slave}-daily-{stream}'
740 predefined-parameters:
741 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
745 build-step-failure-threshold: 'never'
746 failure-threshold: 'never'
747 unstable-threshold: 'FAILURE'
749 - project: 'yardstick-apex-{slave}-daily-{stream}'
750 predefined-parameters:
751 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
755 build-step-failure-threshold: 'never'
756 failure-threshold: 'never'
757 unstable-threshold: 'FAILURE'
759 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-{stream}'
760 predefined-parameters: |
761 BUILD_DIRECTORY=apex-build-{stream}/.build
766 build-step-failure-threshold: 'never'
769 - project: 'functest-apex-{daily-slave}-daily-{stream}'
770 predefined-parameters:
771 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
775 build-step-failure-threshold: 'never'
776 failure-threshold: 'never'
777 unstable-threshold: 'FAILURE'
779 - project: 'yardstick-apex-{slave}-daily-{stream}'
780 predefined-parameters:
781 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
785 build-step-failure-threshold: 'never'
786 failure-threshold: 'never'
787 unstable-threshold: 'FAILURE'
789 - project: 'apex-deploy-baremetal-os-nosdn-kvm-ha-{stream}'
790 predefined-parameters: |
791 BUILD_DIRECTORY=apex-build-{stream}/.build
796 build-step-failure-threshold: 'never'
799 - project: 'functest-apex-{daily-slave}-daily-{stream}'
800 predefined-parameters:
801 DEPLOY_SCENARIO=os-nosdn-kvm-ha
805 build-step-failure-threshold: 'never'
806 failure-threshold: 'never'
807 unstable-threshold: 'FAILURE'
809 - project: 'yardstick-apex-{slave}-daily-{stream}'
810 predefined-parameters:
811 DEPLOY_SCENARIO=os-nosdn-kvm-ha
815 build-step-failure-threshold: 'never'
816 failure-threshold: 'never'
817 unstable-threshold: 'FAILURE'
819 - project: 'apex-deploy-baremetal-os-odl_l3-fdio-noha-{stream}'
820 predefined-parameters: |
821 BUILD_DIRECTORY=apex-build-{stream}/.build
826 build-step-failure-threshold: 'never'
829 - project: 'functest-apex-{daily-slave}-daily-{stream}'
830 predefined-parameters:
831 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
835 build-step-failure-threshold: 'never'
836 failure-threshold: 'never'
837 unstable-threshold: 'FAILURE'
839 - project: 'yardstick-apex-{slave}-daily-{stream}'
840 predefined-parameters:
841 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
845 build-step-failure-threshold: 'never'
846 failure-threshold: 'never'
847 unstable-threshold: 'FAILURE'
849 - project: 'apex-deploy-baremetal-os-nosdn-fdio-ha-{stream}'
850 predefined-parameters: |
851 BUILD_DIRECTORY=apex-build-{stream}/.build
856 build-step-failure-threshold: 'never'
859 - project: 'functest-apex-{daily-slave}-daily-{stream}'
860 predefined-parameters:
861 DEPLOY_SCENARIO=os-nosdn-fdio-ha
865 build-step-failure-threshold: 'never'
866 failure-threshold: 'never'
867 unstable-threshold: 'FAILURE'
869 - project: 'yardstick-apex-{slave}-daily-{stream}'
870 predefined-parameters:
871 DEPLOY_SCENARIO=os-nosdn-fdio-ha
875 build-step-failure-threshold: 'never'
876 failure-threshold: 'never'
877 unstable-threshold: 'FAILURE'
879 - project: 'apex-deploy-baremetal-os-nosdn-ovs-ha-{stream}'
880 predefined-parameters: |
881 BUILD_DIRECTORY=apex-build-{stream}/.build
886 build-step-failure-threshold: 'never'
889 - project: 'functest-apex-{daily-slave}-daily-{stream}'
890 predefined-parameters:
891 DEPLOY_SCENARIO=os-nosdn-ovs-ha
895 build-step-failure-threshold: 'never'
896 failure-threshold: 'never'
897 unstable-threshold: 'FAILURE'
899 - project: 'yardstick-apex-{slave}-daily-{stream}'
900 predefined-parameters:
901 DEPLOY_SCENARIO=os-nosdn-ovs-ha
905 build-step-failure-threshold: 'never'
906 failure-threshold: 'never'
907 unstable-threshold: 'FAILURE'
909 - project: 'apex-deploy-baremetal-os-odl_l3-ovs-ha-{stream}'
910 predefined-parameters: |
911 BUILD_DIRECTORY=apex-build-{stream}/.build
916 build-step-failure-threshold: 'never'
919 - project: 'functest-apex-{daily-slave}-daily-{stream}'
920 predefined-parameters:
921 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
925 build-step-failure-threshold: 'never'
926 failure-threshold: 'never'
927 unstable-threshold: 'FAILURE'
929 - project: 'yardstick-apex-{slave}-daily-{stream}'
930 predefined-parameters:
931 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
935 build-step-failure-threshold: 'never'
936 failure-threshold: 'never'
937 unstable-threshold: 'FAILURE'
939 - project: 'apex-deploy-baremetal-os-ovn-nofeature-noha-{stream}'
940 predefined-parameters: |
941 BUILD_DIRECTORY=apex-build-{stream}/.build
946 build-step-failure-threshold: 'never'
949 - project: 'functest-apex-{daily-slave}-daily-{stream}'
950 predefined-parameters:
951 DEPLOY_SCENARIO=os-ovn-nofeature-noha
955 build-step-failure-threshold: 'never'
956 failure-threshold: 'never'
957 unstable-threshold: 'FAILURE'
959 - project: 'yardstick-apex-{slave}-daily-{stream}'
960 predefined-parameters:
961 DEPLOY_SCENARIO=os-ovn-nofeature-noha
965 build-step-failure-threshold: 'never'
966 failure-threshold: 'never'
967 unstable-threshold: 'FAILURE'
971 name: 'apex-csit-promote-daily-{stream}'
973 # Job template for promoting CSIT Snapshots
975 # Required Variables:
976 # stream: branch with - in place of / (eg. stable)
977 # branch: branch (eg. stable)
978 node: '{daily-slave}'
990 gs-pathname: '{gs-pathname}'
994 use-build-blocker: true
1004 - timed: '0 12 * * 0'
1009 - project: 'apex-deploy-virtual-os-odl_l3-csit-noha-{stream}'
1010 predefined-parameters: |
1011 BUILD_DIRECTORY=apex-csit-promote-daily-{stream}
1017 - project: 'functest-apex-{daily-slave}-suite-{stream}'
1018 predefined-parameters: |
1019 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1020 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1024 !include-raw-escape: ./apex-snapshot-create.sh
1025 - 'apex-upload-snapshot-artifact'
1029 name: 'apex-fdio-promote-daily-{stream}'
1031 # Job template for promoting CSIT Snapshots
1033 # Required Variables:
1034 # stream: branch with - in place of / (eg. stable)
1035 # branch: branch (eg. stable)
1036 node: '{daily-slave}'
1044 - project-parameter:
1045 project: '{project}'
1048 gs-pathname: '{gs-pathname}'
1052 use-build-blocker: true
1064 - project: 'apex-deploy-virtual-os-odl_l2-fdio-noha-{stream}'
1065 predefined-parameters: |
1066 BUILD_DIRECTORY=apex-fdio-promote-daily-{stream}
1072 !include-raw-escape: ./apex-snapshot-create.sh
1073 - 'apex-upload-snapshot-artifact'
1076 name: 'apex-gs-clean-{stream}'
1078 # Job template for clean
1080 # Required Variables:
1081 # stream: branch with - in place of / (eg. stable)
1087 - project-parameter:
1088 project: '{project}'
1091 gs-pathname: '{gs-pathname}'
1097 - 'apex-gs-clean-{stream}'
1100 ########################
1102 ########################
1104 name: apex-parameter
1109 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1111 name: ARTIFACT_VERSION
1113 description: "Artifact version type"
1115 name: BUILD_DIRECTORY
1116 default: $WORKSPACE/build
1117 description: "Directory where the build artifact will be located upon the completion of the build."
1119 name: CACHE_DIRECTORY
1120 default: $HOME/opnfv/cache{gs-pathname}
1121 description: "Directory where the cache to be used during the build is located."
1124 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1125 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1128 default: '{gs-pathname}'
1129 description: "Version directory where opnfv artifacts are stored in gs repository"
1132 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
1133 description: "URL to Google Storage."
1135 ########################
1137 ########################
1139 name: 'apex-unit-test'
1142 !include-raw: ./apex-unit-test.sh
1148 !include-raw: ./apex-build.sh
1151 name: 'apex-workspace-cleanup'
1154 !include-raw: ./apex-workspace-cleanup.sh
1157 name: 'apex-iso-verify'
1160 !include-raw: ./apex-iso-verify.sh
1163 name: 'apex-upload-snapshot-artifact'
1165 - shell: ./apex-upload-artifact.sh snapshot
1168 name: 'apex-upload-iso-artifact'
1170 - shell: ./apex-upload-artifact.sh iso
1173 name: 'apex-upload-rpm-artifact'
1175 - shell: ./apex-upload-artifact.sh rpm
1178 name: 'apex-gs-cleanup'
1181 !include-raw: ./apex-gs-cleanup.sh
1187 !include-raw: ./apex-deploy.sh
1190 #######################
1192 ########################
1196 - timed: '0 3 1 1 7'
1200 - timed: '0 12 * * *'
1202 name: 'apex-gs-clean-{stream}'
1204 - timed: '0 2 * * *'