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-daily-colorado'
14 - 'apex-build-colorado'
15 - 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
16 - 'apex-csit-promote-daily-{stream}'
17 - 'apex-fdio-promote-daily-{stream}'
19 # stream: branch with - in place of / (eg. stable-arno)
20 # branch: branch (eg. stable/arno)
26 verify-slave: 'apex-verify-master'
27 daily-slave: 'apex-daily-master'
32 - 'os-nosdn-nofeature-noha'
33 - 'os-nosdn-nofeature-ha'
34 - 'os-nosdn-nofeature-ha-ipv6'
36 - 'os-nosdn-fdio-noha'
38 - 'os-odl_l2-fdio-noha'
40 - 'os-odl_l2-netvirt_gbp_fdio-noha'
41 - 'os-odl_l2-sfc-noha'
42 - 'os-odl_l3-nofeature-ha'
45 - 'os-odl_l3-fdio-noha'
47 - 'os-odl_l3-fdio_dvr-noha'
48 - 'os-odl_l3-fdio_dvr-ha'
49 - 'os-odl_l3-csit-noha'
50 - 'os-onos-nofeature-ha'
59 name: 'apex-verify-unit-tests-{stream}'
61 node: '{verify-slave}'
67 gs-pathname: '{gs-pathname}'
73 default: https://gerrit.opnfv.org/gerrit/$PROJECT
74 description: "Used for overriding the GIT URL coming from parameters macro."
81 server-name: 'gerrit.opnfv.org'
83 - patchset-created-event:
84 exclude-drafts: 'false'
85 exclude-trivial-rebase: 'false'
86 exclude-no-code-change: 'true'
87 - draft-published-event
88 - comment-added-contains-event:
89 comment-contains-value: 'recheck'
90 - comment-added-contains-event:
91 comment-contains-value: 'reverify'
93 - project-compare-type: 'ANT'
94 project-pattern: 'apex'
96 - branch-compare-type: 'ANT'
97 branch-pattern: '**/{branch}'
113 name: 'apex-verify-{stream}'
115 node: '{verify-slave}'
121 gs-pathname: '{gs-pathname}'
127 default: https://gerrit.opnfv.org/gerrit/$PROJECT
128 description: "Used for overriding the GIT URL coming from parameters macro."
135 server-name: 'gerrit.opnfv.org'
137 - patchset-created-event:
138 exclude-drafts: 'false'
139 exclude-trivial-rebase: 'false'
140 exclude-no-code-change: 'true'
141 - draft-published-event
142 - comment-added-contains-event:
143 comment-contains-value: 'recheck'
144 - comment-added-contains-event:
145 comment-contains-value: 'reverify'
147 - project-compare-type: 'ANT'
148 project-pattern: 'apex'
150 - branch-compare-type: 'ANT'
151 branch-pattern: '**/{branch}'
165 use-build-blocker: true
182 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream}'
183 predefined-parameters: |
184 BUILD_DIRECTORY=apex-verify-{stream}
190 - project: 'functest-apex-{verify-slave}-suite-{stream}'
191 predefined-parameters: |
192 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
193 FUNCTEST_SUITE_NAME=healthcheck
196 - 'apex-workspace-cleanup'
198 # Verify Scenario Gate
200 name: 'apex-verify-gate-{stream}'
202 node: '{verify-slave}'
208 gs-pathname: '{gs-pathname}'
214 default: https://gerrit.opnfv.org/gerrit/$PROJECT
215 description: "Used for overriding the GIT URL coming from parameters macro."
222 server-name: 'gerrit.opnfv.org'
224 - comment-added-contains-event:
225 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
227 - project-compare-type: 'ANT'
228 project-pattern: 'apex'
230 - branch-compare-type: 'ANT'
231 branch-pattern: '**/{branch}'
245 use-build-blocker: true
261 - project: 'apex-deploy-virtual-gate-{stream}'
262 predefined-parameters: |
263 BUILD_DIRECTORY=apex-verify-gate-{stream}
265 current-parameters: true
270 - project: 'functest-apex-{verify-slave}-suite-{stream}'
271 predefined-parameters: |
272 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
273 FUNCTEST_SUITE_NAME=healthcheck
276 - 'apex-workspace-cleanup'
279 name: 'apex-runner-{platform}-{scenario}-{stream}'
281 # runner jobs for deploying manually
289 gs-pathname: '{gs-pathname}'
295 default: https://gerrit.opnfv.org/gerrit/$PROJECT
296 description: "Used for overriding the GIT URL coming from parameters macro."
304 use-build-blocker: true
308 - 'apex-.*-promote.*'
312 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
313 predefined-parameters:
318 - project: 'yardstick-apex-{slave}-daily-{stream}'
319 predefined-parameters:
320 DEPLOY_SCENARIO={scenario}
323 build-step-failure-threshold: 'never'
324 failure-threshold: 'never'
325 unstable-threshold: 'FAILURE'
327 - project: 'functest-apex-{slave}-daily-{stream}'
328 predefined-parameters:
329 DEPLOY_SCENARIO={scenario}
332 build-step-failure-threshold: 'never'
333 failure-threshold: 'never'
334 unstable-threshold: 'FAILURE'
337 name: 'apex-runner-cperf-{stream}'
347 gs-pathname: '{gs-pathname}'
353 default: https://gerrit.opnfv.org/gerrit/$PROJECT
354 description: "Used for overriding the GIT URL coming from parameters macro."
362 use-build-blocker: false
373 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
374 predefined-parameters:
380 - project: 'cperf-apex-intel-pod2-daily-{stream}'
381 predefined-parameters:
382 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
387 name: 'apex-build-{stream}'
389 # Job template for builds
391 # Required Variables:
392 # stream: branch with - in place of / (eg. stable)
393 # branch: branch (eg. stable)
394 node: '{daily-slave}'
405 gs-pathname: '{gs-pathname}'
408 default: https://gerrit.opnfv.org/gerrit/$PROJECT
409 description: "Used for overriding the GIT URL coming from parameters macro."
417 use-build-blocker: true
429 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
430 predefined-parameters: |
431 BUILD_DIRECTORY=apex-build-{stream}/.build
436 - 'apex-upload-artifact'
439 name: 'apex-deploy-virtual-{scenario}-{stream}'
441 # Job template for virtual deployment
443 # Required Variables:
444 # stream: branch with - in place of / (eg. stable)
445 # branch: branch (eg. stable)
460 gs-pathname: '{gs-pathname}'
462 name: DEPLOY_SCENARIO
463 default: '{scenario}'
464 description: "Scenario to deploy with."
468 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
473 use-build-blocker: true
484 - 'apex-workspace-cleanup'
487 name: 'apex-deploy-baremetal-{scenario}-{stream}'
489 # Job template for baremetal deployment
491 # Required Variables:
492 # stream: branch with - in place of / (eg. stable)
493 # branch: branch (eg. stable)
506 gs-pathname: '{gs-pathname}'
508 name: DEPLOY_SCENARIO
509 default: '{scenario}'
510 description: "Scenario to deploy with."
515 use-build-blocker: true
525 - 'apex-workspace-cleanup'
529 name: 'apex-daily-{stream}'
531 # Job template for daily build
533 # Required Variables:
534 # stream: branch with - in place of / (eg. stable)
535 # branch: branch (eg. stable)
536 node: '{daily-slave}'
548 gs-pathname: '{gs-pathname}'
553 use-build-blocker: true
560 - 'apex-.*-promote.*'
567 - project: 'apex-build-{stream}'
569 current-parameters: true
573 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
574 predefined-parameters: |
575 BUILD_DIRECTORY=apex-build-{stream}/.build
580 build-step-failure-threshold: 'never'
583 - project: 'functest-apex-{daily-slave}-daily-{stream}'
584 predefined-parameters:
585 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
589 build-step-failure-threshold: 'never'
590 failure-threshold: 'never'
591 unstable-threshold: 'FAILURE'
593 - project: 'yardstick-apex-{slave}-daily-{stream}'
594 predefined-parameters:
595 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
599 build-step-failure-threshold: 'never'
600 failure-threshold: 'never'
601 unstable-threshold: 'FAILURE'
602 # 1.dovetail only master by now, not sync with A/B/C branches
603 # 2.here the stream means the SUT stream, dovetail stream is defined in its own job
604 # 3.only debug testsuite here(includes basic testcase,
605 # i.e. one tempest smoke ipv6, two vping from functest)
606 # 4.not used for release criteria or compliance,
607 # only to debug the dovetail tool bugs with apex
609 - project: 'dovetail-apex-{slave}-debug-{stream}'
610 current-parameters: false
611 predefined-parameters:
612 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
616 build-step-failure-threshold: 'never'
617 failure-threshold: 'never'
618 unstable-threshold: 'FAILURE'
620 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
621 predefined-parameters: |
622 BUILD_DIRECTORY=apex-build-{stream}/.build
627 build-step-failure-threshold: 'never'
630 - project: 'functest-apex-{daily-slave}-daily-{stream}'
631 predefined-parameters:
632 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
636 build-step-failure-threshold: 'never'
637 failure-threshold: 'never'
638 unstable-threshold: 'FAILURE'
640 - project: 'yardstick-apex-{slave}-daily-{stream}'
641 predefined-parameters:
642 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
646 build-step-failure-threshold: 'never'
647 failure-threshold: 'never'
648 unstable-threshold: 'FAILURE'
650 - project: 'apex-deploy-baremetal-os-odl-bgpvpn-ha-{stream}'
651 predefined-parameters: |
652 BUILD_DIRECTORY=apex-build-{stream}/.build
657 build-step-failure-threshold: 'never'
660 - project: 'functest-apex-{daily-slave}-daily-{stream}'
661 predefined-parameters:
662 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
666 build-step-failure-threshold: 'never'
667 failure-threshold: 'never'
668 unstable-threshold: 'FAILURE'
670 - project: 'yardstick-apex-{slave}-daily-{stream}'
671 predefined-parameters:
672 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
676 build-step-failure-threshold: 'never'
677 failure-threshold: 'never'
678 unstable-threshold: 'FAILURE'
680 - project: 'apex-deploy-baremetal-os-odl-gluon-noha-{stream}'
681 predefined-parameters: |
682 BUILD_DIRECTORY=apex-build-{stream}/.build
687 build-step-failure-threshold: 'never'
690 - project: 'functest-apex-{daily-slave}-daily-{stream}'
691 predefined-parameters:
692 DEPLOY_SCENARIO=os-odl-gluon-noha
696 build-step-failure-threshold: 'never'
697 failure-threshold: 'never'
698 unstable-threshold: 'FAILURE'
700 - project: 'yardstick-apex-{slave}-daily-{stream}'
701 predefined-parameters:
702 DEPLOY_SCENARIO=os-odl-gluon-noha
706 build-step-failure-threshold: 'never'
707 failure-threshold: 'never'
708 unstable-threshold: 'FAILURE'
710 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-noha-{stream}'
711 predefined-parameters: |
712 BUILD_DIRECTORY=apex-build-{stream}/.build
717 build-step-failure-threshold: 'never'
720 - project: 'functest-apex-{daily-slave}-daily-{stream}'
721 predefined-parameters:
722 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
726 build-step-failure-threshold: 'never'
727 failure-threshold: 'never'
728 unstable-threshold: 'FAILURE'
730 - project: 'yardstick-apex-{slave}-daily-{stream}'
731 predefined-parameters:
732 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
736 build-step-failure-threshold: 'never'
737 failure-threshold: 'never'
738 unstable-threshold: 'FAILURE'
740 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-{stream}'
741 predefined-parameters: |
742 BUILD_DIRECTORY=apex-build-{stream}/.build
747 build-step-failure-threshold: 'never'
750 - project: 'functest-apex-{daily-slave}-daily-{stream}'
751 predefined-parameters:
752 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
756 build-step-failure-threshold: 'never'
757 failure-threshold: 'never'
758 unstable-threshold: 'FAILURE'
760 - project: 'yardstick-apex-{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'
772 name: 'apex-build-colorado'
774 # Job template for builds
776 # Required Variables:
777 # stream: branch with - in place of / (eg. stable)
778 # branch: branch (eg. stable)
779 node: 'apex-daily-colorado'
788 branch: 'stable/colorado'
790 gs-pathname: '/colorado'
793 default: https://gerrit.opnfv.org/gerrit/$PROJECT
794 description: "Used for overriding the GIT URL coming from parameters macro."
802 use-build-blocker: true
813 - 'apex-upload-artifact'
816 # Colorado FDIO Deploy
818 name: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
820 # Job template for baremetal deployment
822 # Required Variables:
823 # stream: branch with - in place of / (eg. stable)
824 # branch: branch (eg. stable)
835 branch: 'stable/colorado'
837 gs-pathname: '/colorado'
839 name: DEPLOY_SCENARIO
840 default: 'os-odl_l2-fdio-ha'
841 description: "Scenario to deploy with."
846 use-build-blocker: true
856 - 'apex-workspace-cleanup'
858 # Colorado FDIO Daily
860 name: 'apex-daily-colorado'
862 # Job template for daily build
864 # Required Variables:
865 # stream: branch with - in place of / (eg. stable)
866 # branch: branch (eg. stable)
867 node: 'apex-daily-colorado'
877 branch: 'stable/colorado'
879 gs-pathname: '/colorado'
884 use-build-blocker: true
897 - project: 'apex-build-colorado'
899 current-parameters: true
903 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
904 predefined-parameters: |
905 BUILD_DIRECTORY=apex-build-colorado/.build
910 build-step-failure-threshold: 'never'
913 - project: 'functest-apex-apex-daily-colorado-daily-colorado'
914 predefined-parameters:
915 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
919 build-step-failure-threshold: 'never'
920 failure-threshold: 'never'
921 unstable-threshold: 'FAILURE'
925 name: 'apex-csit-promote-daily-{stream}'
927 # Job template for promoting CSIT Snapshots
929 # Required Variables:
930 # stream: branch with - in place of / (eg. stable)
931 # branch: branch (eg. stable)
932 node: '{daily-slave}'
944 gs-pathname: '{gs-pathname}'
948 use-build-blocker: true
958 - timed: '0 12 * * 0'
963 - project: 'apex-deploy-virtual-os-odl_l3-csit-noha-{stream}'
964 predefined-parameters: |
965 BUILD_DIRECTORY=apex-csit-promote-daily-{stream}
971 - project: 'functest-apex-{daily-slave}-suite-{stream}'
972 predefined-parameters: |
973 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
974 FUNCTEST_SUITE_NAME=tempest_smoke_serial
978 !include-raw-escape: ./apex-snapshot-create.sh
980 !include-raw-escape: ./apex-upload-artifact.sh
984 name: 'apex-fdio-promote-daily-{stream}'
986 # Job template for promoting CSIT Snapshots
988 # Required Variables:
989 # stream: branch with - in place of / (eg. stable)
990 # branch: branch (eg. stable)
991 node: '{daily-slave}'
1000 project: '{project}'
1003 gs-pathname: '{gs-pathname}'
1007 use-build-blocker: true
1019 - project: 'apex-deploy-virtual-os-odl_l2-fdio-noha-{stream}'
1020 predefined-parameters: |
1021 BUILD_DIRECTORY=apex-fdio-promote-daily-{stream}
1027 !include-raw-escape: ./apex-snapshot-create.sh
1029 !include-raw-escape: ./apex-upload-artifact.sh
1032 name: 'apex-gs-clean-{stream}'
1034 # Job template for clean
1036 # Required Variables:
1037 # stream: branch with - in place of / (eg. stable)
1043 - project-parameter:
1044 project: '{project}'
1047 gs-pathname: '{gs-pathname}'
1053 - 'apex-gs-clean-{stream}'
1056 ########################
1058 ########################
1060 name: apex-parameter
1065 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1067 name: ARTIFACT_VERSION
1069 description: "Artifact version type"
1071 name: BUILD_DIRECTORY
1072 default: $WORKSPACE/build
1073 description: "Directory where the build artifact will be located upon the completion of the build."
1075 name: CACHE_DIRECTORY
1076 default: $HOME/opnfv/cache{gs-pathname}
1077 description: "Directory where the cache to be used during the build is located."
1080 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1081 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1084 default: '{gs-pathname}'
1085 description: "Version directory where opnfv artifacts are stored in gs repository"
1088 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
1089 description: "URL to Google Storage."
1091 ########################
1093 ########################
1095 name: 'apex-unit-test'
1098 !include-raw: ./apex-unit-test.sh
1104 !include-raw: ./apex-build.sh
1107 name: 'apex-workspace-cleanup'
1110 !include-raw: ./apex-workspace-cleanup.sh
1113 name: 'apex-upload-artifact'
1116 !include-raw: ./apex-upload-artifact.sh
1119 name: 'apex-gs-cleanup'
1122 !include-raw: ./apex-gs-cleanup.sh
1128 !include-raw: ./apex-deploy.sh
1131 #######################
1133 ########################
1137 - timed: '0 3 * * *'
1139 name: 'apex-colorado'
1141 - timed: '0 12 * * *'
1143 name: 'apex-gs-clean-{stream}'
1145 - timed: '0 2 * * *'