4 - 'apex-verify-{stream1}'
5 - 'apex-verify-{stream2}'
6 - 'apex-runner-{platform}-{scenario}-{stream}'
7 - 'apex-runner-cperf-{stream1}'
8 - 'apex-build-{stream}'
9 - 'apex-deploy-virtual-{scenario}-{stream}'
10 - 'apex-deploy-baremetal-{scenario}-{stream}'
11 - 'apex-daily-{stream1}'
12 - 'apex-daily-{stream2}'
14 # stream: branch with - in place of / (eg. stable-arno)
15 # branch: branch (eg. stable/arno)
20 block-stream: 'brahmaputra'
22 verify-slave: 'apex-verify-master'
23 daily-slave: 'apex-daily-master'
25 branch: 'stable/brahmaputra'
26 gs-pathname: '/brahmaputra'
27 block-stream: 'master'
29 verify-slave: 'apex-verify-brahmaputra'
30 daily-slave: 'apex-daily-brahmaputra'
37 block-stream: 'brahmaputra'
39 verify-slave: 'apex-verify-master'
40 daily-slave: 'apex-daily-master'
44 branch: 'stable/brahmaputra'
45 gs-pathname: '/brahmaputra'
46 block-stream: 'master'
48 verify-slave: 'apex-verify-brahmaputra'
49 daily-slave: 'apex-daily-brahmaputra'
55 - 'os-nosdn-nofeature-noha'
56 - 'os-nosdn-nofeature-ha'
57 - '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-{stream2}'
80 gs-pathname: '{gs-pathname}'
87 default: https://gerrit.opnfv.org/gerrit/$PROJECT
88 description: "Used for overriding the GIT URL coming from parameters macro."
92 credentials-id: '{ssh-credentials}'
93 refspec: '$GERRIT_REFSPEC'
94 choosing-strategy: 'gerrit'
99 - patchset-created-event:
100 exclude-drafts: 'false'
101 exclude-trivial-rebase: 'false'
102 exclude-no-code-change: 'true'
103 - draft-published-event
104 - comment-added-contains-event:
105 comment-contains-value: 'recheck'
106 - comment-added-contains-event:
107 comment-contains-value: 'reverify'
109 - project-compare-type: 'ANT'
110 project-pattern: 'apex'
112 - branch-compare-type: 'ANT'
113 branch-pattern: '**/{branch}'
126 use-build-blocker: true
128 - 'apex-daily.*{stream2}'
129 - 'apex-deploy.*{stream2}'
130 - 'apex-build.*{stream2}'
131 - 'apex-runner.*{stream2}'
132 - 'apex-verify-{stream2}'
138 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream2}'
139 predefined-parameters: |
140 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
145 - project: 'apex-deploy-virtual-os-onos-nofeature-ha-{stream2}'
146 predefined-parameters: |
147 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
152 - project: 'apex-deploy-virtual-os-odl_l3-nofeature-ha-{stream2}'
153 predefined-parameters: |
154 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
159 - project: 'apex-deploy-virtual-os-odl_l2-sfc-noha-{stream2}'
160 predefined-parameters: |
161 BUILD_DIRECTORY=apex-verify-{stream2}/build_output
165 - 'apex-workspace-cleanup'
169 name: 'apex-verify-{stream1}'
171 node: '{verify-slave}'
177 gs-pathname: '{gs-pathname}'
184 default: https://gerrit.opnfv.org/gerrit/$PROJECT
185 description: "Used for overriding the GIT URL coming from parameters macro."
188 - gerrit-trigger-scm:
189 credentials-id: '{ssh-credentials}'
190 refspec: '$GERRIT_REFSPEC'
191 choosing-strategy: 'gerrit'
196 - patchset-created-event:
197 exclude-drafts: 'false'
198 exclude-trivial-rebase: 'false'
199 exclude-no-code-change: 'true'
200 - draft-published-event
201 - comment-added-contains-event:
202 comment-contains-value: 'recheck'
203 - comment-added-contains-event:
204 comment-contains-value: 'reverify'
206 - project-compare-type: 'ANT'
207 project-pattern: 'apex'
209 - branch-compare-type: 'ANT'
210 branch-pattern: '**/{branch}'
223 use-build-blocker: true
226 - 'apex-daily.*{stream1}'
227 - 'apex-deploy.*{stream1}'
228 - 'apex-build.*{stream1}'
229 - 'apex-runner.*{stream1}'
230 - 'apex-verify-{stream1}'
240 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-{stream1}'
241 predefined-parameters: |
242 BUILD_DIRECTORY=apex-verify-{stream1}
248 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
249 predefined-parameters: |
250 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
251 FUNCTEST_SUITE_NAME=healthcheck
255 - project: 'apex-deploy-virtual-os-odl_l2-nofeature-ha-{stream1}'
256 predefined-parameters: |
257 BUILD_DIRECTORY=apex-verify-{stream1}
263 - project: 'functest-apex-{verify-slave}-suite-{stream1}'
264 predefined-parameters: |
265 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
266 FUNCTEST_SUITE_NAME=healthcheck
269 - 'apex-workspace-cleanup'
272 name: 'apex-runner-{platform}-{scenario}-{stream}'
274 # runner jobs for deploying manually
282 gs-pathname: '{gs-pathname}'
289 default: https://gerrit.opnfv.org/gerrit/$PROJECT
290 description: "Used for overriding the GIT URL coming from parameters macro."
293 - gerrit-trigger-scm:
294 credentials-id: '{ssh-credentials}'
296 choosing-strategy: 'default'
300 use-build-blocker: true
302 - 'apex-daily.*{stream}'
303 - 'apex-verify.*{stream}'
307 - project: 'apex-deploy-{platform}-{scenario}-{stream}'
308 predefined-parameters:
313 - project: 'yardstick-apex-{slave}-daily-{stream}'
314 predefined-parameters:
315 DEPLOY_SCENARIO={scenario}
318 build-step-failure-threshold: 'never'
319 failure-threshold: 'never'
320 unstable-threshold: 'FAILURE'
322 - project: 'functest-apex-{slave}-daily-{stream}'
323 predefined-parameters:
324 DEPLOY_SCENARIO={scenario}
327 build-step-failure-threshold: 'never'
328 failure-threshold: 'never'
329 unstable-threshold: 'FAILURE'
332 name: 'apex-runner-cperf-{stream1}'
342 gs-pathname: '{gs-pathname}'
349 default: https://gerrit.opnfv.org/gerrit/$PROJECT
350 description: "Used for overriding the GIT URL coming from parameters macro."
353 - gerrit-trigger-scm:
354 credentials-id: '{ssh-credentials}'
356 choosing-strategy: 'default'
360 use-build-blocker: false
363 - 'apex-deploy.*{stream}'
371 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
372 predefined-parameters:
377 - project: 'cperf-apex-intel-pod2-daily-{stream1}'
378 predefined-parameters:
379 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
384 name: 'apex-build-{stream}'
386 # Job template for builds
388 # Required Variables:
389 # stream: branch with - in place of / (eg. stable)
390 # branch: branch (eg. stable)
391 node: '{daily-slave}'
401 gs-pathname: '{gs-pathname}'
406 default: https://gerrit.opnfv.org/gerrit/$PROJECT
407 description: "Used for overriding the GIT URL coming from parameters macro."
411 credentials-id: '{ssh-credentials}'
417 use-build-blocker: true
420 - 'apex-deploy.*{stream}'
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)
454 credentials-id: '{ssh-credentials}'
462 gs-pathname: '{gs-pathname}'
464 name: DEPLOY_SCENARIO
465 default: '{scenario}'
466 description: "Scenario to deploy with."
470 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
474 use-build-blocker: true
477 - 'apex-deploy.*{stream}'
485 - 'apex-workspace-cleanup'
488 name: 'apex-deploy-baremetal-{scenario}-{stream}'
490 # Job template for baremetal deployment
492 # Required Variables:
493 # stream: branch with - in place of / (eg. stable)
494 # branch: branch (eg. stable)
501 credentials-id: '{ssh-credentials}'
509 gs-pathname: '{gs-pathname}'
511 name: DEPLOY_SCENARIO
512 default: '{scenario}'
513 description: "Scenario to deploy with."
517 use-build-blocker: true
520 - 'apex-verify.*{stream}'
521 - 'apex-deploy.*{stream}'
522 - 'apex-build.*{stream}'
527 - 'apex-workspace-cleanup'
531 name: 'apex-daily-{stream2}'
533 # Job template for daily build
535 # Required Variables:
536 # stream: branch with - in place of / (eg. stable)
537 # branch: branch (eg. stable)
544 credentials-id: '{ssh-credentials}'
552 gs-pathname: '{gs-pathname}'
556 use-build-blocker: true
558 - 'apex-verify.*{stream2}'
559 - 'apex-deploy.*{stream2}'
560 - 'apex-build.*{stream2}'
561 - 'apex-runner.*{stream2}'
568 - project: 'apex-build-{stream2}'
570 current-parameters: true
573 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream2}'
574 predefined-parameters: |
575 BUILD_DIRECTORY=apex-build-{stream2}/build_output
580 - project: 'functest-apex-{slave}-daily-{stream2}'
581 predefined-parameters:
582 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
585 build-step-failure-threshold: 'never'
586 failure-threshold: 'never'
587 unstable-threshold: 'FAILURE'
589 - project: 'yardstick-apex-{slave}-daily-{stream2}'
590 predefined-parameters:
591 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
594 build-step-failure-threshold: 'never'
595 failure-threshold: 'never'
596 unstable-threshold: 'FAILURE'
598 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream2}'
599 predefined-parameters:
600 BUILD_DIRECTORY=apex-build-{stream2}/build_output
604 - project: 'functest-apex-{slave}-daily-{stream2}'
605 predefined-parameters:
606 DEPLOY_SCENARIO=os-onos-nofeature-ha
609 build-step-failure-threshold: 'never'
610 failure-threshold: 'never'
611 unstable-threshold: 'FAILURE'
613 - project: 'yardstick-apex-{slave}-daily-{stream2}'
614 predefined-parameters:
615 DEPLOY_SCENARIO=os-onos-nofeature-ha
618 build-step-failure-threshold: 'never'
619 failure-threshold: 'never'
620 unstable-threshold: 'FAILURE'
622 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream2}'
623 predefined-parameters:
624 BUILD_DIRECTORY=apex-build-{stream2}/build_output
628 - project: 'functest-apex-{slave}-daily-{stream2}'
629 predefined-parameters:
630 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
633 build-step-failure-threshold: 'never'
634 failure-threshold: 'never'
635 unstable-threshold: 'FAILURE'
637 - project: 'yardstick-apex-{slave}-daily-{stream2}'
638 predefined-parameters:
639 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_l2-bgpvpn-ha-{stream2}'
647 predefined-parameters:
648 BUILD_DIRECTORY=apex-build-{stream2}/build_output
652 - project: 'functest-apex-{slave}-daily-{stream2}'
653 predefined-parameters:
654 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
657 build-step-failure-threshold: 'never'
658 failure-threshold: 'never'
659 unstable-threshold: 'FAILURE'
661 - project: 'yardstick-apex-{slave}-daily-{stream2}'
662 predefined-parameters:
663 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
666 build-step-failure-threshold: 'never'
667 failure-threshold: 'never'
668 unstable-threshold: 'FAILURE'
672 name: 'apex-daily-{stream1}'
674 # Job template for daily build
676 # Required Variables:
677 # stream: branch with - in place of / (eg. stable)
678 # branch: branch (eg. stable)
679 node: '{daily-slave}'
685 credentials-id: '{ssh-credentials}'
693 gs-pathname: '{gs-pathname}'
697 use-build-blocker: true
700 - 'apex-verify.*{stream1}'
701 - 'apex-deploy.*{stream1}'
702 - 'apex-build.*{stream1}'
703 - 'apex-runner.*{stream1}'
710 - project: 'apex-build-{stream1}'
712 current-parameters: true
716 - project: 'apex-deploy-baremetal-os-nosdn-nofeature-ha-{stream1}'
717 predefined-parameters: |
718 BUILD_DIRECTORY=apex-build-{stream1}/build
723 build-step-failure-threshold: 'never'
726 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
727 predefined-parameters:
728 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
732 build-step-failure-threshold: 'never'
733 failure-threshold: 'never'
734 unstable-threshold: 'FAILURE'
736 - project: 'yardstick-apex-{slave}-daily-{stream1}'
737 predefined-parameters:
738 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
742 build-step-failure-threshold: 'never'
743 failure-threshold: 'never'
744 unstable-threshold: 'FAILURE'
746 - project: 'apex-deploy-baremetal-os-odl_l2-nofeature-ha-{stream1}'
747 predefined-parameters: |
748 BUILD_DIRECTORY=apex-build-{stream1}/build
753 build-step-failure-threshold: 'never'
756 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
757 predefined-parameters:
758 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
762 build-step-failure-threshold: 'never'
763 failure-threshold: 'never'
764 unstable-threshold: 'FAILURE'
766 - project: 'yardstick-apex-{slave}-daily-{stream1}'
767 predefined-parameters:
768 DEPLOY_SCENARIO=os-odl_l2-nofeature-ha
772 build-step-failure-threshold: 'never'
773 failure-threshold: 'never'
774 unstable-threshold: 'FAILURE'
776 - project: 'apex-deploy-baremetal-os-odl_l3-nofeature-ha-{stream1}'
777 predefined-parameters: |
778 BUILD_DIRECTORY=apex-build-{stream1}/build
783 build-step-failure-threshold: 'never'
786 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
787 predefined-parameters:
788 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
792 build-step-failure-threshold: 'never'
793 failure-threshold: 'never'
794 unstable-threshold: 'FAILURE'
796 - project: 'yardstick-apex-{slave}-daily-{stream1}'
797 predefined-parameters:
798 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
802 build-step-failure-threshold: 'never'
803 failure-threshold: 'never'
804 unstable-threshold: 'FAILURE'
806 - project: 'apex-deploy-baremetal-os-onos-nofeature-ha-{stream1}'
807 predefined-parameters: |
808 BUILD_DIRECTORY=apex-build-{stream1}/build
813 build-step-failure-threshold: 'never'
816 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
817 predefined-parameters:
818 DEPLOY_SCENARIO=os-onos-nofeature-ha
822 build-step-failure-threshold: 'never'
823 failure-threshold: 'never'
824 unstable-threshold: 'FAILURE'
826 - project: 'yardstick-apex-{slave}-daily-{stream1}'
827 predefined-parameters:
828 DEPLOY_SCENARIO=os-onos-nofeature-ha
832 build-step-failure-threshold: 'never'
833 failure-threshold: 'never'
834 unstable-threshold: 'FAILURE'
836 - project: 'apex-deploy-baremetal-os-odl_l2-bgpvpn-ha-{stream1}'
837 predefined-parameters: |
838 BUILD_DIRECTORY=apex-build-{stream1}/build
843 build-step-failure-threshold: 'never'
846 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
847 predefined-parameters:
848 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
852 build-step-failure-threshold: 'never'
853 failure-threshold: 'never'
854 unstable-threshold: 'FAILURE'
856 - project: 'yardstick-apex-{slave}-daily-{stream1}'
857 predefined-parameters:
858 DEPLOY_SCENARIO=os-odl_l2-bgpvpn-ha
862 build-step-failure-threshold: 'never'
863 failure-threshold: 'never'
864 unstable-threshold: 'FAILURE'
866 - project: 'apex-deploy-baremetal-os-onos-sfc-ha-{stream1}'
867 predefined-parameters: |
868 BUILD_DIRECTORY=apex-build-{stream1}/build
873 build-step-failure-threshold: 'never'
876 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
877 predefined-parameters:
878 DEPLOY_SCENARIO=os-onos-sfc-ha
882 build-step-failure-threshold: 'never'
883 failure-threshold: 'never'
884 unstable-threshold: 'FAILURE'
886 - project: 'yardstick-apex-{slave}-daily-{stream1}'
887 predefined-parameters:
888 DEPLOY_SCENARIO=os-onos-sfc-ha
892 build-step-failure-threshold: 'never'
893 failure-threshold: 'never'
894 unstable-threshold: 'FAILURE'
896 - project: 'apex-deploy-baremetal-os-odl_l2-sfc-noha-{stream1}'
897 predefined-parameters: |
898 BUILD_DIRECTORY=apex-build-{stream1}/build
903 build-step-failure-threshold: 'never'
906 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
907 predefined-parameters:
908 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
912 build-step-failure-threshold: 'never'
913 failure-threshold: 'never'
914 unstable-threshold: 'FAILURE'
916 - project: 'yardstick-apex-{slave}-daily-{stream1}'
917 predefined-parameters:
918 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
922 build-step-failure-threshold: 'never'
923 failure-threshold: 'never'
924 unstable-threshold: 'FAILURE'
926 - project: 'apex-deploy-baremetal-os-odl_l2-fdio-noha-{stream1}'
927 predefined-parameters: |
928 BUILD_DIRECTORY=apex-build-{stream1}/build
933 build-step-failure-threshold: 'never'
936 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
937 predefined-parameters:
938 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
942 build-step-failure-threshold: 'never'
943 failure-threshold: 'never'
944 unstable-threshold: 'FAILURE'
946 - project: 'yardstick-apex-{slave}-daily-{stream1}'
947 predefined-parameters:
948 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
952 build-step-failure-threshold: 'never'
953 failure-threshold: 'never'
954 unstable-threshold: 'FAILURE'
956 - project: 'apex-deploy-baremetal-os-nosdn-fdio-noha-{stream1}'
957 predefined-parameters: |
958 BUILD_DIRECTORY=apex-build-{stream1}/build
963 build-step-failure-threshold: 'never'
966 - project: 'functest-apex-{daily-slave}-daily-{stream1}'
967 predefined-parameters:
968 DEPLOY_SCENARIO=os-nosdn-fdio-noha
972 build-step-failure-threshold: 'never'
973 failure-threshold: 'never'
974 unstable-threshold: 'FAILURE'
976 - project: 'yardstick-apex-{slave}-daily-{stream1}'
977 predefined-parameters:
978 DEPLOY_SCENARIO=os-nosdn-fdio-noha
982 build-step-failure-threshold: 'never'
983 failure-threshold: 'never'
984 unstable-threshold: 'FAILURE'
986 - project: 'apex-deploy-virtual-os-nosdn-nofeature-ha-ipv6-{stream1}'
987 predefined-parameters: |
988 BUILD_DIRECTORY=apex-build-{stream1}/build
993 build-step-failure-threshold: 'never'
997 name: 'apex-gs-clean-{stream}'
999 # Job template for clean
1001 # Required Variables:
1002 # stream: branch with - in place of / (eg. stable)
1008 - project-parameter:
1009 project: '{project}'
1011 gs-pathname: '{gs-pathname}'
1017 - 'apex-gs-clean-{stream}'
1020 ########################
1022 ########################
1024 name: apex-parameter
1029 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1031 name: ARTIFACT_VERSION
1033 description: "Artifact version type"
1035 name: BUILD_DIRECTORY
1036 default: $WORKSPACE/build
1037 description: "Directory where the build artifact will be located upon the completion of the build."
1039 name: CACHE_DIRECTORY
1040 default: $HOME/opnfv/cache{gs-pathname}
1041 description: "Directory where the cache to be used during the build is located."
1044 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1045 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1048 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
1049 description: "URL to Google Storage."
1051 ########################
1053 ########################
1055 name: 'apex-unit-test'
1058 !include-raw: ./apex-unit-test.sh
1064 !include-raw: ./apex-build.sh
1067 name: 'apex-workspace-cleanup'
1070 !include-raw: ./apex-workspace-cleanup.sh
1073 name: 'apex-upload-artifact'
1076 !include-raw: ./apex-upload-artifact.sh
1079 name: 'apex-gs-cleanup'
1082 !include-raw: ./apex-gs-cleanup.sh
1088 !include-raw: ./apex-deploy.sh
1091 #######################
1093 ########################
1097 - timed: '0 3 * * *'
1099 name: 'apex-brahmaputra'
1101 - timed: '0 3 * * *'
1103 name: 'apex-gs-clean-{stream}'
1105 - timed: '0 2 * * *'