4 - 'apex-verify-{stream}'
5 - 'apex-verify-unit-tests-{stream}'
6 - 'apex-runner-{platform}-{scenario}-{stream}'
7 - 'apex-runner-cperf-{stream}'
8 - 'apex-build-{stream}'
9 - 'apex-deploy-virtual-{scenario}-{stream}'
10 - 'apex-deploy-baremetal-{scenario}-{stream}'
11 - 'apex-daily-{stream}'
13 # stream: branch with - in place of / (eg. stable-arno)
14 # branch: branch (eg. stable/arno)
19 block-stream: 'colorado'
21 verify-slave: 'apex-verify-master'
22 daily-slave: 'apex-daily-master'
24 branch: 'stable/colorado'
25 gs-pathname: '/colorado'
26 block-stream: 'master'
28 verify-slave: 'apex-verify-colorado'
29 daily-slave: 'apex-daily-colorado'
36 block-stream: 'colorado'
38 verify-slave: 'apex-verify-master'
39 daily-slave: 'apex-daily-master'
43 branch: 'stable/colorado'
44 gs-pathname: '/colorado'
45 block-stream: 'master'
47 verify-slave: 'apex-verify-colorado'
48 daily-slave: 'apex-daily-colorado'
54 - 'os-nosdn-nofeature-noha'
55 - 'os-nosdn-nofeature-ha'
56 - 'os-nosdn-nofeature-ha-ipv6'
58 - 'os-nosdn-fdio-noha'
59 - 'os-odl_l2-nofeature-ha'
60 - 'os-odl_l2-bgpvpn-ha'
61 - 'os-odl_l2-fdio-noha'
62 - 'os-odl_l2-sfc-noha'
63 - 'os-odl_l3-nofeature-ha'
64 - 'os-onos-nofeature-ha'
66 - 'os-ocl-nofeature-ha'
74 name: 'apex-verify-unit-tests-{stream}'
76 node: '{verify-slave}'
82 gs-pathname: '{gs-pathname}'
89 default: https://gerrit.opnfv.org/gerrit/$PROJECT
90 description: "Used for overriding the GIT URL coming from parameters macro."
94 credentials-id: '{ssh-credentials}'
95 refspec: '$GERRIT_REFSPEC'
96 choosing-strategy: 'gerrit'
101 - patchset-created-event:
102 exclude-drafts: 'false'
103 exclude-trivial-rebase: 'false'
104 exclude-no-code-change: 'true'
105 - draft-published-event
106 - comment-added-contains-event:
107 comment-contains-value: 'recheck'
108 - comment-added-contains-event:
109 comment-contains-value: 'reverify'
111 - project-compare-type: 'ANT'
112 project-pattern: 'apex'
114 - branch-compare-type: 'ANT'
115 branch-pattern: '**/{branch}'
130 name: 'apex-verify-{stream}'
132 node: '{verify-slave}'
138 gs-pathname: '{gs-pathname}'
145 default: https://gerrit.opnfv.org/gerrit/$PROJECT
146 description: "Used for overriding the GIT URL coming from parameters macro."
149 - gerrit-trigger-scm:
150 credentials-id: '{ssh-credentials}'
151 refspec: '$GERRIT_REFSPEC'
152 choosing-strategy: 'gerrit'
157 - patchset-created-event:
158 exclude-drafts: 'false'
159 exclude-trivial-rebase: 'false'
160 exclude-no-code-change: 'true'
161 - draft-published-event
162 - comment-added-contains-event:
163 comment-contains-value: 'recheck'
164 - comment-added-contains-event:
165 comment-contains-value: 'reverify'
167 - project-compare-type: 'ANT'
168 project-pattern: 'apex'
170 - branch-compare-type: 'ANT'
171 branch-pattern: '**/{branch}'
184 use-build-blocker: true
201 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream}'
202 predefined-parameters: |
203 BUILD_DIRECTORY=apex-verify-{stream}
209 - project: 'functest-apex-{verify-slave}-suite-{stream}'
210 predefined-parameters: |
211 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
212 FUNCTEST_SUITE_NAME=healthcheck
216 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream}'
217 predefined-parameters: |
218 BUILD_DIRECTORY=apex-verify-{stream}
224 - project: 'functest-apex-{verify-slave}-suite-{stream}'
225 predefined-parameters: |
226 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
227 FUNCTEST_SUITE_NAME=healthcheck
230 - 'apex-workspace-cleanup'
233 name: 'apex-runner-{platform}-{scenario}-{stream}'
235 # runner jobs for deploying manually
243 gs-pathname: '{gs-pathname}'
250 default: https://gerrit.opnfv.org/gerrit/$PROJECT
251 description: "Used for overriding the GIT URL coming from parameters macro."
254 - gerrit-trigger-scm:
255 credentials-id: '{ssh-credentials}'
257 choosing-strategy: 'default'
261 use-build-blocker: true
268 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
269 predefined-parameters:
274 - project: 'yardstick-apex-{slave}-daily-{stream}'
275 predefined-parameters:
276 DEPLOY_SCENARIO={scenario}
279 build-step-failure-threshold: 'never'
280 failure-threshold: 'never'
281 unstable-threshold: 'FAILURE'
283 - project: 'functest-apex-{slave}-daily-{stream}'
284 predefined-parameters:
285 DEPLOY_SCENARIO={scenario}
288 build-step-failure-threshold: 'never'
289 failure-threshold: 'never'
290 unstable-threshold: 'FAILURE'
293 name: 'apex-runner-cperf-{stream}'
303 gs-pathname: '{gs-pathname}'
310 default: https://gerrit.opnfv.org/gerrit/$PROJECT
311 description: "Used for overriding the GIT URL coming from parameters macro."
314 - gerrit-trigger-scm:
315 credentials-id: '{ssh-credentials}'
317 choosing-strategy: 'default'
321 use-build-blocker: false
332 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
333 predefined-parameters:
338 - project: 'cperf-apex-intel-pod2-daily-{stream}'
339 predefined-parameters:
340 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
345 name: 'apex-build-{stream}'
347 # Job template for builds
349 # Required Variables:
350 # stream: branch with - in place of / (eg. stable)
351 # branch: branch (eg. stable)
352 node: '{daily-slave}'
362 gs-pathname: '{gs-pathname}'
367 default: https://gerrit.opnfv.org/gerrit/$PROJECT
368 description: "Used for overriding the GIT URL coming from parameters macro."
372 credentials-id: '{ssh-credentials}'
378 use-build-blocker: true
390 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
391 predefined-parameters: |
392 BUILD_DIRECTORY=apex-build-{stream}/build
397 - 'apex-upload-artifact'
400 name: 'apex-deploy-virtual-{scenario}-{stream}'
402 # Job template for virtual deployment
404 # Required Variables:
405 # stream: branch with - in place of / (eg. stable)
406 # branch: branch (eg. stable)
415 credentials-id: '{ssh-credentials}'
423 gs-pathname: '{gs-pathname}'
425 name: DEPLOY_SCENARIO
426 default: '{scenario}'
427 description: "Scenario to deploy with."
431 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
435 use-build-blocker: true
446 - 'apex-workspace-cleanup'
449 name: 'apex-deploy-baremetal-{scenario}-{stream}'
451 # Job template for baremetal deployment
453 # Required Variables:
454 # stream: branch with - in place of / (eg. stable)
455 # branch: branch (eg. stable)
462 credentials-id: '{ssh-credentials}'
470 gs-pathname: '{gs-pathname}'
472 name: DEPLOY_SCENARIO
473 default: '{scenario}'
474 description: "Scenario to deploy with."
478 use-build-blocker: true
488 - 'apex-workspace-cleanup'
492 name: 'apex-daily-{stream}'
494 # Job template for daily build
496 # Required Variables:
497 # stream: branch with - in place of / (eg. stable)
498 # branch: branch (eg. stable)
499 node: '{daily-slave}'
505 credentials-id: '{ssh-credentials}'
513 gs-pathname: '{gs-pathname}'
517 use-build-blocker: true
530 - project: 'apex-build-{stream}'
532 current-parameters: true
536 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
537 predefined-parameters: |
538 BUILD_DIRECTORY=apex-build-{stream}/build
543 build-step-failure-threshold: 'never'
546 - project: 'functest-apex-{daily-slave}-daily-{stream}'
547 predefined-parameters:
548 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
552 build-step-failure-threshold: 'never'
553 failure-threshold: 'never'
554 unstable-threshold: 'FAILURE'
556 - project: 'yardstick-apex-{slave}-daily-{stream}'
557 predefined-parameters:
558 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
562 build-step-failure-threshold: 'never'
563 failure-threshold: 'never'
564 unstable-threshold: 'FAILURE'
566 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
567 predefined-parameters: |
568 BUILD_DIRECTORY=apex-build-{stream}/build
573 build-step-failure-threshold: 'never'
576 - project: 'functest-apex-{daily-slave}-daily-{stream}'
577 predefined-parameters:
578 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-{stream}'
587 predefined-parameters:
588 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
592 build-step-failure-threshold: 'never'
593 failure-threshold: 'never'
594 unstable-threshold: 'FAILURE'
596 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
597 predefined-parameters: |
598 BUILD_DIRECTORY=apex-build-{stream}/build
603 build-step-failure-threshold: 'never'
606 - project: 'functest-apex-{daily-slave}-daily-{stream}'
607 predefined-parameters:
608 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
612 build-step-failure-threshold: 'never'
613 failure-threshold: 'never'
614 unstable-threshold: 'FAILURE'
616 - project: 'yardstick-apex-{slave}-daily-{stream}'
617 predefined-parameters:
618 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
622 build-step-failure-threshold: 'never'
623 failure-threshold: 'never'
624 unstable-threshold: 'FAILURE'
626 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream}'
627 predefined-parameters: |
628 BUILD_DIRECTORY=apex-build-{stream}/build
633 build-step-failure-threshold: 'never'
636 - project: 'functest-apex-{daily-slave}-daily-{stream}'
637 predefined-parameters:
638 DEPLOY_SCENARIO=os-onos-nofeature-ha
642 build-step-failure-threshold: 'never'
643 failure-threshold: 'never'
644 unstable-threshold: 'FAILURE'
646 - project: 'yardstick-apex-{slave}-daily-{stream}'
647 predefined-parameters:
648 DEPLOY_SCENARIO=os-onos-nofeature-ha
652 build-step-failure-threshold: 'never'
653 failure-threshold: 'never'
654 unstable-threshold: 'FAILURE'
656 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream}'
657 predefined-parameters: |
658 BUILD_DIRECTORY=apex-build-{stream}/build
663 build-step-failure-threshold: 'never'
666 - project: 'functest-apex-{daily-slave}-daily-{stream}'
667 predefined-parameters:
668 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
672 build-step-failure-threshold: 'never'
673 failure-threshold: 'never'
674 unstable-threshold: 'FAILURE'
676 - project: 'yardstick-apex-{slave}-daily-{stream}'
677 predefined-parameters:
678 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
682 build-step-failure-threshold: 'never'
683 failure-threshold: 'never'
684 unstable-threshold: 'FAILURE'
686 - project: 'apex-deploy-baremetal-os-onos-sfc-ha-{stream}'
687 predefined-parameters: |
688 BUILD_DIRECTORY=apex-build-{stream}/build
693 build-step-failure-threshold: 'never'
696 - project: 'functest-apex-{daily-slave}-daily-{stream}'
697 predefined-parameters:
698 DEPLOY_SCENARIO=os-onos-sfc-ha
702 build-step-failure-threshold: 'never'
703 failure-threshold: 'never'
704 unstable-threshold: 'FAILURE'
706 - project: 'yardstick-apex-{slave}-daily-{stream}'
707 predefined-parameters:
708 DEPLOY_SCENARIO=os-onos-sfc-ha
712 build-step-failure-threshold: 'never'
713 failure-threshold: 'never'
714 unstable-threshold: 'FAILURE'
716 - project: 'apex-deploy-baremetal-os-odl_l2-sfc-noha-{stream}'
717 predefined-parameters: |
718 BUILD_DIRECTORY=apex-build-{stream}/build
723 build-step-failure-threshold: 'never'
726 - project: 'functest-apex-{daily-slave}-daily-{stream}'
727 predefined-parameters:
728 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
732 build-step-failure-threshold: 'never'
733 failure-threshold: 'never'
734 unstable-threshold: 'FAILURE'
736 - project: 'yardstick-apex-{slave}-daily-{stream}'
737 predefined-parameters:
738 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
742 build-step-failure-threshold: 'never'
743 failure-threshold: 'never'
744 unstable-threshold: 'FAILURE'
746 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-noha-{stream}'
747 predefined-parameters: |
748 BUILD_DIRECTORY=apex-build-{stream}/build
753 build-step-failure-threshold: 'never'
756 - project: 'functest-apex-{daily-slave}-daily-{stream}'
757 predefined-parameters:
758 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
762 build-step-failure-threshold: 'never'
763 failure-threshold: 'never'
764 unstable-threshold: 'FAILURE'
766 - project: 'yardstick-apex-{slave}-daily-{stream}'
767 predefined-parameters:
768 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
772 build-step-failure-threshold: 'never'
773 failure-threshold: 'never'
774 unstable-threshold: 'FAILURE'
776 - project: 'apex-deploy-baremetal-os-nosdn-fdio-noha-{stream}'
777 predefined-parameters: |
778 BUILD_DIRECTORY=apex-build-{stream}/build
783 build-step-failure-threshold: 'never'
786 - project: 'functest-apex-{daily-slave}-daily-{stream}'
787 predefined-parameters:
788 DEPLOY_SCENARIO=os-nosdn-fdio-noha
792 build-step-failure-threshold: 'never'
793 failure-threshold: 'never'
794 unstable-threshold: 'FAILURE'
796 - project: 'yardstick-apex-{slave}-daily-{stream}'
797 predefined-parameters:
798 DEPLOY_SCENARIO=os-nosdn-fdio-noha
802 build-step-failure-threshold: 'never'
803 failure-threshold: 'never'
804 unstable-threshold: 'FAILURE'
806 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-ipv6-{stream}'
807 predefined-parameters: |
808 BUILD_DIRECTORY=apex-build-{stream}/build
813 build-step-failure-threshold: 'never'
816 - project: 'apex-deploy-baremetal-os-nosdn-ovs-noha-{stream}'
817 predefined-parameters: |
818 BUILD_DIRECTORY=apex-build-{stream}/build
823 build-step-failure-threshold: 'never'
826 - project: 'functest-apex-{daily-slave}-daily-{stream}'
827 predefined-parameters:
828 DEPLOY_SCENARIO=os-nosdn-ovs-noha
832 build-step-failure-threshold: 'never'
833 failure-threshold: 'never'
834 unstable-threshold: 'FAILURE'
836 - project: 'yardstick-apex-{slave}-daily-{stream}'
837 predefined-parameters:
838 DEPLOY_SCENARIO=os-nosdn-ovs-noha
842 build-step-failure-threshold: 'never'
843 failure-threshold: 'never'
844 unstable-threshold: 'FAILURE'
847 name: 'apex-gs-clean-{stream}'
849 # Job template for clean
851 # Required Variables:
852 # stream: branch with - in place of / (eg. stable)
861 gs-pathname: '{gs-pathname}'
867 - 'apex-gs-clean-{stream}'
870 ########################
872 ########################
879 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
881 name: ARTIFACT_VERSION
883 description: "Artifact version type"
885 name: BUILD_DIRECTORY
886 default: $WORKSPACE/build
887 description: "Directory where the build artifact will be located upon the completion of the build."
889 name: CACHE_DIRECTORY
890 default: $HOME/opnfv/cache{gs-pathname}
891 description: "Directory where the cache to be used during the build is located."
894 default: https://gerrit.opnfv.org/gerrit/$PROJECT
895 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
898 default: '{gs-pathname}'
899 description: "Version directory where opnfv artifacts are stored in gs repository"
902 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
903 description: "URL to Google Storage."
905 ########################
907 ########################
909 name: 'apex-unit-test'
912 !include-raw: ./apex-unit-test.sh
918 !include-raw: ./apex-build.sh
921 name: 'apex-workspace-cleanup'
924 !include-raw: ./apex-workspace-cleanup.sh
927 name: 'apex-upload-artifact'
930 !include-raw: ./apex-upload-artifact.sh
933 name: 'apex-gs-cleanup'
936 !include-raw: ./apex-gs-cleanup.sh
942 !include-raw: ./apex-deploy.sh
945 #######################
947 ########################
951 - timed: '0 0 20 8 *'
953 name: 'apex-colorado'
957 name: 'apex-gs-clean-{stream}'