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-testsuite-{scenario}-baremetal-{scenario_stream}'
18 - 'apex-upload-snapshot'
19 - 'apex-create-snapshot'
20 # stream: branch with - in place of / (eg. stable-arno)
21 # branch: branch (eg. stable/arno)
26 build-slave: 'apex-build-master'
27 virtual-slave: 'apex-virtual-master'
28 baremetal-slave: 'apex-baremetal-master'
29 verify-scenario: 'os-odl-nofeature-ha'
31 scenario_stream: 'master'
34 branch: 'stable/danube'
35 gs-pathname: '/danube'
36 build-slave: 'apex-build-danube'
37 virtual-slave: 'apex-virtual-danube'
38 baremetal-slave: 'apex-baremetal-danube'
39 verify-scenario: 'os-odl_l3-nofeature-ha'
41 scenario_stream: 'danube'
45 - 'os-nosdn-nofeature-noha':
47 - 'os-nosdn-nofeature-ha':
49 - 'os-nosdn-nofeature-ha-ipv6':
51 - 'os-nosdn-ovs-noha':
55 - 'os-nosdn-fdio-noha':
61 - 'os-nosdn-kvm-noha':
63 - 'os-odl_l2-fdio-noha':
65 - 'os-odl_l2-fdio-ha':
67 - 'os-odl_netvirt-fdio-noha':
69 - 'os-odl_l2-sfc-noha':
71 - 'os-odl_l3-nofeature-noha':
73 - 'os-odl_l3-nofeature-ha':
75 - 'os-odl_l3-ovs-noha':
81 - 'os-odl-gluon-noha':
83 - 'os-odl_l3-fdio-noha':
85 - 'os-odl_l3-fdio-ha':
87 - 'os-odl_l3-fdio_dvr-noha':
89 - 'os-odl_l3-fdio_dvr-ha':
91 - 'os-odl_l3-csit-noha':
93 - 'os-onos-nofeature-ha':
95 - 'os-ovn-nofeature-noha':
97 - 'os-nosdn-nofeature-noha':
99 - 'os-nosdn-nofeature-ha':
101 - 'os-odl-nofeature-ha':
103 - 'os-odl-nofeature-noha':
105 - 'os-odl-bgpvpn-ha':
107 - 'os-ovn-nofeature-noha':
116 name: 'apex-verify-unit-tests-{stream}'
118 node: '{build-slave}'
124 gs-pathname: '{gs-pathname}'
134 server-name: 'gerrit.opnfv.org'
136 - patchset-created-event:
137 exclude-drafts: 'false'
138 exclude-trivial-rebase: 'false'
139 exclude-no-code-change: 'true'
140 - draft-published-event
141 - comment-added-contains-event:
142 comment-contains-value: 'recheck'
143 - comment-added-contains-event:
144 comment-contains-value: 'reverify'
146 - project-compare-type: 'ANT'
147 project-pattern: 'apex'
149 - branch-compare-type: 'ANT'
150 branch-pattern: '**/{branch}'
163 !include-raw-escape: ./apex-unit-test.sh
167 name: 'apex-verify-{stream}'
169 node: '{virtual-slave}'
173 project-type: 'multijob'
177 gs-pathname: '{gs-pathname}/dev'
182 name: ARTIFACT_VERSION
184 description: "Used for overriding the ARTIFACT_VERSION"
190 server-name: 'gerrit.opnfv.org'
192 - patchset-created-event:
193 exclude-drafts: 'false'
194 exclude-trivial-rebase: 'false'
195 exclude-no-code-change: 'true'
196 - draft-published-event
197 - comment-added-contains-event:
198 comment-contains-value: 'recheck'
199 - comment-added-contains-event:
200 comment-contains-value: 'reverify'
202 - project-compare-type: 'ANT'
203 project-pattern: 'apex'
205 - branch-compare-type: 'ANT'
206 branch-pattern: '**/{branch}'
225 - description-setter:
226 description: "Built on $NODE_NAME"
229 condition: SUCCESSFUL
231 - name: 'apex-verify-unit-tests-{stream}'
232 current-parameters: false
233 predefined-parameters: |
234 GERRIT_BRANCH=$GERRIT_BRANCH
235 GERRIT_REFSPEC=$GERRIT_REFSPEC
236 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
237 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
238 node-parameters: false
239 kill-phase-on: FAILURE
244 condition: SUCCESSFUL
246 - name: 'apex-build-{stream}'
247 current-parameters: false
248 predefined-parameters: |
249 ARTIFACT_VERSION=$ARTIFACT_VERSION
250 GERRIT_BRANCH=$GERRIT_BRANCH
251 GERRIT_REFSPEC=$GERRIT_REFSPEC
252 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
253 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
254 node-parameters: false
255 kill-phase-on: FAILURE
260 condition: SUCCESSFUL
262 - name: 'apex-deploy-virtual-{stream}'
263 current-parameters: false
264 predefined-parameters: |
265 ARTIFACT_VERSION=$ARTIFACT_VERSION
266 DEPLOY_SCENARIO={verify-scenario}
268 GERRIT_BRANCH=$GERRIT_BRANCH
269 GERRIT_REFSPEC=$GERRIT_REFSPEC
270 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
271 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
272 node-parameters: true
273 kill-phase-on: FAILURE
278 condition: SUCCESSFUL
280 - name: 'functest-apex-virtual-suite-{stream}'
281 current-parameters: false
282 predefined-parameters: |
283 DEPLOY_SCENARIO={verify-scenario}
284 FUNCTEST_SUITE_NAME=healthcheck
285 GERRIT_BRANCH=$GERRIT_BRANCH
286 GERRIT_REFSPEC=$GERRIT_REFSPEC
287 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
288 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
289 node-parameters: true
294 # Verify Scenario Gate
296 name: 'apex-verify-gate-{stream}'
298 node: '{virtual-slave}'
302 project-type: 'multijob'
306 gs-pathname: '{gs-pathname}/dev'
312 default: https://gerrit.opnfv.org/gerrit/$PROJECT
313 description: "Used for overriding the GIT URL coming from parameters macro."
315 name: ARTIFACT_VERSION
317 description: "Used for overriding the ARTIFACT_VERSION"
324 server-name: 'gerrit.opnfv.org'
326 - comment-added-contains-event:
327 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
329 - project-compare-type: 'ANT'
330 project-pattern: 'apex'
332 - branch-compare-type: 'ANT'
333 branch-pattern: '**/{branch}'
354 condition: SUCCESSFUL
356 - name: 'apex-deploy-virtual-{stream}'
357 current-parameters: false
358 predefined-parameters: |
359 ARTIFACT_VERSION=$ARTIFACT_VERSION
362 GERRIT_BRANCH=$GERRIT_BRANCH
363 GERRIT_REFSPEC=$GERRIT_REFSPEC
364 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
365 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
366 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
367 node-parameters: true
368 kill-phase-on: FAILURE
373 condition: SUCCESSFUL
375 - name: 'functest-apex-virtual-suite-{stream}'
376 current-parameters: false
377 predefined-parameters: |
378 DEPLOY_SCENARIO={verify-scenario}
379 FUNCTEST_SUITE_NAME=healthcheck
380 GERRIT_BRANCH=$GERRIT_BRANCH
381 GERRIT_REFSPEC=$GERRIT_REFSPEC
382 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
383 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
384 node-parameters: true
390 name: 'apex-runner-cperf-{stream}'
393 project-type: 'multijob'
400 gs-pathname: '{gs-pathname}'
406 default: https://gerrit.opnfv.org/gerrit/$PROJECT
407 description: "Used for overriding the GIT URL coming from parameters macro."
415 use-build-blocker: false
425 - description-setter:
426 description: "Deployed on $NODE_NAME"
428 name: 'Baremetal Deploy'
431 - name: 'apex-deploy-baremetal-{stream}'
432 node-parameters: false
433 current-parameters: true
434 predefined-parameters: |
435 GERRIT_BRANCH=$GERRIT_BRANCH
438 DEPLOY_SCENARIO={verify-scenario}
439 kill-phase-on: FAILURE
444 condition: SUCCESSFUL
446 - name: 'cperf-apex-intel-pod2-daily-master'
447 node-parameters: true
448 current-parameters: false
449 predefined-parameters:
450 DEPLOY_SCENARIO={verify-scenario}
457 name: 'apex-build-{stream}'
459 # Job template for builds
461 # Required Variables:
462 # stream: branch with - in place of / (eg. stable)
463 # branch: branch (eg. stable)
464 node: '{build-slave}'
471 - '{project}-defaults'
476 gs-pathname: '{gs-pathname}'
489 max-per-node: {concurrent-builds}
493 use-build-blocker: true
496 - 'apex-verify-iso-{stream}'
501 properties-content: ARTIFACT_TYPE=rpm
502 - 'apex-upload-artifact'
506 name: 'apex-verify-iso-{stream}'
508 # Job template for builds
510 # Required Variables:
511 # stream: branch with - in place of / (eg. stable)
512 # branch: branch (eg. stable)
513 node: '{virtual-slave}'
524 gs-pathname: '{gs-pathname}'
527 default: https://gerrit.opnfv.org/gerrit/$PROJECT
528 description: "Used for overriding the GIT URL coming from parameters macro."
543 properties-content: ARTIFACT_TYPE=iso
544 - 'apex-upload-artifact'
548 name: 'apex-deploy-{platform}-{stream}'
550 node: 'apex-{platform}-{stream}'
565 - '{project}-{platform}-{stream}-defaults'
570 gs-pathname: '{gs-pathname}'
572 name: DEPLOY_SCENARIO
573 default: '{verify-scenario}'
574 description: "Scenario to deploy with."
578 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
583 use-build-blocker: true
596 - description-setter:
597 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
598 - 'apex-download-artifact'
600 - 'apex-workspace-cleanup'
603 # Baremetal Deploy and Test
605 name: 'apex-{scenario}-baremetal-{scenario_stream}'
607 project-type: 'multijob'
615 - '{project}-defaults'
616 - '{project}-baremetal-{scenario_stream}-defaults'
621 gs-pathname: '{gs-pathname}'
623 name: DEPLOY_SCENARIO
624 default: '{scenario}'
625 description: "Scenario to deploy with."
629 use-build-blocker: true
634 - 'apex-.*-promote.*'
636 - 'apex-.+-baremetal-.+'
642 - description-setter:
643 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
645 name: 'Baremetal Deploy'
648 - name: 'apex-deploy-baremetal-{scenario_stream}'
649 node-parameters: true
650 current-parameters: true
651 predefined-parameters: |
653 GERRIT_BRANCH=$GERRIT_BRANCH
655 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
656 kill-phase-on: FAILURE
660 name: 'OPNFV Test Suite'
661 condition: SUCCESSFUL
663 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
664 node-parameters: true
665 current-parameters: false
666 predefined-parameters:
667 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
675 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
677 project-type: 'multijob'
682 - '{project}-defaults'
683 - '{project}-baremetal-{scenario_stream}-defaults'
688 gs-pathname: '{gs-pathname}'
690 name: DEPLOY_SCENARIO
691 default: '{scenario}'
692 description: "Scenario to deploy with."
696 use-build-blocker: true
701 - 'apex-.*-promote.*'
703 - 'apex-testsuite-.+-baremetal-.+'
709 - description-setter:
710 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
715 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
716 node-parameters: true
717 current-parameters: false
718 predefined-parameters:
719 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
727 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
728 node-parameters: true
729 current-parameters: false
730 predefined-parameters:
731 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
739 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
740 node-parameters: true
741 current-parameters: false
742 predefined-parameters:
743 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
745 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
749 condition-kind: current-status
750 condition-worst: SUCCESS
751 condtion-best: SUCCESS
752 on-evaluation-failure: mark-unstable
754 - shell: 'echo "Tests Passed"'
759 name: 'apex-daily-danube'
761 # Job template for daily build
763 # Required Variables:
764 # stream: branch with - in place of / (eg. stable)
765 # branch: branch (eg. stable)
766 project-type: 'multijob'
768 node: 'apex-baremetal-danube'
776 - '{project}-defaults'
777 - '{project}-baremetal-danube-defaults'
780 branch: 'stable/danube'
782 gs-pathname: '/danube'
793 condition: SUCCESSFUL
795 - name: 'apex-build-danube'
796 current-parameters: false
797 predefined-parameters: |
798 GERRIT_BRANCH=$GERRIT_BRANCH
800 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
801 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
802 node-parameters: true
803 kill-phase-on: FAILURE
807 name: 'Verify and upload ISO'
808 condition: SUCCESSFUL
810 - name: 'apex-verify-iso-danube'
811 current-parameters: false
812 predefined-parameters: |
813 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
814 GERRIT_BRANCH=$GERRIT_BRANCH
816 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
817 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
818 node-parameters: true
819 kill-phase-on: FAILURE
823 name: Baremetal Deploy and Test Phase
824 condition: SUCCESSFUL
827 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
828 node-parameters: false
829 current-parameters: false
830 predefined-parameters: |
836 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
837 node-parameters: false
838 current-parameters: false
839 predefined-parameters: |
845 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
846 node-parameters: false
847 current-parameters: false
848 predefined-parameters: |
854 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
855 node-parameters: false
856 current-parameters: false
857 predefined-parameters: |
863 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
864 node-parameters: false
865 current-parameters: false
866 predefined-parameters: |
872 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
873 node-parameters: false
874 current-parameters: false
875 predefined-parameters: |
881 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
882 node-parameters: false
883 current-parameters: false
884 predefined-parameters: |
890 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
891 node-parameters: false
892 current-parameters: false
893 predefined-parameters: |
899 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
900 node-parameters: false
901 current-parameters: false
902 predefined-parameters: |
908 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
909 node-parameters: false
910 current-parameters: false
911 predefined-parameters: |
917 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
918 node-parameters: false
919 current-parameters: false
920 predefined-parameters: |
926 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
927 node-parameters: false
928 current-parameters: false
929 predefined-parameters: |
935 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
936 node-parameters: false
937 current-parameters: false
938 predefined-parameters: |
944 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
945 node-parameters: false
946 current-parameters: false
947 predefined-parameters: |
953 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
954 node-parameters: false
955 current-parameters: false
956 predefined-parameters: |
962 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
963 node-parameters: false
964 current-parameters: false
965 predefined-parameters: |
971 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
972 node-parameters: false
973 current-parameters: false
974 predefined-parameters: |
980 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
981 node-parameters: false
982 current-parameters: false
983 predefined-parameters: |
989 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
990 node-parameters: false
991 current-parameters: false
992 predefined-parameters: |
998 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
999 node-parameters: false
1000 current-parameters: false
1001 predefined-parameters: |
1003 kill-phase-on: NEVER
1007 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1008 node-parameters: false
1009 current-parameters: false
1010 predefined-parameters: |
1012 kill-phase-on: NEVER
1016 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1017 node-parameters: false
1018 current-parameters: false
1019 predefined-parameters: |
1021 kill-phase-on: NEVER
1025 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1026 node-parameters: false
1027 current-parameters: false
1028 predefined-parameters: |
1030 kill-phase-on: NEVER
1034 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1035 node-parameters: false
1036 current-parameters: false
1037 predefined-parameters: |
1039 kill-phase-on: NEVER
1043 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1044 node-parameters: false
1045 current-parameters: false
1046 predefined-parameters: |
1048 kill-phase-on: NEVER
1052 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1053 node-parameters: false
1054 current-parameters: false
1055 predefined-parameters: |
1057 kill-phase-on: NEVER
1064 name: 'apex-daily-master'
1066 # Job template for daily build
1068 # Required Variables:
1069 # stream: branch with - in place of / (eg. stable)
1070 # branch: branch (eg. stable)
1071 project-type: 'multijob'
1073 node: 'apex-baremetal-master'
1081 - '{project}-defaults'
1082 - '{project}-baremetal-master-defaults'
1083 - project-parameter:
1084 project: '{project}'
1098 condition: SUCCESSFUL
1100 - name: 'apex-build-master'
1101 current-parameters: false
1102 predefined-parameters: |
1103 GERRIT_BRANCH=$GERRIT_BRANCH
1105 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1106 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1107 node-parameters: true
1108 kill-phase-on: FAILURE
1112 name: 'Verify and upload ISO'
1113 condition: SUCCESSFUL
1115 - name: 'apex-verify-iso-master'
1116 current-parameters: false
1117 predefined-parameters: |
1118 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1119 GERRIT_BRANCH=$GERRIT_BRANCH
1121 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1122 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1123 node-parameters: true
1124 kill-phase-on: FAILURE
1128 name: Baremetal Deploy and Test Phase
1129 condition: SUCCESSFUL
1132 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1133 node-parameters: false
1134 current-parameters: false
1135 predefined-parameters: |
1137 kill-phase-on: NEVER
1141 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1142 node-parameters: false
1143 current-parameters: false
1144 predefined-parameters: |
1146 kill-phase-on: NEVER
1150 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1151 node-parameters: false
1152 current-parameters: false
1153 predefined-parameters: |
1155 kill-phase-on: NEVER
1159 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1160 node-parameters: false
1161 current-parameters: false
1162 predefined-parameters: |
1164 kill-phase-on: NEVER
1168 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1169 node-parameters: false
1170 current-parameters: false
1171 predefined-parameters: |
1173 kill-phase-on: NEVER
1177 - name: 'apex-os-ovn-nofeature-noha-baremetal-master'
1178 node-parameters: false
1179 current-parameters: false
1180 predefined-parameters: |
1182 kill-phase-on: NEVER
1190 name: 'apex-create-snapshot'
1192 # Job template for clean
1194 # Required Variables:
1195 # stream: branch with - in place of / (eg. stable)
1201 !include-raw-escape: ./apex-snapshot-create.sh
1205 name: 'apex-upload-snapshot'
1207 # Job template for clean
1209 # Required Variables:
1210 # stream: branch with - in place of / (eg. stable)
1216 properties-content: ARTIFACT_TYPE=snapshot
1217 - 'apex-upload-artifact'
1221 name: 'apex-csit-promote-daily-{stream}'
1223 # Job template for promoting CSIT Snapshots
1225 # Required Variables:
1226 # stream: branch with - in place of / (eg. stable)
1227 # branch: branch (eg. stable)
1228 node: '{virtual-slave}'
1229 project-type: 'multijob'
1236 - project-parameter:
1237 project: '{project}'
1240 gs-pathname: '{gs-pathname}'
1244 use-build-blocker: true
1253 - timed: '0 12 * * 0'
1258 condition: SUCCESSFUL
1260 - name: 'apex-build-{stream}'
1261 current-parameters: false
1262 predefined-parameters: |
1263 GERRIT_BRANCH=$GERRIT_BRANCH
1264 GERRIT_REFSPEC=$GERRIT_REFSPEC
1265 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1266 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1267 node-parameters: false
1268 kill-phase-on: FAILURE
1272 name: deploy-virtual
1273 condition: SUCCESSFUL
1275 - name: 'apex-deploy-virtual-{stream}'
1276 current-parameters: false
1277 predefined-parameters: |
1278 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1280 GERRIT_BRANCH=$GERRIT_BRANCH
1281 GERRIT_REFSPEC=$GERRIT_REFSPEC
1282 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1283 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1285 node-parameters: true
1286 kill-phase-on: FAILURE
1290 name: functest-smoke
1291 condition: SUCCESSFUL
1293 - name: 'functest-apex-virtual-suite-{stream}'
1294 current-parameters: false
1295 predefined-parameters: |
1296 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1297 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1298 GERRIT_BRANCH=$GERRIT_BRANCH
1299 GERRIT_REFSPEC=$GERRIT_REFSPEC
1300 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1301 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1302 node-parameters: true
1303 kill-phase-on: FAILURE
1307 name: create snapshot
1308 condition: SUCCESSFUL
1310 - name: 'apex-create-snapshot'
1311 current-parameters: false
1312 predefined-parameters: |
1314 node-parameters: true
1315 kill-phase-on: FAILURE
1319 name: upload snapshot
1320 condition: SUCCESSFUL
1322 - name: 'apex-upload-snapshot'
1323 current-parameters: false
1324 predefined-parameters: |
1326 node-parameters: true
1327 kill-phase-on: FAILURE
1333 name: 'apex-fdio-promote-daily-{stream}'
1335 # Job template for promoting CSIT Snapshots
1337 # Required Variables:
1338 # stream: branch with - in place of / (eg. stable)
1339 # branch: branch (eg. stable)
1340 node: '{virtual-slave}'
1341 project-type: 'multijob'
1348 - project-parameter:
1349 project: '{project}'
1352 gs-pathname: '{gs-pathname}'
1356 use-build-blocker: true
1367 condition: SUCCESSFUL
1369 - name: 'apex-build-{stream}'
1370 current-parameters: false
1371 predefined-parameters: |
1372 GERRIT_BRANCH=$GERRIT_BRANCH
1373 GERRIT_REFSPEC=$GERRIT_REFSPEC
1374 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1375 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1376 node-parameters: false
1377 kill-phase-on: FAILURE
1381 name: deploy-virtual
1382 condition: SUCCESSFUL
1384 - name: 'apex-deploy-virtual-{stream}'
1385 current-parameters: false
1386 predefined-parameters: |
1387 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1389 GERRIT_BRANCH=$GERRIT_BRANCH
1390 GERRIT_REFSPEC=$GERRIT_REFSPEC
1391 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1392 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1394 node-parameters: true
1395 kill-phase-on: FAILURE
1399 name: create snapshot
1400 condition: SUCCESSFUL
1402 - name: 'apex-create-snapshot'
1403 current-parameters: false
1404 predefined-parameters: |
1406 node-parameters: true
1407 kill-phase-on: FAILURE
1411 name: upload snapshot
1412 condition: SUCCESSFUL
1414 - name: 'apex-upload-snapshot'
1415 current-parameters: false
1416 predefined-parameters: |
1418 node-parameters: true
1419 kill-phase-on: FAILURE
1423 ########################
1425 ########################
1427 name: apex-parameter
1432 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1434 name: ARTIFACT_VERSION
1436 description: "Artifact version type"
1438 name: BUILD_DIRECTORY
1439 default: $WORKSPACE/.build
1440 description: "Directory where the build artifact will be located upon the completion of the build."
1442 name: CACHE_DIRECTORY
1443 default: $HOME/opnfv/apex-cache{gs-pathname}
1444 description: "Directory where the cache to be used during the build is located."
1447 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1448 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1451 default: '{gs-pathname}'
1452 description: "Version directory where opnfv artifacts are stored in gs repository"
1455 default: $GS_BASE{gs-pathname}
1456 description: "URL to Google Storage."
1460 description: "Flag to know if we should promote/upload snapshot artifacts."
1462 ########################
1464 ########################
1466 name: 'apex-unit-test'
1469 !include-raw: ./apex-unit-test.sh
1475 !include-raw: ./apex-build.sh
1478 name: 'apex-workspace-cleanup'
1481 !include-raw: ./apex-workspace-cleanup.sh
1484 name: 'apex-iso-verify'
1487 !include-raw: ./apex-iso-verify.sh
1491 name: 'apex-upload-artifact'
1494 !include-raw: ./apex-upload-artifact.sh
1497 name: 'apex-download-artifact'
1500 !include-raw: ./apex-download-artifact.sh
1506 !include-raw: ./apex-deploy.sh
1508 #######################
1510 ########################
1514 - timed: '0 12 * * *'
1518 - timed: '0 3 1 1 7'