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'
676 - project: 'apex-deploy-baremetal-os-odl-gluon-noha-{stream}'
677 predefined-parameters: |
678 BUILD_DIRECTORY=apex-build-{stream}/.build
683 build-step-failure-threshold: 'never'
686 - project: 'functest-apex-{daily-slave}-daily-{stream}'
687 predefined-parameters:
688 DEPLOY_SCENARIO=os-odl-gluon-noha
692 build-step-failure-threshold: 'never'
693 failure-threshold: 'never'
694 unstable-threshold: 'FAILURE'
696 - project: 'yardstick-apex-{slave}-daily-{stream}'
697 predefined-parameters:
698 DEPLOY_SCENARIO=os-odl-gluon-noha
702 build-step-failure-threshold: 'never'
703 failure-threshold: 'never'
704 unstable-threshold: 'FAILURE'
707 name: 'apex-build-colorado'
709 # Job template for builds
711 # Required Variables:
712 # stream: branch with - in place of / (eg. stable)
713 # branch: branch (eg. stable)
714 node: 'apex-daily-colorado'
723 branch: 'stable/colorado'
725 gs-pathname: '/colorado'
728 default: https://gerrit.opnfv.org/gerrit/$PROJECT
729 description: "Used for overriding the GIT URL coming from parameters macro."
737 use-build-blocker: true
748 - 'apex-upload-artifact'
751 # Colorado FDIO Deploy
753 name: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
755 # Job template for baremetal deployment
757 # Required Variables:
758 # stream: branch with - in place of / (eg. stable)
759 # branch: branch (eg. stable)
770 branch: 'stable/colorado'
772 gs-pathname: '/colorado'
774 name: DEPLOY_SCENARIO
775 default: 'os-odl_l2-fdio-ha'
776 description: "Scenario to deploy with."
781 use-build-blocker: true
791 - 'apex-workspace-cleanup'
793 # Colorado FDIO Daily
795 name: 'apex-daily-colorado'
797 # Job template for daily build
799 # Required Variables:
800 # stream: branch with - in place of / (eg. stable)
801 # branch: branch (eg. stable)
802 node: 'apex-daily-colorado'
812 branch: 'stable/colorado'
814 gs-pathname: '/colorado'
819 use-build-blocker: true
832 - project: 'apex-build-colorado'
834 current-parameters: true
838 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-ha-colorado'
839 predefined-parameters: |
840 BUILD_DIRECTORY=apex-build-colorado/.build
845 build-step-failure-threshold: 'never'
848 - project: 'functest-apex-apex-daily-colorado-daily-colorado'
849 predefined-parameters:
850 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
854 build-step-failure-threshold: 'never'
855 failure-threshold: 'never'
856 unstable-threshold: 'FAILURE'
860 name: 'apex-csit-promote-daily-{stream}'
862 # Job template for promoting CSIT Snapshots
864 # Required Variables:
865 # stream: branch with - in place of / (eg. stable)
866 # branch: branch (eg. stable)
867 node: '{daily-slave}'
879 gs-pathname: '{gs-pathname}'
883 use-build-blocker: true
893 - timed: '0 12 * * 0'
898 - project: 'apex-deploy-virtual-os-odl_l3-csit-noha-{stream}'
899 predefined-parameters: |
900 BUILD_DIRECTORY=apex-csit-promote-daily-{stream}
906 - project: 'functest-apex-{daily-slave}-suite-{stream}'
907 predefined-parameters: |
908 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
909 FUNCTEST_SUITE_NAME=tempest_smoke_serial
913 !include-raw-escape: ./apex-snapshot-create.sh
915 !include-raw-escape: ./apex-upload-artifact.sh
918 name: 'apex-gs-clean-{stream}'
920 # Job template for clean
922 # Required Variables:
923 # stream: branch with - in place of / (eg. stable)
933 gs-pathname: '{gs-pathname}'
939 - 'apex-gs-clean-{stream}'
942 ########################
944 ########################
951 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
953 name: ARTIFACT_VERSION
955 description: "Artifact version type"
957 name: BUILD_DIRECTORY
958 default: $WORKSPACE/build
959 description: "Directory where the build artifact will be located upon the completion of the build."
961 name: CACHE_DIRECTORY
962 default: $HOME/opnfv/cache{gs-pathname}
963 description: "Directory where the cache to be used during the build is located."
966 default: https://gerrit.opnfv.org/gerrit/$PROJECT
967 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
970 default: '{gs-pathname}'
971 description: "Version directory where opnfv artifacts are stored in gs repository"
974 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
975 description: "URL to Google Storage."
977 ########################
979 ########################
981 name: 'apex-unit-test'
984 !include-raw: ./apex-unit-test.sh
990 !include-raw: ./apex-build.sh
993 name: 'apex-workspace-cleanup'
996 !include-raw: ./apex-workspace-cleanup.sh
999 name: 'apex-upload-artifact'
1002 !include-raw: ./apex-upload-artifact.sh
1005 name: 'apex-gs-cleanup'
1008 !include-raw: ./apex-gs-cleanup.sh
1014 !include-raw: ./apex-deploy.sh
1017 #######################
1019 ########################
1023 - timed: '0 3 * * *'
1025 name: 'apex-colorado'
1027 - timed: '0 12 * * *'
1029 name: 'apex-gs-clean-{stream}'
1031 - timed: '0 2 * * *'