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}'
18 # stream: branch with - in place of / (eg. stable-arno)
19 # branch: branch (eg. stable/arno)
25 verify-slave: 'apex-verify-master'
26 daily-slave: 'apex-daily-master'
31 - 'os-nosdn-nofeature-noha'
32 - 'os-nosdn-nofeature-ha'
33 - 'os-nosdn-nofeature-ha-ipv6'
35 - 'os-nosdn-fdio-noha'
38 - 'os-odl_l2-netvirt_gbp_fdio-noha'
39 - 'os-odl_l2-sfc-noha'
40 - 'os-odl_l3-nofeature-ha'
43 - 'os-odl_l3-fdio-noha'
45 - 'os-odl_l3-fdio_dvr-noha'
46 - 'os-odl_l3-fdio_dvr-ha'
47 - 'os-odl_l3-csit-noha'
48 - 'os-onos-nofeature-ha'
57 name: 'apex-verify-unit-tests-{stream}'
59 node: '{verify-slave}'
65 gs-pathname: '{gs-pathname}'
71 default: https://gerrit.opnfv.org/gerrit/$PROJECT
72 description: "Used for overriding the GIT URL coming from parameters macro."
79 server-name: 'gerrit.opnfv.org'
81 - patchset-created-event:
82 exclude-drafts: 'false'
83 exclude-trivial-rebase: 'false'
84 exclude-no-code-change: 'true'
85 - draft-published-event
86 - comment-added-contains-event:
87 comment-contains-value: 'recheck'
88 - comment-added-contains-event:
89 comment-contains-value: 'reverify'
91 - project-compare-type: 'ANT'
92 project-pattern: 'apex'
94 - branch-compare-type: 'ANT'
95 branch-pattern: '**/{branch}'
111 name: 'apex-verify-{stream}'
113 node: '{verify-slave}'
119 gs-pathname: '{gs-pathname}'
125 default: https://gerrit.opnfv.org/gerrit/$PROJECT
126 description: "Used for overriding the GIT URL coming from parameters macro."
133 server-name: 'gerrit.opnfv.org'
135 - patchset-created-event:
136 exclude-drafts: 'false'
137 exclude-trivial-rebase: 'false'
138 exclude-no-code-change: 'true'
139 - draft-published-event
140 - comment-added-contains-event:
141 comment-contains-value: 'recheck'
142 - comment-added-contains-event:
143 comment-contains-value: 'reverify'
145 - project-compare-type: 'ANT'
146 project-pattern: 'apex'
148 - branch-compare-type: 'ANT'
149 branch-pattern: '**/{branch}'
163 use-build-blocker: true
180 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream}'
181 predefined-parameters: |
182 BUILD_DIRECTORY=apex-verify-{stream}
188 - project: 'functest-apex-{verify-slave}-suite-{stream}'
189 predefined-parameters: |
190 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
191 FUNCTEST_SUITE_NAME=healthcheck
195 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream}'
196 predefined-parameters: |
197 BUILD_DIRECTORY=apex-verify-{stream}
203 - project: 'functest-apex-{verify-slave}-suite-{stream}'
204 predefined-parameters: |
205 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
206 FUNCTEST_SUITE_NAME=healthcheck
209 - 'apex-workspace-cleanup'
211 # Verify Scenario Gate
213 name: 'apex-verify-gate-{stream}'
215 node: '{verify-slave}'
221 gs-pathname: '{gs-pathname}'
227 default: https://gerrit.opnfv.org/gerrit/$PROJECT
228 description: "Used for overriding the GIT URL coming from parameters macro."
235 server-name: 'gerrit.opnfv.org'
237 - comment-added-contains-event:
238 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
240 - project-compare-type: 'ANT'
241 project-pattern: 'apex'
243 - branch-compare-type: 'ANT'
244 branch-pattern: '**/{branch}'
258 use-build-blocker: true
274 - project: 'apex-deploy-virtual-gate-{stream}'
275 predefined-parameters: |
276 BUILD_DIRECTORY=apex-verify-gate-{stream}
278 current-parameters: true
283 - project: 'functest-apex-{verify-slave}-suite-{stream}'
284 predefined-parameters: |
285 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
286 FUNCTEST_SUITE_NAME=healthcheck
289 - 'apex-workspace-cleanup'
292 name: 'apex-runner-{platform}-{scenario}-{stream}'
294 # runner jobs for deploying manually
302 gs-pathname: '{gs-pathname}'
308 default: https://gerrit.opnfv.org/gerrit/$PROJECT
309 description: "Used for overriding the GIT URL coming from parameters macro."
317 use-build-blocker: true
325 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
326 predefined-parameters:
331 - project: 'yardstick-apex-{slave}-daily-{stream}'
332 predefined-parameters:
333 DEPLOY_SCENARIO={scenario}
336 build-step-failure-threshold: 'never'
337 failure-threshold: 'never'
338 unstable-threshold: 'FAILURE'
340 - project: 'functest-apex-{slave}-daily-{stream}'
341 predefined-parameters:
342 DEPLOY_SCENARIO={scenario}
345 build-step-failure-threshold: 'never'
346 failure-threshold: 'never'
347 unstable-threshold: 'FAILURE'
350 name: 'apex-runner-cperf-{stream}'
360 gs-pathname: '{gs-pathname}'
366 default: https://gerrit.opnfv.org/gerrit/$PROJECT
367 description: "Used for overriding the GIT URL coming from parameters macro."
375 use-build-blocker: false
386 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
387 predefined-parameters:
393 - project: 'cperf-apex-intel-pod2-daily-{stream}'
394 predefined-parameters:
395 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
400 name: 'apex-build-{stream}'
402 # Job template for builds
404 # Required Variables:
405 # stream: branch with - in place of / (eg. stable)
406 # branch: branch (eg. stable)
407 node: '{daily-slave}'
418 gs-pathname: '{gs-pathname}'
421 default: https://gerrit.opnfv.org/gerrit/$PROJECT
422 description: "Used for overriding the GIT URL coming from parameters macro."
430 use-build-blocker: true
442 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
443 predefined-parameters: |
444 BUILD_DIRECTORY=apex-build-{stream}/.build
449 - 'apex-upload-artifact'
452 name: 'apex-deploy-virtual-{scenario}-{stream}'
454 # Job template for virtual deployment
456 # Required Variables:
457 # stream: branch with - in place of / (eg. stable)
458 # branch: branch (eg. stable)
473 gs-pathname: '{gs-pathname}'
475 name: DEPLOY_SCENARIO
476 default: '{scenario}'
477 description: "Scenario to deploy with."
481 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
486 use-build-blocker: true
497 - 'apex-workspace-cleanup'
500 name: 'apex-deploy-baremetal-{scenario}-{stream}'
502 # Job template for baremetal deployment
504 # Required Variables:
505 # stream: branch with - in place of / (eg. stable)
506 # branch: branch (eg. stable)
519 gs-pathname: '{gs-pathname}'
521 name: DEPLOY_SCENARIO
522 default: '{scenario}'
523 description: "Scenario to deploy with."
528 use-build-blocker: true
538 - 'apex-workspace-cleanup'
542 name: 'apex-daily-{stream}'
544 # Job template for daily build
546 # Required Variables:
547 # stream: branch with - in place of / (eg. stable)
548 # branch: branch (eg. stable)
549 node: '{daily-slave}'
561 gs-pathname: '{gs-pathname}'
566 use-build-blocker: true
580 - project: 'apex-build-{stream}'
582 current-parameters: true
586 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
587 predefined-parameters: |
588 BUILD_DIRECTORY=apex-build-{stream}/.build
593 build-step-failure-threshold: 'never'
596 - project: 'functest-apex-{daily-slave}-daily-{stream}'
597 predefined-parameters:
598 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
602 build-step-failure-threshold: 'never'
603 failure-threshold: 'never'
604 unstable-threshold: 'FAILURE'
606 - project: 'yardstick-apex-{slave}-daily-{stream}'
607 predefined-parameters:
608 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
612 build-step-failure-threshold: 'never'
613 failure-threshold: 'never'
614 unstable-threshold: 'FAILURE'
616 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
617 predefined-parameters: |
618 BUILD_DIRECTORY=apex-build-{stream}/.build
623 build-step-failure-threshold: 'never'
626 - project: 'functest-apex-{daily-slave}-daily-{stream}'
627 predefined-parameters:
628 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
632 build-step-failure-threshold: 'never'
633 failure-threshold: 'never'
634 unstable-threshold: 'FAILURE'
636 - project: 'yardstick-apex-{slave}-daily-{stream}'
637 predefined-parameters:
638 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
642 build-step-failure-threshold: 'never'
643 failure-threshold: 'never'
644 unstable-threshold: 'FAILURE'
646 - project: 'apex-deploy-baremetal-os-odl-bgpvpn-ha-{stream}'
647 predefined-parameters: |
648 BUILD_DIRECTORY=apex-build-{stream}/.build
653 build-step-failure-threshold: 'never'
656 - project: 'functest-apex-{daily-slave}-daily-{stream}'
657 predefined-parameters:
658 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
662 build-step-failure-threshold: 'never'
663 failure-threshold: 'never'
664 unstable-threshold: 'FAILURE'
666 - project: 'yardstick-apex-{slave}-daily-{stream}'
667 predefined-parameters:
668 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
672 build-step-failure-threshold: 'never'
673 failure-threshold: 'never'
674 unstable-threshold: 'FAILURE'
677 name: 'apex-build-colorado'
679 # Job template for builds
681 # Required Variables:
682 # stream: branch with - in place of / (eg. stable)
683 # branch: branch (eg. stable)
684 node: 'apex-daily-colorado'
693 branch: 'stable/colorado'
695 gs-pathname: '/colorado'
698 default: https://gerrit.opnfv.org/gerrit/$PROJECT
699 description: "Used for overriding the GIT URL coming from parameters macro."
707 use-build-blocker: true
718 - 'apex-upload-artifact'
721 # Colorado FDIO Deploy
723 name: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
725 # Job template for baremetal deployment
727 # Required Variables:
728 # stream: branch with - in place of / (eg. stable)
729 # branch: branch (eg. stable)
740 branch: 'stable/colorado'
742 gs-pathname: '/colorado'
744 name: DEPLOY_SCENARIO
745 default: 'os-odl_l2-fdio-ha'
746 description: "Scenario to deploy with."
751 use-build-blocker: true
761 - 'apex-workspace-cleanup'
763 # Colorado FDIO Daily
765 name: 'apex-daily-colorado'
767 # Job template for daily build
769 # Required Variables:
770 # stream: branch with - in place of / (eg. stable)
771 # branch: branch (eg. stable)
772 node: 'apex-daily-colorado'
782 branch: 'stable/colorado'
784 gs-pathname: '/colorado'
789 use-build-blocker: true
802 - project: 'apex-build-colorado'
804 current-parameters: true
808 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
809 predefined-parameters: |
810 BUILD_DIRECTORY=apex-build-colorado/.build
815 build-step-failure-threshold: 'never'
818 - project: 'functest-apex-apex-daily-colorado-daily-colorado'
819 predefined-parameters:
820 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
824 build-step-failure-threshold: 'never'
825 failure-threshold: 'never'
826 unstable-threshold: 'FAILURE'
830 name: 'apex-csit-promote-daily-{stream}'
832 # Job template for promoting CSIT Snapshots
834 # Required Variables:
835 # stream: branch with - in place of / (eg. stable)
836 # branch: branch (eg. stable)
837 node: '{daily-slave}'
849 gs-pathname: '{gs-pathname}'
853 use-build-blocker: true
863 - timed: '0 12 * * 0'
868 - project: 'apex-deploy-virtual-os-odl_l3-csit-noha-{stream}'
869 predefined-parameters: |
870 BUILD_DIRECTORY=apex-csit-promote-daily-{stream}
876 - project: 'functest-apex-{daily-slave}-suite-{stream}'
877 predefined-parameters: |
878 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
879 FUNCTEST_SUITE_NAME=tempest_smoke_serial
883 !include-raw-escape: ./apex-snapshot-create.sh
885 !include-raw-escape: ./apex-upload-artifact.sh
888 name: 'apex-gs-clean-{stream}'
890 # Job template for clean
892 # Required Variables:
893 # stream: branch with - in place of / (eg. stable)
903 gs-pathname: '{gs-pathname}'
909 - 'apex-gs-clean-{stream}'
912 ########################
914 ########################
921 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
923 name: ARTIFACT_VERSION
925 description: "Artifact version type"
927 name: BUILD_DIRECTORY
928 default: $WORKSPACE/build
929 description: "Directory where the build artifact will be located upon the completion of the build."
931 name: CACHE_DIRECTORY
932 default: $HOME/opnfv/cache{gs-pathname}
933 description: "Directory where the cache to be used during the build is located."
936 default: https://gerrit.opnfv.org/gerrit/$PROJECT
937 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
940 default: '{gs-pathname}'
941 description: "Version directory where opnfv artifacts are stored in gs repository"
944 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
945 description: "URL to Google Storage."
947 ########################
949 ########################
951 name: 'apex-unit-test'
954 !include-raw: ./apex-unit-test.sh
960 !include-raw: ./apex-build.sh
963 name: 'apex-workspace-cleanup'
966 !include-raw: ./apex-workspace-cleanup.sh
969 name: 'apex-upload-artifact'
972 !include-raw: ./apex-upload-artifact.sh
975 name: 'apex-gs-cleanup'
978 !include-raw: ./apex-gs-cleanup.sh
984 !include-raw: ./apex-deploy.sh
987 #######################
989 ########################
995 name: 'apex-colorado'
997 - timed: '0 12 * * *'
999 name: 'apex-gs-clean-{stream}'
1001 - timed: '0 2 * * *'