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-{scenario}-baremetal-{scenario_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'
30 scenario_stream: 'master'
33 branch: 'stable/danube'
34 gs-pathname: '/danube'
35 build-slave: 'apex-build-danube'
36 virtual-slave: 'apex-virtual-danube'
37 baremetal-slave: 'apex-baremetal-danube'
38 verify-scenario: 'os-odl_l3-nofeature-ha'
40 scenario_stream: 'danube'
44 - 'os-nosdn-nofeature-noha':
46 - 'os-nosdn-nofeature-ha':
48 - 'os-nosdn-nofeature-ha-ipv6':
50 - 'os-nosdn-ovs-noha':
54 - 'os-nosdn-fdio-noha':
60 - 'os-nosdn-kvm-noha':
62 - 'os-odl_l2-fdio-noha':
64 - 'os-odl_l2-fdio-ha':
66 - 'os-odl_netvirt-fdio-noha':
68 - 'os-odl_l2-sfc-noha':
70 - 'os-odl_l3-nofeature-noha':
72 - 'os-odl_l3-nofeature-ha':
74 - 'os-odl_l3-ovs-noha':
80 - 'os-odl-gluon-noha':
82 - 'os-odl_l3-fdio-noha':
84 - 'os-odl_l3-fdio-ha':
86 - 'os-odl_l3-fdio_dvr-noha':
88 - 'os-odl_l3-fdio_dvr-ha':
90 - 'os-odl_l3-csit-noha':
92 - 'os-onos-nofeature-ha':
94 - 'os-ovn-nofeature-noha':
96 - 'os-nosdn-nofeature-noha':
98 - 'os-nosdn-nofeature-ha':
100 - 'os-odl-nofeature-ha':
102 - 'os-odl-nofeature-noha':
104 - 'os-odl-bgpvpn-ha':
113 name: 'apex-verify-unit-tests-{stream}'
115 node: '{build-slave}'
121 gs-pathname: '{gs-pathname}'
131 server-name: 'gerrit.opnfv.org'
133 - patchset-created-event:
134 exclude-drafts: 'false'
135 exclude-trivial-rebase: 'false'
136 exclude-no-code-change: 'true'
137 - draft-published-event
138 - comment-added-contains-event:
139 comment-contains-value: 'recheck'
140 - comment-added-contains-event:
141 comment-contains-value: 'reverify'
143 - project-compare-type: 'ANT'
144 project-pattern: 'apex'
146 - branch-compare-type: 'ANT'
147 branch-pattern: '**/{branch}'
160 !include-raw-escape: ./apex-unit-test.sh
164 name: 'apex-verify-{stream}'
166 node: '{virtual-slave}'
170 project-type: 'multijob'
174 gs-pathname: '{gs-pathname}/dev'
179 name: ARTIFACT_VERSION
181 description: "Used for overriding the ARTIFACT_VERSION"
187 server-name: 'gerrit.opnfv.org'
189 - patchset-created-event:
190 exclude-drafts: 'false'
191 exclude-trivial-rebase: 'false'
192 exclude-no-code-change: 'true'
193 - draft-published-event
194 - comment-added-contains-event:
195 comment-contains-value: 'recheck'
196 - comment-added-contains-event:
197 comment-contains-value: 'reverify'
199 - project-compare-type: 'ANT'
200 project-pattern: 'apex'
202 - branch-compare-type: 'ANT'
203 branch-pattern: '**/{branch}'
222 - description-setter:
223 description: "Built on $NODE_NAME"
226 condition: SUCCESSFUL
228 - name: 'apex-verify-unit-tests-{stream}'
229 current-parameters: false
230 predefined-parameters: |
231 GERRIT_BRANCH=$GERRIT_BRANCH
232 GERRIT_REFSPEC=$GERRIT_REFSPEC
233 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
234 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
235 node-parameters: false
236 kill-phase-on: FAILURE
241 condition: SUCCESSFUL
243 - name: 'apex-build-{stream}'
244 current-parameters: false
245 predefined-parameters: |
246 ARTIFACT_VERSION=$ARTIFACT_VERSION
247 GERRIT_BRANCH=$GERRIT_BRANCH
248 GERRIT_REFSPEC=$GERRIT_REFSPEC
249 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
250 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
251 node-parameters: false
252 kill-phase-on: FAILURE
257 condition: SUCCESSFUL
259 - name: 'apex-deploy-virtual-{stream}'
260 current-parameters: false
261 predefined-parameters: |
262 ARTIFACT_VERSION=$ARTIFACT_VERSION
263 DEPLOY_SCENARIO={verify-scenario}
265 GERRIT_BRANCH=$GERRIT_BRANCH
266 GERRIT_REFSPEC=$GERRIT_REFSPEC
267 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
268 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
269 node-parameters: true
270 kill-phase-on: FAILURE
275 condition: SUCCESSFUL
277 - name: 'functest-apex-virtual-suite-{stream}'
278 current-parameters: false
279 predefined-parameters: |
280 DEPLOY_SCENARIO={verify-scenario}
281 FUNCTEST_SUITE_NAME=healthcheck
282 GERRIT_BRANCH=$GERRIT_BRANCH
283 GERRIT_REFSPEC=$GERRIT_REFSPEC
284 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
285 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
286 node-parameters: true
291 # Verify Scenario Gate
293 name: 'apex-verify-gate-{stream}'
295 node: '{virtual-slave}'
299 project-type: 'multijob'
303 gs-pathname: '{gs-pathname}/dev'
309 default: https://gerrit.opnfv.org/gerrit/$PROJECT
310 description: "Used for overriding the GIT URL coming from parameters macro."
312 name: ARTIFACT_VERSION
314 description: "Used for overriding the ARTIFACT_VERSION"
321 server-name: 'gerrit.opnfv.org'
323 - comment-added-contains-event:
324 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
326 - project-compare-type: 'ANT'
327 project-pattern: 'apex'
329 - branch-compare-type: 'ANT'
330 branch-pattern: '**/{branch}'
351 condition: SUCCESSFUL
353 - name: 'apex-deploy-virtual-{stream}'
354 current-parameters: false
355 predefined-parameters: |
356 ARTIFACT_VERSION=$ARTIFACT_VERSION
359 GERRIT_BRANCH=$GERRIT_BRANCH
360 GERRIT_REFSPEC=$GERRIT_REFSPEC
361 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
362 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
363 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
364 node-parameters: true
365 kill-phase-on: FAILURE
370 condition: SUCCESSFUL
372 - name: 'functest-apex-virtual-suite-{stream}'
373 current-parameters: false
374 predefined-parameters: |
375 DEPLOY_SCENARIO={verify-scenario}
376 FUNCTEST_SUITE_NAME=healthcheck
377 GERRIT_BRANCH=$GERRIT_BRANCH
378 GERRIT_REFSPEC=$GERRIT_REFSPEC
379 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
380 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
381 node-parameters: true
387 name: 'apex-runner-cperf-{stream}'
390 project-type: 'multijob'
397 gs-pathname: '{gs-pathname}'
403 default: https://gerrit.opnfv.org/gerrit/$PROJECT
404 description: "Used for overriding the GIT URL coming from parameters macro."
412 use-build-blocker: false
422 - description-setter:
423 description: "Deployed on $NODE_NAME"
425 name: 'Baremetal Deploy'
428 - name: 'apex-deploy-baremetal-{stream}'
429 node-parameters: false
430 current-parameters: true
431 predefined-parameters: |
432 GERRIT_BRANCH=$GERRIT_BRANCH
435 DEPLOY_SCENARIO={verify-scenario}
436 kill-phase-on: FAILURE
441 condition: SUCCESSFUL
443 - name: 'cperf-apex-intel-pod2-daily-master'
444 node-parameters: true
445 current-parameters: false
446 predefined-parameters:
447 DEPLOY_SCENARIO={verify-scenario}
454 name: 'apex-build-{stream}'
456 # Job template for builds
458 # Required Variables:
459 # stream: branch with - in place of / (eg. stable)
460 # branch: branch (eg. stable)
461 node: '{build-slave}'
468 - '{project}-defaults'
473 gs-pathname: '{gs-pathname}'
486 max-per-node: {concurrent-builds}
490 use-build-blocker: true
493 - 'apex-verify-iso-{stream}'
498 properties-content: ARTIFACT_TYPE=rpm
499 - 'apex-upload-artifact'
503 name: 'apex-verify-iso-{stream}'
505 # Job template for builds
507 # Required Variables:
508 # stream: branch with - in place of / (eg. stable)
509 # branch: branch (eg. stable)
510 node: '{virtual-slave}'
521 gs-pathname: '{gs-pathname}'
524 default: https://gerrit.opnfv.org/gerrit/$PROJECT
525 description: "Used for overriding the GIT URL coming from parameters macro."
540 properties-content: ARTIFACT_TYPE=iso
541 - 'apex-upload-artifact'
545 name: 'apex-deploy-{platform}-{stream}'
547 node: 'apex-{platform}-{stream}'
562 - '{project}-{platform}-{stream}-defaults'
567 gs-pathname: '{gs-pathname}'
569 name: DEPLOY_SCENARIO
570 default: '{verify-scenario}'
571 description: "Scenario to deploy with."
575 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
580 use-build-blocker: true
592 - description-setter:
593 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
594 - 'apex-download-artifact'
596 - 'apex-workspace-cleanup'
599 # Baremetal Deploy and Test
601 name: 'apex-{scenario}-baremetal-{scenario_stream}'
603 project-type: 'multijob'
611 - '{project}-defaults'
612 - '{project}-baremetal-{scenario_stream}-defaults'
617 gs-pathname: '{gs-pathname}'
619 name: DEPLOY_SCENARIO
620 default: '{scenario}'
621 description: "Scenario to deploy with."
625 use-build-blocker: true
630 - 'apex-.*-promote.*'
633 - description-setter:
634 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
636 name: 'Baremetal Deploy'
639 - name: 'apex-deploy-baremetal-{scenario_stream}'
640 node-parameters: true
641 current-parameters: true
642 predefined-parameters: |
644 GERRIT_BRANCH=$GERRIT_BRANCH
646 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
647 kill-phase-on: FAILURE
652 condition: SUCCESSFUL
654 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
655 node-parameters: true
656 current-parameters: false
657 predefined-parameters:
658 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
666 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
667 node-parameters: true
668 current-parameters: false
669 predefined-parameters:
670 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
678 name: 'apex-daily-danube'
680 # Job template for daily build
682 # Required Variables:
683 # stream: branch with - in place of / (eg. stable)
684 # branch: branch (eg. stable)
685 project-type: 'multijob'
687 node: 'apex-baremetal-danube'
695 - '{project}-defaults'
696 - '{project}-baremetal-danube-defaults'
699 branch: 'stable/danube'
701 gs-pathname: '/danube'
712 condition: SUCCESSFUL
714 - name: 'apex-build-danube'
715 current-parameters: false
716 predefined-parameters: |
717 GERRIT_BRANCH=$GERRIT_BRANCH
719 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
720 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
721 node-parameters: true
722 kill-phase-on: FAILURE
726 name: 'Verify and upload ISO'
727 condition: SUCCESSFUL
729 - name: 'apex-verify-iso-danube'
730 current-parameters: false
731 predefined-parameters: |
732 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
733 GERRIT_BRANCH=$GERRIT_BRANCH
735 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
736 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
737 node-parameters: true
738 kill-phase-on: FAILURE
742 name: Baremetal Deploy and Test Phase
743 condition: SUCCESSFUL
746 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
747 node-parameters: false
748 current-parameters: false
749 predefined-parameters: |
755 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
756 node-parameters: false
757 current-parameters: false
758 predefined-parameters: |
764 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
765 node-parameters: false
766 current-parameters: false
767 predefined-parameters: |
773 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
774 node-parameters: false
775 current-parameters: false
776 predefined-parameters: |
782 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
783 node-parameters: false
784 current-parameters: false
785 predefined-parameters: |
791 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
792 node-parameters: false
793 current-parameters: false
794 predefined-parameters: |
800 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
801 node-parameters: false
802 current-parameters: false
803 predefined-parameters: |
809 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
810 node-parameters: false
811 current-parameters: false
812 predefined-parameters: |
818 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
819 node-parameters: false
820 current-parameters: false
821 predefined-parameters: |
827 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
828 node-parameters: false
829 current-parameters: false
830 predefined-parameters: |
836 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
837 node-parameters: false
838 current-parameters: false
839 predefined-parameters: |
845 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
846 node-parameters: false
847 current-parameters: false
848 predefined-parameters: |
854 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
855 node-parameters: false
856 current-parameters: false
857 predefined-parameters: |
863 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
864 node-parameters: false
865 current-parameters: false
866 predefined-parameters: |
872 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
873 node-parameters: false
874 current-parameters: false
875 predefined-parameters: |
881 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
882 node-parameters: false
883 current-parameters: false
884 predefined-parameters: |
890 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
891 node-parameters: false
892 current-parameters: false
893 predefined-parameters: |
899 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
900 node-parameters: false
901 current-parameters: false
902 predefined-parameters: |
908 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
909 node-parameters: false
910 current-parameters: false
911 predefined-parameters: |
917 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
918 node-parameters: false
919 current-parameters: false
920 predefined-parameters: |
926 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
927 node-parameters: false
928 current-parameters: false
929 predefined-parameters: |
935 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
936 node-parameters: false
937 current-parameters: false
938 predefined-parameters: |
944 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
945 node-parameters: false
946 current-parameters: false
947 predefined-parameters: |
953 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
954 node-parameters: false
955 current-parameters: false
956 predefined-parameters: |
962 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
963 node-parameters: false
964 current-parameters: false
965 predefined-parameters: |
971 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
972 node-parameters: false
973 current-parameters: false
974 predefined-parameters: |
983 name: 'apex-daily-master'
985 # Job template for daily build
987 # Required Variables:
988 # stream: branch with - in place of / (eg. stable)
989 # branch: branch (eg. stable)
990 project-type: 'multijob'
992 node: 'apex-baremetal-master'
1000 - '{project}-defaults'
1001 - '{project}-baremetal-master-defaults'
1002 - project-parameter:
1003 project: '{project}'
1017 condition: SUCCESSFUL
1019 - name: 'apex-build-master'
1020 current-parameters: false
1021 predefined-parameters: |
1022 GERRIT_BRANCH=$GERRIT_BRANCH
1024 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1025 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1026 node-parameters: true
1027 kill-phase-on: FAILURE
1031 name: 'Verify and upload ISO'
1032 condition: SUCCESSFUL
1034 - name: 'apex-verify-iso-master'
1035 current-parameters: false
1036 predefined-parameters: |
1037 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1038 GERRIT_BRANCH=$GERRIT_BRANCH
1040 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1041 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1042 node-parameters: true
1043 kill-phase-on: FAILURE
1047 name: Baremetal Deploy and Test Phase
1048 condition: SUCCESSFUL
1051 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1052 node-parameters: false
1053 current-parameters: false
1054 predefined-parameters: |
1056 kill-phase-on: NEVER
1060 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1061 node-parameters: false
1062 current-parameters: false
1063 predefined-parameters: |
1065 kill-phase-on: NEVER
1069 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1070 node-parameters: false
1071 current-parameters: false
1072 predefined-parameters: |
1074 kill-phase-on: NEVER
1078 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1079 node-parameters: false
1080 current-parameters: false
1081 predefined-parameters: |
1083 kill-phase-on: NEVER
1087 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1088 node-parameters: false
1089 current-parameters: false
1090 predefined-parameters: |
1092 kill-phase-on: NEVER
1100 name: 'apex-create-snapshot'
1102 # Job template for clean
1104 # Required Variables:
1105 # stream: branch with - in place of / (eg. stable)
1111 !include-raw-escape: ./apex-snapshot-create.sh
1115 name: 'apex-upload-snapshot'
1117 # Job template for clean
1119 # Required Variables:
1120 # stream: branch with - in place of / (eg. stable)
1126 properties-content: ARTIFACT_TYPE=snapshot
1127 - 'apex-upload-artifact'
1131 name: 'apex-csit-promote-daily-{stream}'
1133 # Job template for promoting CSIT Snapshots
1135 # Required Variables:
1136 # stream: branch with - in place of / (eg. stable)
1137 # branch: branch (eg. stable)
1138 node: '{virtual-slave}'
1139 project-type: 'multijob'
1146 - project-parameter:
1147 project: '{project}'
1150 gs-pathname: '{gs-pathname}'
1154 use-build-blocker: true
1163 - timed: '0 12 * * 0'
1168 condition: SUCCESSFUL
1170 - name: 'apex-build-{stream}'
1171 current-parameters: false
1172 predefined-parameters: |
1173 GERRIT_BRANCH=$GERRIT_BRANCH
1174 GERRIT_REFSPEC=$GERRIT_REFSPEC
1175 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1176 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1177 node-parameters: false
1178 kill-phase-on: FAILURE
1182 name: deploy-virtual
1183 condition: SUCCESSFUL
1185 - name: 'apex-deploy-virtual-{stream}'
1186 current-parameters: false
1187 predefined-parameters: |
1188 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1190 GERRIT_BRANCH=$GERRIT_BRANCH
1191 GERRIT_REFSPEC=$GERRIT_REFSPEC
1192 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1193 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1195 node-parameters: true
1196 kill-phase-on: FAILURE
1200 name: functest-smoke
1201 condition: SUCCESSFUL
1203 - name: 'functest-apex-virtual-suite-{stream}'
1204 current-parameters: false
1205 predefined-parameters: |
1206 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1207 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1208 GERRIT_BRANCH=$GERRIT_BRANCH
1209 GERRIT_REFSPEC=$GERRIT_REFSPEC
1210 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1211 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1212 node-parameters: true
1213 kill-phase-on: FAILURE
1217 name: create snapshot
1218 condition: SUCCESSFUL
1220 - name: 'apex-create-snapshot'
1221 current-parameters: false
1222 predefined-parameters: |
1224 node-parameters: true
1225 kill-phase-on: FAILURE
1229 name: upload snapshot
1230 condition: SUCCESSFUL
1232 - name: 'apex-upload-snapshot'
1233 current-parameters: false
1234 predefined-parameters: |
1236 node-parameters: true
1237 kill-phase-on: FAILURE
1243 name: 'apex-fdio-promote-daily-{stream}'
1245 # Job template for promoting CSIT Snapshots
1247 # Required Variables:
1248 # stream: branch with - in place of / (eg. stable)
1249 # branch: branch (eg. stable)
1250 node: '{virtual-slave}'
1251 project-type: 'multijob'
1258 - project-parameter:
1259 project: '{project}'
1262 gs-pathname: '{gs-pathname}'
1266 use-build-blocker: true
1277 condition: SUCCESSFUL
1279 - name: 'apex-build-{stream}'
1280 current-parameters: false
1281 predefined-parameters: |
1282 GERRIT_BRANCH=$GERRIT_BRANCH
1283 GERRIT_REFSPEC=$GERRIT_REFSPEC
1284 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1285 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1286 node-parameters: false
1287 kill-phase-on: FAILURE
1291 name: deploy-virtual
1292 condition: SUCCESSFUL
1294 - name: 'apex-deploy-virtual-{stream}'
1295 current-parameters: false
1296 predefined-parameters: |
1297 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1299 GERRIT_BRANCH=$GERRIT_BRANCH
1300 GERRIT_REFSPEC=$GERRIT_REFSPEC
1301 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1302 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1304 node-parameters: true
1305 kill-phase-on: FAILURE
1309 name: create snapshot
1310 condition: SUCCESSFUL
1312 - name: 'apex-create-snapshot'
1313 current-parameters: false
1314 predefined-parameters: |
1316 node-parameters: true
1317 kill-phase-on: FAILURE
1321 name: upload snapshot
1322 condition: SUCCESSFUL
1324 - name: 'apex-upload-snapshot'
1325 current-parameters: false
1326 predefined-parameters: |
1328 node-parameters: true
1329 kill-phase-on: FAILURE
1333 ########################
1335 ########################
1337 name: apex-parameter
1342 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1344 name: ARTIFACT_VERSION
1346 description: "Artifact version type"
1348 name: BUILD_DIRECTORY
1349 default: $WORKSPACE/.build
1350 description: "Directory where the build artifact will be located upon the completion of the build."
1352 name: CACHE_DIRECTORY
1353 default: $HOME/opnfv/apex-cache{gs-pathname}
1354 description: "Directory where the cache to be used during the build is located."
1357 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1358 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1361 default: '{gs-pathname}'
1362 description: "Version directory where opnfv artifacts are stored in gs repository"
1365 default: $GS_BASE{gs-pathname}
1366 description: "URL to Google Storage."
1370 description: "Flag to know if we should promote/upload snapshot artifacts."
1372 ########################
1374 ########################
1376 name: 'apex-unit-test'
1379 !include-raw: ./apex-unit-test.sh
1385 !include-raw: ./apex-build.sh
1388 name: 'apex-workspace-cleanup'
1391 !include-raw: ./apex-workspace-cleanup.sh
1394 name: 'apex-iso-verify'
1397 !include-raw: ./apex-iso-verify.sh
1401 name: 'apex-upload-artifact'
1404 !include-raw: ./apex-upload-artifact.sh
1407 name: 'apex-download-artifact'
1410 !include-raw: ./apex-download-artifact.sh
1416 !include-raw: ./apex-deploy.sh
1418 #######################
1420 ########################
1424 - timed: '0 12 * * *'
1428 - timed: '0 3 1 1 7'