5 - 'apex-verify-{stream}'
6 - 'apex-verify-gate-{stream}'
7 - 'apex-verify-unit-tests-{stream}'
8 - 'apex-runner-cperf-{stream}'
9 - 'apex-build-{stream}'
10 - 'apex-deploy-{platform}-{stream}'
13 - 'apex-csit-promote-daily-{stream}'
14 - 'apex-fdio-promote-daily-{stream}'
15 - 'apex-verify-iso-{stream}'
16 - 'apex-run-deploy-test-baremetal-{stream}'
17 - 'apex-upload-snapshot'
18 - 'apex-create-snapshot'
19 # stream: branch with - in place of / (eg. stable-arno)
20 # branch: branch (eg. stable/arno)
25 build-slave: 'apex-build-master'
26 virtual-slave: 'apex-virtual-master'
27 baremetal-slave: 'apex-baremetal-master'
28 verify-scenario: 'os-odl-nofeature-ha'
31 branch: 'stable/danube'
32 gs-pathname: '/danube'
33 build-slave: 'apex-build-danube'
34 virtual-slave: 'apex-virtual-danube'
35 baremetal-slave: 'apex-baremetal-danube'
36 verify-scenario: 'os-odl_l3-nofeature-ha'
45 name: 'apex-verify-unit-tests-{stream}'
53 gs-pathname: '{gs-pathname}'
63 server-name: 'gerrit.opnfv.org'
65 - patchset-created-event:
66 exclude-drafts: 'false'
67 exclude-trivial-rebase: 'false'
68 exclude-no-code-change: 'true'
69 - draft-published-event
70 - comment-added-contains-event:
71 comment-contains-value: 'recheck'
72 - comment-added-contains-event:
73 comment-contains-value: 'reverify'
75 - project-compare-type: 'ANT'
76 project-pattern: 'apex'
78 - branch-compare-type: 'ANT'
79 branch-pattern: '**/{branch}'
92 !include-raw-escape: ./apex-unit-test.sh
96 name: 'apex-verify-{stream}'
98 node: '{virtual-slave}'
102 project-type: 'multijob'
106 gs-pathname: '{gs-pathname}/dev'
111 name: ARTIFACT_VERSION
113 description: "Used for overriding the ARTIFACT_VERSION"
119 server-name: 'gerrit.opnfv.org'
121 - patchset-created-event:
122 exclude-drafts: 'false'
123 exclude-trivial-rebase: 'false'
124 exclude-no-code-change: 'true'
125 - draft-published-event
126 - comment-added-contains-event:
127 comment-contains-value: 'recheck'
128 - comment-added-contains-event:
129 comment-contains-value: 'reverify'
131 - project-compare-type: 'ANT'
132 project-pattern: 'apex'
134 - branch-compare-type: 'ANT'
135 branch-pattern: '**/{branch}'
149 use-build-blocker: true
161 - description-setter:
162 description: "Built on $NODE_NAME"
165 condition: SUCCESSFUL
167 - name: 'apex-verify-unit-tests-{stream}'
168 current-parameters: false
169 predefined-parameters: |
170 GERRIT_BRANCH=$GERRIT_BRANCH
171 GERRIT_REFSPEC=$GERRIT_REFSPEC
172 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
173 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
174 node-parameters: false
175 kill-phase-on: FAILURE
180 condition: SUCCESSFUL
182 - name: 'apex-build-{stream}'
183 current-parameters: false
184 predefined-parameters: |
185 ARTIFACT_VERSION=$ARTIFACT_VERSION
186 GERRIT_BRANCH=$GERRIT_BRANCH
187 GERRIT_REFSPEC=$GERRIT_REFSPEC
188 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
189 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
190 node-parameters: false
191 kill-phase-on: FAILURE
196 condition: SUCCESSFUL
198 - name: 'apex-deploy-virtual-{stream}'
199 current-parameters: false
200 predefined-parameters: |
201 ARTIFACT_VERSION=$ARTIFACT_VERSION
202 DEPLOY_SCENARIO={verify-scenario}
204 GERRIT_BRANCH=$GERRIT_BRANCH
205 GERRIT_REFSPEC=$GERRIT_REFSPEC
206 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
207 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
208 node-parameters: true
209 kill-phase-on: FAILURE
214 condition: SUCCESSFUL
216 - name: 'functest-apex-virtual-suite-{stream}'
217 current-parameters: false
218 predefined-parameters: |
219 DEPLOY_SCENARIO={verify-scenario}
220 FUNCTEST_SUITE_NAME=healthcheck
221 GERRIT_BRANCH=$GERRIT_BRANCH
222 GERRIT_REFSPEC=$GERRIT_REFSPEC
223 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
224 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
225 node-parameters: true
226 kill-phase-on: FAILURE
230 # Verify Scenario Gate
232 name: 'apex-verify-gate-{stream}'
234 node: '{virtual-slave}'
238 project-type: 'multijob'
242 gs-pathname: '{gs-pathname}/dev'
248 default: https://gerrit.opnfv.org/gerrit/$PROJECT
249 description: "Used for overriding the GIT URL coming from parameters macro."
251 name: ARTIFACT_VERSION
253 description: "Used for overriding the ARTIFACT_VERSION"
260 server-name: 'gerrit.opnfv.org'
262 - comment-added-contains-event:
263 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
265 - project-compare-type: 'ANT'
266 project-pattern: 'apex'
268 - branch-compare-type: 'ANT'
269 branch-pattern: '**/{branch}'
283 use-build-blocker: true
297 condition: SUCCESSFUL
299 - name: 'apex-deploy-virtual-{stream}'
300 current-parameters: false
301 predefined-parameters: |
302 ARTIFACT_VERSION=$ARTIFACT_VERSION
305 GERRIT_BRANCH=$GERRIT_BRANCH
306 GERRIT_REFSPEC=$GERRIT_REFSPEC
307 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
308 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
309 node-parameters: true
310 kill-phase-on: FAILURE
315 condition: SUCCESSFUL
317 - name: 'functest-apex-virtual-suite-{stream}'
318 current-parameters: false
319 predefined-parameters: |
320 DEPLOY_SCENARIO={verify-scenario}
321 FUNCTEST_SUITE_NAME=healthcheck
322 GERRIT_BRANCH=$GERRIT_BRANCH
323 GERRIT_REFSPEC=$GERRIT_REFSPEC
324 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
325 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
326 node-parameters: true
327 kill-phase-on: FAILURE
332 name: 'apex-runner-cperf-{stream}'
335 project-type: 'multijob'
342 gs-pathname: '{gs-pathname}'
348 default: https://gerrit.opnfv.org/gerrit/$PROJECT
349 description: "Used for overriding the GIT URL coming from parameters macro."
357 use-build-blocker: false
367 - description-setter:
368 description: "Deployed on $NODE_NAME"
370 name: 'Baremetal Deploy'
373 - name: 'apex-deploy-baremetal-{stream}'
374 node-parameters: false
375 current-parameters: true
376 predefined-parameters: |
378 DEPLOY_SCENARIO={verify-scenario}
379 kill-phase-on: FAILURE
386 - name: 'functest-apex-baremetal-daily-{stream}'
387 node-parameters: true
388 current-parameters: false
389 predefined-parameters:
390 DEPLOY_SCENARIO={verify-scenario}
397 name: 'apex-build-{stream}'
399 # Job template for builds
401 # Required Variables:
402 # stream: branch with - in place of / (eg. stable)
403 # branch: branch (eg. stable)
404 node: '{build-slave}'
411 - '{project}-defaults'
416 gs-pathname: '{gs-pathname}'
436 properties-content: ARTIFACT_TYPE=rpm
437 - 'apex-upload-artifact'
441 name: 'apex-verify-iso-{stream}'
443 # Job template for builds
445 # Required Variables:
446 # stream: branch with - in place of / (eg. stable)
447 # branch: branch (eg. stable)
448 node: '{virtual-slave}'
459 gs-pathname: '{gs-pathname}'
462 default: https://gerrit.opnfv.org/gerrit/$PROJECT
463 description: "Used for overriding the GIT URL coming from parameters macro."
471 use-build-blocker: true
483 properties-content: ARTIFACT_TYPE=iso
484 - 'apex-upload-artifact'
488 name: 'apex-deploy-{platform}-{stream}'
490 # Job template for virtual deployment
492 # Required Variables:
493 # stream: branch with - in place of / (eg. stable)
494 # branch: branch (eg. stable)
495 node: 'apex-{platform}-{stream}'
514 gs-pathname: '{gs-pathname}'
516 name: DEPLOY_SCENARIO
517 default: '{verify-scenario}'
518 description: "Scenario to deploy with."
522 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
527 use-build-blocker: true
539 - description-setter:
540 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
541 - 'apex-download-artifact'
543 - 'apex-workspace-cleanup'
546 # Baremetal Deploy and Test
548 name: 'apex-run-deploy-test-baremetal-{stream}'
550 # Job template for daily build
552 # Required Variables:
553 # stream: branch with - in place of / (eg. stable)
554 # branch: branch (eg. stable)
555 project-type: 'multijob'
563 - '{project}-defaults'
564 - '{project}-baremetal-{stream}-defaults'
569 gs-pathname: '{gs-pathname}'
571 name: DEPLOY_SCENARIO
572 default: '{verify-scenario}'
573 description: "Scenario to deploy with."
577 use-build-blocker: true
582 - 'apex-.*-promote.*'
585 - description-setter:
586 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
588 name: 'Baremetal Deploy'
591 - name: 'apex-deploy-baremetal-{stream}'
592 node-parameters: true
593 current-parameters: true
594 predefined-parameters: |
596 GERRIT_BRANCH=$GERRIT_BRANCH
598 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
599 kill-phase-on: FAILURE
606 - name: 'functest-apex-baremetal-daily-{stream}'
607 node-parameters: true
608 current-parameters: false
609 predefined-parameters:
610 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
618 - name: 'yardstick-apex-baremetal-daily-{stream}'
619 node-parameters: true
620 current-parameters: false
621 predefined-parameters:
622 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
630 name: 'apex-daily-danube'
632 # Job template for daily build
634 # Required Variables:
635 # stream: branch with - in place of / (eg. stable)
636 # branch: branch (eg. stable)
637 project-type: 'multijob'
639 node: 'apex-baremetal-danube'
647 - '{project}-defaults'
648 - '{project}-baremetal-danube-defaults'
651 branch: 'stable/danube'
653 gs-pathname: '/danube'
664 condition: SUCCESSFUL
666 - name: 'apex-build-danube'
667 current-parameters: false
668 predefined-parameters: |
669 GERRIT_BRANCH=$GERRIT_BRANCH
671 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
672 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
673 node-parameters: true
674 kill-phase-on: FAILURE
678 name: 'Verify and upload ISO'
679 condition: SUCCESSFUL
681 - name: 'apex-verify-iso-danube'
682 current-parameters: false
683 predefined-parameters: |
684 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
685 GERRIT_BRANCH=$GERRIT_BRANCH
687 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
688 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
689 node-parameters: true
690 kill-phase-on: FAILURE
694 name: Baremetal Deploy and Test Phase
695 condition: SUCCESSFUL
698 - name: 'apex-run-deploy-test-baremetal-danube'
699 node-parameters: false
700 current-parameters: false
701 predefined-parameters: |
702 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
708 - name: 'apex-run-deploy-test-baremetal-danube'
709 node-parameters: false
710 current-parameters: false
711 predefined-parameters: |
712 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
718 - name: 'apex-run-deploy-test-baremetal-danube'
719 node-parameters: false
720 current-parameters: false
721 predefined-parameters: |
722 DEPLOY_SCENARIO=os-nosdn-nofeature-ha-ipv6
728 - name: 'apex-run-deploy-test-baremetal-danube'
729 node-parameters: false
730 current-parameters: false
731 predefined-parameters: |
732 DEPLOY_SCENARIO=os-nosdn-ovs-noha
738 - name: 'apex-run-deploy-test-baremetal-danube'
739 node-parameters: false
740 current-parameters: false
741 predefined-parameters: |
742 DEPLOY_SCENARIO=os-nosdn-ovs-ha
748 - name: 'apex-run-deploy-test-baremetal-danube'
749 node-parameters: false
750 current-parameters: false
751 predefined-parameters: |
752 DEPLOY_SCENARIO=os-nosdn-fdio-noha
758 - name: 'apex-run-deploy-test-baremetal-danube'
759 node-parameters: false
760 current-parameters: false
761 predefined-parameters: |
762 DEPLOY_SCENARIO=os-nosdn-fdio-ha
768 - name: 'apex-run-deploy-test-baremetal-danube'
769 node-parameters: false
770 current-parameters: false
771 predefined-parameters: |
772 DEPLOY_SCENARIO=os-nosdn-kvm-ha
778 - name: 'apex-run-deploy-test-baremetal-danube'
779 node-parameters: false
780 current-parameters: false
781 predefined-parameters: |
782 DEPLOY_SCENARIO=os-nosdn-kvm-noha
788 - name: 'apex-run-deploy-test-baremetal-danube'
789 node-parameters: false
790 current-parameters: false
791 predefined-parameters: |
792 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
798 - name: 'apex-run-deploy-test-baremetal-danube'
799 node-parameters: false
800 current-parameters: false
801 predefined-parameters: |
802 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
808 - name: 'apex-run-deploy-test-baremetal-danube'
809 node-parameters: false
810 current-parameters: false
811 predefined-parameters: |
812 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
818 - name: 'apex-run-deploy-test-baremetal-danube'
819 node-parameters: false
820 current-parameters: false
821 predefined-parameters: |
822 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
828 - name: 'apex-run-deploy-test-baremetal-danube'
829 node-parameters: false
830 current-parameters: false
831 predefined-parameters: |
832 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
838 - name: 'apex-run-deploy-test-baremetal-danube'
839 node-parameters: false
840 current-parameters: false
841 predefined-parameters: |
842 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
848 - name: 'apex-run-deploy-test-baremetal-danube'
849 node-parameters: false
850 current-parameters: false
851 predefined-parameters: |
852 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
858 - name: 'apex-run-deploy-test-baremetal-danube'
859 node-parameters: false
860 current-parameters: false
861 predefined-parameters: |
862 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
868 - name: 'apex-run-deploy-test-baremetal-danube'
869 node-parameters: false
870 current-parameters: false
871 predefined-parameters: |
872 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
878 - name: 'apex-run-deploy-test-baremetal-danube'
879 node-parameters: false
880 current-parameters: false
881 predefined-parameters: |
882 DEPLOY_SCENARIO=os-odl-gluon-noha
888 - name: 'apex-run-deploy-test-baremetal-danube'
889 node-parameters: false
890 current-parameters: false
891 predefined-parameters: |
892 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
898 - name: 'apex-run-deploy-test-baremetal-danube'
899 node-parameters: false
900 current-parameters: false
901 predefined-parameters: |
902 DEPLOY_SCENARIO=os-odl_l3-fdio-ha
908 - name: 'apex-run-deploy-test-baremetal-danube'
909 node-parameters: false
910 current-parameters: false
911 predefined-parameters: |
912 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-noha
918 - name: 'apex-run-deploy-test-baremetal-danube'
919 node-parameters: false
920 current-parameters: false
921 predefined-parameters: |
922 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-ha
928 - name: 'apex-run-deploy-test-baremetal-danube'
929 node-parameters: false
930 current-parameters: false
931 predefined-parameters: |
932 DEPLOY_SCENARIO=os-odl_l3-csit-noha
938 - name: 'apex-run-deploy-test-baremetal-danube'
939 node-parameters: false
940 current-parameters: false
941 predefined-parameters: |
942 DEPLOY_SCENARIO=os-onos-nofeature-ha
948 - name: 'apex-run-deploy-test-baremetal-danube'
949 node-parameters: false
950 current-parameters: false
951 predefined-parameters: |
952 DEPLOY_SCENARIO=os-ovn-nofeature-noha
961 name: 'apex-daily-master'
963 # Job template for daily build
965 # Required Variables:
966 # stream: branch with - in place of / (eg. stable)
967 # branch: branch (eg. stable)
968 project-type: 'multijob'
970 node: 'apex-baremetal-master'
978 - '{project}-defaults'
979 - '{project}-baremetal-master-defaults'
995 condition: SUCCESSFUL
997 - name: 'apex-build-master'
998 current-parameters: false
999 predefined-parameters: |
1000 GERRIT_BRANCH=$GERRIT_BRANCH
1002 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1003 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1004 node-parameters: true
1005 kill-phase-on: FAILURE
1009 name: 'Verify and upload ISO'
1010 condition: SUCCESSFUL
1012 - name: 'apex-verify-iso-master'
1013 current-parameters: false
1014 predefined-parameters: |
1015 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1016 GERRIT_BRANCH=$GERRIT_BRANCH
1018 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1019 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1020 node-parameters: true
1021 kill-phase-on: FAILURE
1025 name: Baremetal Deploy and Test Phase
1026 condition: SUCCESSFUL
1029 - name: 'apex-run-deploy-test-baremetal-master'
1030 node-parameters: false
1031 current-parameters: false
1032 predefined-parameters: |
1033 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1035 kill-phase-on: NEVER
1039 - name: 'apex-run-deploy-test-baremetal-master'
1040 node-parameters: false
1041 current-parameters: false
1042 predefined-parameters: |
1043 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
1045 kill-phase-on: NEVER
1049 - name: 'apex-run-deploy-test-baremetal-master'
1050 node-parameters: false
1051 current-parameters: false
1052 predefined-parameters: |
1053 DEPLOY_SCENARIO=os-odl-nofeature-ha
1055 kill-phase-on: NEVER
1059 - name: 'apex-run-deploy-test-baremetal-master'
1060 node-parameters: false
1061 current-parameters: false
1062 predefined-parameters: |
1063 DEPLOY_SCENARIO=os-odl-nofeature-noha
1065 kill-phase-on: NEVER
1073 name: 'apex-create-snapshot'
1075 # Job template for clean
1077 # Required Variables:
1078 # stream: branch with - in place of / (eg. stable)
1084 !include-raw-escape: ./apex-snapshot-create.sh
1088 name: 'apex-upload-snapshot'
1090 # Job template for clean
1092 # Required Variables:
1093 # stream: branch with - in place of / (eg. stable)
1099 properties-content: ARTIFACT_TYPE=snapshot
1100 - 'apex-upload-artifact'
1104 name: 'apex-csit-promote-daily-{stream}'
1106 # Job template for promoting CSIT Snapshots
1108 # Required Variables:
1109 # stream: branch with - in place of / (eg. stable)
1110 # branch: branch (eg. stable)
1111 node: '{virtual-slave}'
1112 project-type: 'multijob'
1119 - project-parameter:
1120 project: '{project}'
1123 gs-pathname: '{gs-pathname}'
1127 use-build-blocker: true
1136 - timed: '0 12 * * 0'
1141 condition: SUCCESSFUL
1143 - name: 'apex-build-{stream}'
1144 current-parameters: false
1145 predefined-parameters: |
1146 GERRIT_BRANCH=$GERRIT_BRANCH
1147 GERRIT_REFSPEC=$GERRIT_REFSPEC
1148 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1149 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1150 node-parameters: false
1151 kill-phase-on: FAILURE
1155 name: deploy-virtual
1156 condition: SUCCESSFUL
1158 - name: 'apex-deploy-virtual-{stream}'
1159 current-parameters: false
1160 predefined-parameters: |
1161 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1163 GERRIT_BRANCH=$GERRIT_BRANCH
1164 GERRIT_REFSPEC=$GERRIT_REFSPEC
1165 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1166 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1167 node-parameters: true
1168 kill-phase-on: FAILURE
1172 name: functest-smoke
1173 condition: SUCCESSFUL
1175 - name: 'functest-apex-virtual-suite-{stream}'
1176 current-parameters: false
1177 predefined-parameters: |
1178 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1179 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1180 GERRIT_BRANCH=$GERRIT_BRANCH
1181 GERRIT_REFSPEC=$GERRIT_REFSPEC
1182 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1183 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1184 node-parameters: true
1185 kill-phase-on: FAILURE
1189 name: create snapshot
1190 condition: SUCCESSFUL
1192 - name: 'apex-create-snapshot'
1193 current-parameters: true
1194 node-parameters: true
1195 kill-phase-on: FAILURE
1199 name: upload snapshot
1200 condition: SUCCESSFUL
1202 - name: 'apex-upload-snapshot'
1203 current-parameters: true
1204 node-parameters: true
1205 kill-phase-on: FAILURE
1211 name: 'apex-fdio-promote-daily-{stream}'
1213 # Job template for promoting CSIT Snapshots
1215 # Required Variables:
1216 # stream: branch with - in place of / (eg. stable)
1217 # branch: branch (eg. stable)
1218 node: '{virtual-slave}'
1219 project-type: 'multijob'
1226 - project-parameter:
1227 project: '{project}'
1230 gs-pathname: '{gs-pathname}'
1234 use-build-blocker: true
1245 condition: SUCCESSFUL
1247 - name: 'apex-build-{stream}'
1248 current-parameters: false
1249 predefined-parameters: |
1250 GERRIT_BRANCH=$GERRIT_BRANCH
1251 GERRIT_REFSPEC=$GERRIT_REFSPEC
1252 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1253 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1254 node-parameters: false
1255 kill-phase-on: FAILURE
1259 name: deploy-virtual
1260 condition: SUCCESSFUL
1262 - name: 'apex-deploy-virtual-{stream}'
1263 current-parameters: false
1264 predefined-parameters: |
1265 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
1267 GERRIT_BRANCH=$GERRIT_BRANCH
1268 GERRIT_REFSPEC=$GERRIT_REFSPEC
1269 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1270 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1271 node-parameters: true
1272 kill-phase-on: FAILURE
1276 name: create snapshot
1277 condition: SUCCESSFUL
1279 - name: 'apex-create-snapshot'
1280 current-parameters: true
1281 node-parameters: true
1282 kill-phase-on: FAILURE
1286 name: upload snapshot
1287 condition: SUCCESSFUL
1289 - name: 'apex-upload-snapshot'
1290 current-parameters: true
1291 node-parameters: true
1292 kill-phase-on: FAILURE
1296 ########################
1298 ########################
1300 name: apex-parameter
1305 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1307 name: ARTIFACT_VERSION
1309 description: "Artifact version type"
1311 name: BUILD_DIRECTORY
1312 default: $WORKSPACE/.build
1313 description: "Directory where the build artifact will be located upon the completion of the build."
1315 name: CACHE_DIRECTORY
1316 default: $HOME/opnfv/apex-cache{gs-pathname}
1317 description: "Directory where the cache to be used during the build is located."
1320 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1321 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1324 default: '{gs-pathname}'
1325 description: "Version directory where opnfv artifacts are stored in gs repository"
1328 default: $GS_BASE{gs-pathname}
1329 description: "URL to Google Storage."
1331 ########################
1333 ########################
1335 name: 'apex-unit-test'
1338 !include-raw: ./apex-unit-test.sh
1344 !include-raw: ./apex-build.sh
1347 name: 'apex-workspace-cleanup'
1350 !include-raw: ./apex-workspace-cleanup.sh
1353 name: 'apex-iso-verify'
1356 !include-raw: ./apex-iso-verify.sh
1360 name: 'apex-upload-artifact'
1363 !include-raw: ./apex-upload-artifact.sh
1366 name: 'apex-download-artifact'
1369 !include-raw: ./apex-download-artifact.sh
1375 !include-raw: ./apex-deploy.sh
1377 #######################
1379 ########################
1383 - timed: '0 3 1 1 7'
1387 - timed: '0 12 * * *'