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:
339 - project: 'cperf-apex-intel-pod2-daily-{stream}'
340 predefined-parameters:
341 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
346 name: 'apex-build-{stream}'
348 # Job template for builds
350 # Required Variables:
351 # stream: branch with - in place of / (eg. stable)
352 # branch: branch (eg. stable)
353 node: '{daily-slave}'
363 gs-pathname: '{gs-pathname}'
368 default: https://gerrit.opnfv.org/gerrit/$PROJECT
369 description: "Used for overriding the GIT URL coming from parameters macro."
373 credentials-id: '{ssh-credentials}'
379 use-build-blocker: true
391 - project: 'apex-deploy-virtual-os-nosdn-nofeature-noha-{stream}'
392 predefined-parameters: |
393 BUILD_DIRECTORY=apex-build-{stream}/build
398 - 'apex-upload-artifact'
401 name: 'apex-deploy-virtual-{scenario}-{stream}'
403 # Job template for virtual deployment
405 # Required Variables:
406 # stream: branch with - in place of / (eg. stable)
407 # branch: branch (eg. stable)
416 credentials-id: '{ssh-credentials}'
424 gs-pathname: '{gs-pathname}'
426 name: DEPLOY_SCENARIO
427 default: '{scenario}'
428 description: "Scenario to deploy with."
432 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
436 use-build-blocker: true
447 - 'apex-workspace-cleanup'
450 name: 'apex-deploy-baremetal-{scenario}-{stream}'
452 # Job template for baremetal deployment
454 # Required Variables:
455 # stream: branch with - in place of / (eg. stable)
456 # branch: branch (eg. stable)
463 credentials-id: '{ssh-credentials}'
471 gs-pathname: '{gs-pathname}'
473 name: DEPLOY_SCENARIO
474 default: '{scenario}'
475 description: "Scenario to deploy with."
479 use-build-blocker: true
489 - 'apex-workspace-cleanup'
493 name: 'apex-daily-{stream}'
495 # Job template for daily build
497 # Required Variables:
498 # stream: branch with - in place of / (eg. stable)
499 # branch: branch (eg. stable)
500 node: '{daily-slave}'
506 credentials-id: '{ssh-credentials}'
514 gs-pathname: '{gs-pathname}'
518 use-build-blocker: true
531 - project: 'apex-build-{stream}'
533 current-parameters: true
537 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream}'
538 predefined-parameters: |
539 BUILD_DIRECTORY=apex-build-{stream}/build
544 build-step-failure-threshold: 'never'
547 - project: 'functest-apex-{daily-slave}-daily-{stream}'
548 predefined-parameters:
549 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
553 build-step-failure-threshold: 'never'
554 failure-threshold: 'never'
555 unstable-threshold: 'FAILURE'
557 - project: 'yardstick-apex-{slave}-daily-{stream}'
558 predefined-parameters:
559 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
563 build-step-failure-threshold: 'never'
564 failure-threshold: 'never'
565 unstable-threshold: 'FAILURE'
567 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream}'
568 predefined-parameters: |
569 BUILD_DIRECTORY=apex-build-{stream}/build
574 build-step-failure-threshold: 'never'
577 - project: 'functest-apex-{daily-slave}-daily-{stream}'
578 predefined-parameters:
579 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
583 build-step-failure-threshold: 'never'
584 failure-threshold: 'never'
585 unstable-threshold: 'FAILURE'
587 - project: 'yardstick-apex-{slave}-daily-{stream}'
588 predefined-parameters:
589 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
593 build-step-failure-threshold: 'never'
594 failure-threshold: 'never'
595 unstable-threshold: 'FAILURE'
597 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream}'
598 predefined-parameters: |
599 BUILD_DIRECTORY=apex-build-{stream}/build
604 build-step-failure-threshold: 'never'
607 - project: 'functest-apex-{daily-slave}-daily-{stream}'
608 predefined-parameters:
609 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
613 build-step-failure-threshold: 'never'
614 failure-threshold: 'never'
615 unstable-threshold: 'FAILURE'
617 - project: 'yardstick-apex-{slave}-daily-{stream}'
618 predefined-parameters:
619 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
623 build-step-failure-threshold: 'never'
624 failure-threshold: 'never'
625 unstable-threshold: 'FAILURE'
627 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream}'
628 predefined-parameters: |
629 BUILD_DIRECTORY=apex-build-{stream}/build
634 build-step-failure-threshold: 'never'
637 - project: 'functest-apex-{daily-slave}-daily-{stream}'
638 predefined-parameters:
639 DEPLOY_SCENARIO=os-onos-nofeature-ha
643 build-step-failure-threshold: 'never'
644 failure-threshold: 'never'
645 unstable-threshold: 'FAILURE'
647 - project: 'yardstick-apex-{slave}-daily-{stream}'
648 predefined-parameters:
649 DEPLOY_SCENARIO=os-onos-nofeature-ha
653 build-step-failure-threshold: 'never'
654 failure-threshold: 'never'
655 unstable-threshold: 'FAILURE'
657 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream}'
658 predefined-parameters: |
659 BUILD_DIRECTORY=apex-build-{stream}/build
664 build-step-failure-threshold: 'never'
667 - project: 'functest-apex-{daily-slave}-daily-{stream}'
668 predefined-parameters:
669 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
673 build-step-failure-threshold: 'never'
674 failure-threshold: 'never'
675 unstable-threshold: 'FAILURE'
677 - project: 'yardstick-apex-{slave}-daily-{stream}'
678 predefined-parameters:
679 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
683 build-step-failure-threshold: 'never'
684 failure-threshold: 'never'
685 unstable-threshold: 'FAILURE'
687 - project: 'apex-deploy-baremetal-os-onos-sfc-ha-{stream}'
688 predefined-parameters: |
689 BUILD_DIRECTORY=apex-build-{stream}/build
694 build-step-failure-threshold: 'never'
697 - project: 'functest-apex-{daily-slave}-daily-{stream}'
698 predefined-parameters:
699 DEPLOY_SCENARIO=os-onos-sfc-ha
703 build-step-failure-threshold: 'never'
704 failure-threshold: 'never'
705 unstable-threshold: 'FAILURE'
707 - project: 'yardstick-apex-{slave}-daily-{stream}'
708 predefined-parameters:
709 DEPLOY_SCENARIO=os-onos-sfc-ha
713 build-step-failure-threshold: 'never'
714 failure-threshold: 'never'
715 unstable-threshold: 'FAILURE'
717 - project: 'apex-deploy-baremetal-os-odl_l2-sfc-noha-{stream}'
718 predefined-parameters: |
719 BUILD_DIRECTORY=apex-build-{stream}/build
724 build-step-failure-threshold: 'never'
727 - project: 'functest-apex-{daily-slave}-daily-{stream}'
728 predefined-parameters:
729 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
733 build-step-failure-threshold: 'never'
734 failure-threshold: 'never'
735 unstable-threshold: 'FAILURE'
737 - project: 'yardstick-apex-{slave}-daily-{stream}'
738 predefined-parameters:
739 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
743 build-step-failure-threshold: 'never'
744 failure-threshold: 'never'
745 unstable-threshold: 'FAILURE'
747 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-noha-{stream}'
748 predefined-parameters: |
749 BUILD_DIRECTORY=apex-build-{stream}/build
754 build-step-failure-threshold: 'never'
757 - project: 'functest-apex-{daily-slave}-daily-{stream}'
758 predefined-parameters:
759 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
763 build-step-failure-threshold: 'never'
764 failure-threshold: 'never'
765 unstable-threshold: 'FAILURE'
767 - project: 'yardstick-apex-{slave}-daily-{stream}'
768 predefined-parameters:
769 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
773 build-step-failure-threshold: 'never'
774 failure-threshold: 'never'
775 unstable-threshold: 'FAILURE'
777 - project: 'apex-deploy-baremetal-os-nosdn-fdio-noha-{stream}'
778 predefined-parameters: |
779 BUILD_DIRECTORY=apex-build-{stream}/build
784 build-step-failure-threshold: 'never'
787 - project: 'functest-apex-{daily-slave}-daily-{stream}'
788 predefined-parameters:
789 DEPLOY_SCENARIO=os-nosdn-fdio-noha
793 build-step-failure-threshold: 'never'
794 failure-threshold: 'never'
795 unstable-threshold: 'FAILURE'
797 - project: 'yardstick-apex-{slave}-daily-{stream}'
798 predefined-parameters:
799 DEPLOY_SCENARIO=os-nosdn-fdio-noha
803 build-step-failure-threshold: 'never'
804 failure-threshold: 'never'
805 unstable-threshold: 'FAILURE'
807 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-ipv6-{stream}'
808 predefined-parameters: |
809 BUILD_DIRECTORY=apex-build-{stream}/build
814 build-step-failure-threshold: 'never'
817 - project: 'apex-deploy-baremetal-os-nosdn-ovs-noha-{stream}'
818 predefined-parameters: |
819 BUILD_DIRECTORY=apex-build-{stream}/build
824 build-step-failure-threshold: 'never'
827 - project: 'functest-apex-{daily-slave}-daily-{stream}'
828 predefined-parameters:
829 DEPLOY_SCENARIO=os-nosdn-ovs-noha
833 build-step-failure-threshold: 'never'
834 failure-threshold: 'never'
835 unstable-threshold: 'FAILURE'
837 - project: 'yardstick-apex-{slave}-daily-{stream}'
838 predefined-parameters:
839 DEPLOY_SCENARIO=os-nosdn-ovs-noha
843 build-step-failure-threshold: 'never'
844 failure-threshold: 'never'
845 unstable-threshold: 'FAILURE'
848 name: 'apex-gs-clean-{stream}'
850 # Job template for clean
852 # Required Variables:
853 # stream: branch with - in place of / (eg. stable)
862 gs-pathname: '{gs-pathname}'
868 - 'apex-gs-clean-{stream}'
871 ########################
873 ########################
880 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
882 name: ARTIFACT_VERSION
884 description: "Artifact version type"
886 name: BUILD_DIRECTORY
887 default: $WORKSPACE/build
888 description: "Directory where the build artifact will be located upon the completion of the build."
890 name: CACHE_DIRECTORY
891 default: $HOME/opnfv/cache{gs-pathname}
892 description: "Directory where the cache to be used during the build is located."
895 default: https://gerrit.opnfv.org/gerrit/$PROJECT
896 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
899 default: '{gs-pathname}'
900 description: "Version directory where opnfv artifacts are stored in gs repository"
903 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
904 description: "URL to Google Storage."
906 ########################
908 ########################
910 name: 'apex-unit-test'
913 !include-raw: ./apex-unit-test.sh
919 !include-raw: ./apex-build.sh
922 name: 'apex-workspace-cleanup'
925 !include-raw: ./apex-workspace-cleanup.sh
928 name: 'apex-upload-artifact'
931 !include-raw: ./apex-upload-artifact.sh
934 name: 'apex-gs-cleanup'
937 !include-raw: ./apex-gs-cleanup.sh
943 !include-raw: ./apex-deploy.sh
946 #######################
948 ########################
952 - timed: '0 0 20 8 *'
954 name: 'apex-colorado'
958 name: 'apex-gs-clean-{stream}'