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.*'
632 - 'apex-.+-baremetal-.+'
638 - description-setter:
639 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
641 name: 'Baremetal Deploy'
644 - name: 'apex-deploy-baremetal-{scenario_stream}'
645 node-parameters: true
646 current-parameters: true
647 predefined-parameters: |
649 GERRIT_BRANCH=$GERRIT_BRANCH
651 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
652 kill-phase-on: FAILURE
657 condition: SUCCESSFUL
659 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
660 node-parameters: true
661 current-parameters: false
662 predefined-parameters:
663 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
671 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
672 node-parameters: true
673 current-parameters: false
674 predefined-parameters:
675 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
683 name: 'apex-daily-danube'
685 # Job template for daily build
687 # Required Variables:
688 # stream: branch with - in place of / (eg. stable)
689 # branch: branch (eg. stable)
690 project-type: 'multijob'
692 node: 'apex-baremetal-danube'
700 - '{project}-defaults'
701 - '{project}-baremetal-danube-defaults'
704 branch: 'stable/danube'
706 gs-pathname: '/danube'
717 condition: SUCCESSFUL
719 - name: 'apex-build-danube'
720 current-parameters: false
721 predefined-parameters: |
722 GERRIT_BRANCH=$GERRIT_BRANCH
724 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
725 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
726 node-parameters: true
727 kill-phase-on: FAILURE
731 name: 'Verify and upload ISO'
732 condition: SUCCESSFUL
734 - name: 'apex-verify-iso-danube'
735 current-parameters: false
736 predefined-parameters: |
737 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
738 GERRIT_BRANCH=$GERRIT_BRANCH
740 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
741 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
742 node-parameters: true
743 kill-phase-on: FAILURE
747 name: Baremetal Deploy and Test Phase
748 condition: SUCCESSFUL
751 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
752 node-parameters: false
753 current-parameters: false
754 predefined-parameters: |
760 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
761 node-parameters: false
762 current-parameters: false
763 predefined-parameters: |
769 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
770 node-parameters: false
771 current-parameters: false
772 predefined-parameters: |
778 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
779 node-parameters: false
780 current-parameters: false
781 predefined-parameters: |
787 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
788 node-parameters: false
789 current-parameters: false
790 predefined-parameters: |
796 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
797 node-parameters: false
798 current-parameters: false
799 predefined-parameters: |
805 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
806 node-parameters: false
807 current-parameters: false
808 predefined-parameters: |
814 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
815 node-parameters: false
816 current-parameters: false
817 predefined-parameters: |
823 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
824 node-parameters: false
825 current-parameters: false
826 predefined-parameters: |
832 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
833 node-parameters: false
834 current-parameters: false
835 predefined-parameters: |
841 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
842 node-parameters: false
843 current-parameters: false
844 predefined-parameters: |
850 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
851 node-parameters: false
852 current-parameters: false
853 predefined-parameters: |
859 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
860 node-parameters: false
861 current-parameters: false
862 predefined-parameters: |
868 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
869 node-parameters: false
870 current-parameters: false
871 predefined-parameters: |
877 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
878 node-parameters: false
879 current-parameters: false
880 predefined-parameters: |
886 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
887 node-parameters: false
888 current-parameters: false
889 predefined-parameters: |
895 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
896 node-parameters: false
897 current-parameters: false
898 predefined-parameters: |
904 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
905 node-parameters: false
906 current-parameters: false
907 predefined-parameters: |
913 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
914 node-parameters: false
915 current-parameters: false
916 predefined-parameters: |
922 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
923 node-parameters: false
924 current-parameters: false
925 predefined-parameters: |
931 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
932 node-parameters: false
933 current-parameters: false
934 predefined-parameters: |
940 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
941 node-parameters: false
942 current-parameters: false
943 predefined-parameters: |
949 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
950 node-parameters: false
951 current-parameters: false
952 predefined-parameters: |
958 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
959 node-parameters: false
960 current-parameters: false
961 predefined-parameters: |
967 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
968 node-parameters: false
969 current-parameters: false
970 predefined-parameters: |
976 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
977 node-parameters: false
978 current-parameters: false
979 predefined-parameters: |
988 name: 'apex-daily-master'
990 # Job template for daily build
992 # Required Variables:
993 # stream: branch with - in place of / (eg. stable)
994 # branch: branch (eg. stable)
995 project-type: 'multijob'
997 node: 'apex-baremetal-master'
1005 - '{project}-defaults'
1006 - '{project}-baremetal-master-defaults'
1007 - project-parameter:
1008 project: '{project}'
1022 condition: SUCCESSFUL
1024 - name: 'apex-build-master'
1025 current-parameters: false
1026 predefined-parameters: |
1027 GERRIT_BRANCH=$GERRIT_BRANCH
1029 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1030 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1031 node-parameters: true
1032 kill-phase-on: FAILURE
1036 name: 'Verify and upload ISO'
1037 condition: SUCCESSFUL
1039 - name: 'apex-verify-iso-master'
1040 current-parameters: false
1041 predefined-parameters: |
1042 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1043 GERRIT_BRANCH=$GERRIT_BRANCH
1045 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1046 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1047 node-parameters: true
1048 kill-phase-on: FAILURE
1052 name: Baremetal Deploy and Test Phase
1053 condition: SUCCESSFUL
1056 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1057 node-parameters: false
1058 current-parameters: false
1059 predefined-parameters: |
1061 kill-phase-on: NEVER
1065 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1066 node-parameters: false
1067 current-parameters: false
1068 predefined-parameters: |
1070 kill-phase-on: NEVER
1074 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1075 node-parameters: false
1076 current-parameters: false
1077 predefined-parameters: |
1079 kill-phase-on: NEVER
1083 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1084 node-parameters: false
1085 current-parameters: false
1086 predefined-parameters: |
1088 kill-phase-on: NEVER
1092 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1093 node-parameters: false
1094 current-parameters: false
1095 predefined-parameters: |
1097 kill-phase-on: NEVER
1105 name: 'apex-create-snapshot'
1107 # Job template for clean
1109 # Required Variables:
1110 # stream: branch with - in place of / (eg. stable)
1116 !include-raw-escape: ./apex-snapshot-create.sh
1120 name: 'apex-upload-snapshot'
1122 # Job template for clean
1124 # Required Variables:
1125 # stream: branch with - in place of / (eg. stable)
1131 properties-content: ARTIFACT_TYPE=snapshot
1132 - 'apex-upload-artifact'
1136 name: 'apex-csit-promote-daily-{stream}'
1138 # Job template for promoting CSIT Snapshots
1140 # Required Variables:
1141 # stream: branch with - in place of / (eg. stable)
1142 # branch: branch (eg. stable)
1143 node: '{virtual-slave}'
1144 project-type: 'multijob'
1151 - project-parameter:
1152 project: '{project}'
1155 gs-pathname: '{gs-pathname}'
1159 use-build-blocker: true
1168 - timed: '0 12 * * 0'
1173 condition: SUCCESSFUL
1175 - name: 'apex-build-{stream}'
1176 current-parameters: false
1177 predefined-parameters: |
1178 GERRIT_BRANCH=$GERRIT_BRANCH
1179 GERRIT_REFSPEC=$GERRIT_REFSPEC
1180 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1181 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1182 node-parameters: false
1183 kill-phase-on: FAILURE
1187 name: deploy-virtual
1188 condition: SUCCESSFUL
1190 - name: 'apex-deploy-virtual-{stream}'
1191 current-parameters: false
1192 predefined-parameters: |
1193 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1195 GERRIT_BRANCH=$GERRIT_BRANCH
1196 GERRIT_REFSPEC=$GERRIT_REFSPEC
1197 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1198 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1200 node-parameters: true
1201 kill-phase-on: FAILURE
1205 name: functest-smoke
1206 condition: SUCCESSFUL
1208 - name: 'functest-apex-virtual-suite-{stream}'
1209 current-parameters: false
1210 predefined-parameters: |
1211 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1212 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1213 GERRIT_BRANCH=$GERRIT_BRANCH
1214 GERRIT_REFSPEC=$GERRIT_REFSPEC
1215 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1216 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1217 node-parameters: true
1218 kill-phase-on: FAILURE
1222 name: create snapshot
1223 condition: SUCCESSFUL
1225 - name: 'apex-create-snapshot'
1226 current-parameters: false
1227 predefined-parameters: |
1229 node-parameters: true
1230 kill-phase-on: FAILURE
1234 name: upload snapshot
1235 condition: SUCCESSFUL
1237 - name: 'apex-upload-snapshot'
1238 current-parameters: false
1239 predefined-parameters: |
1241 node-parameters: true
1242 kill-phase-on: FAILURE
1248 name: 'apex-fdio-promote-daily-{stream}'
1250 # Job template for promoting CSIT Snapshots
1252 # Required Variables:
1253 # stream: branch with - in place of / (eg. stable)
1254 # branch: branch (eg. stable)
1255 node: '{virtual-slave}'
1256 project-type: 'multijob'
1263 - project-parameter:
1264 project: '{project}'
1267 gs-pathname: '{gs-pathname}'
1271 use-build-blocker: true
1282 condition: SUCCESSFUL
1284 - name: 'apex-build-{stream}'
1285 current-parameters: false
1286 predefined-parameters: |
1287 GERRIT_BRANCH=$GERRIT_BRANCH
1288 GERRIT_REFSPEC=$GERRIT_REFSPEC
1289 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1290 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1291 node-parameters: false
1292 kill-phase-on: FAILURE
1296 name: deploy-virtual
1297 condition: SUCCESSFUL
1299 - name: 'apex-deploy-virtual-{stream}'
1300 current-parameters: false
1301 predefined-parameters: |
1302 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1304 GERRIT_BRANCH=$GERRIT_BRANCH
1305 GERRIT_REFSPEC=$GERRIT_REFSPEC
1306 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1307 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1309 node-parameters: true
1310 kill-phase-on: FAILURE
1314 name: create snapshot
1315 condition: SUCCESSFUL
1317 - name: 'apex-create-snapshot'
1318 current-parameters: false
1319 predefined-parameters: |
1321 node-parameters: true
1322 kill-phase-on: FAILURE
1326 name: upload snapshot
1327 condition: SUCCESSFUL
1329 - name: 'apex-upload-snapshot'
1330 current-parameters: false
1331 predefined-parameters: |
1333 node-parameters: true
1334 kill-phase-on: FAILURE
1338 ########################
1340 ########################
1342 name: apex-parameter
1347 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1349 name: ARTIFACT_VERSION
1351 description: "Artifact version type"
1353 name: BUILD_DIRECTORY
1354 default: $WORKSPACE/.build
1355 description: "Directory where the build artifact will be located upon the completion of the build."
1357 name: CACHE_DIRECTORY
1358 default: $HOME/opnfv/apex-cache{gs-pathname}
1359 description: "Directory where the cache to be used during the build is located."
1362 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1363 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1366 default: '{gs-pathname}'
1367 description: "Version directory where opnfv artifacts are stored in gs repository"
1370 default: $GS_BASE{gs-pathname}
1371 description: "URL to Google Storage."
1375 description: "Flag to know if we should promote/upload snapshot artifacts."
1377 ########################
1379 ########################
1381 name: 'apex-unit-test'
1384 !include-raw: ./apex-unit-test.sh
1390 !include-raw: ./apex-build.sh
1393 name: 'apex-workspace-cleanup'
1396 !include-raw: ./apex-workspace-cleanup.sh
1399 name: 'apex-iso-verify'
1402 !include-raw: ./apex-iso-verify.sh
1406 name: 'apex-upload-artifact'
1409 !include-raw: ./apex-upload-artifact.sh
1412 name: 'apex-download-artifact'
1415 !include-raw: ./apex-download-artifact.sh
1421 !include-raw: ./apex-deploy.sh
1423 #######################
1425 ########################
1429 - timed: '0 12 * * *'
1433 - timed: '0 3 1 1 7'