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"'
755 # Build status is always success due conditional plugin prefetching
756 # build status before multijob phases execute
757 # - conditional-step:
758 # condition-kind: current-status
759 # condition-worst: SUCCESS
760 # condtion-best: SUCCESS
761 # on-evaluation-failure: mark-unstable
763 # - shell: 'echo "Tests Passed"'
768 !include-raw-escape: ./update-build-result.groovy
773 name: 'apex-daily-danube'
775 # Job template for daily build
777 # Required Variables:
778 # stream: branch with - in place of / (eg. stable)
779 # branch: branch (eg. stable)
780 project-type: 'multijob'
782 node: 'apex-baremetal-danube'
790 - '{project}-defaults'
791 - '{project}-baremetal-danube-defaults'
794 branch: 'stable/danube'
796 gs-pathname: '/danube'
807 condition: SUCCESSFUL
809 - name: 'apex-build-danube'
810 current-parameters: false
811 predefined-parameters: |
812 GERRIT_BRANCH=$GERRIT_BRANCH
814 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
815 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
816 node-parameters: true
817 kill-phase-on: FAILURE
821 name: 'Verify and upload ISO'
822 condition: SUCCESSFUL
824 - name: 'apex-verify-iso-danube'
825 current-parameters: false
826 predefined-parameters: |
827 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
828 GERRIT_BRANCH=$GERRIT_BRANCH
830 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
831 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
832 node-parameters: true
833 kill-phase-on: FAILURE
837 name: Baremetal Deploy and Test Phase
838 condition: SUCCESSFUL
841 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
842 node-parameters: false
843 current-parameters: false
844 predefined-parameters: |
850 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
851 node-parameters: false
852 current-parameters: false
853 predefined-parameters: |
859 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
860 node-parameters: false
861 current-parameters: false
862 predefined-parameters: |
868 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
869 node-parameters: false
870 current-parameters: false
871 predefined-parameters: |
877 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
878 node-parameters: false
879 current-parameters: false
880 predefined-parameters: |
886 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
887 node-parameters: false
888 current-parameters: false
889 predefined-parameters: |
895 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
896 node-parameters: false
897 current-parameters: false
898 predefined-parameters: |
904 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
905 node-parameters: false
906 current-parameters: false
907 predefined-parameters: |
913 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
914 node-parameters: false
915 current-parameters: false
916 predefined-parameters: |
922 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
923 node-parameters: false
924 current-parameters: false
925 predefined-parameters: |
931 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
932 node-parameters: false
933 current-parameters: false
934 predefined-parameters: |
940 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
941 node-parameters: false
942 current-parameters: false
943 predefined-parameters: |
949 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
950 node-parameters: false
951 current-parameters: false
952 predefined-parameters: |
958 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
959 node-parameters: false
960 current-parameters: false
961 predefined-parameters: |
967 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
968 node-parameters: false
969 current-parameters: false
970 predefined-parameters: |
976 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
977 node-parameters: false
978 current-parameters: false
979 predefined-parameters: |
985 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
986 node-parameters: false
987 current-parameters: false
988 predefined-parameters: |
994 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
995 node-parameters: false
996 current-parameters: false
997 predefined-parameters: |
1003 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1004 node-parameters: false
1005 current-parameters: false
1006 predefined-parameters: |
1008 kill-phase-on: NEVER
1012 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1013 node-parameters: false
1014 current-parameters: false
1015 predefined-parameters: |
1017 kill-phase-on: NEVER
1021 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1022 node-parameters: false
1023 current-parameters: false
1024 predefined-parameters: |
1026 kill-phase-on: NEVER
1030 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1031 node-parameters: false
1032 current-parameters: false
1033 predefined-parameters: |
1035 kill-phase-on: NEVER
1039 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1040 node-parameters: false
1041 current-parameters: false
1042 predefined-parameters: |
1044 kill-phase-on: NEVER
1048 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1049 node-parameters: false
1050 current-parameters: false
1051 predefined-parameters: |
1053 kill-phase-on: NEVER
1057 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1058 node-parameters: false
1059 current-parameters: false
1060 predefined-parameters: |
1062 kill-phase-on: NEVER
1066 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1067 node-parameters: false
1068 current-parameters: false
1069 predefined-parameters: |
1071 kill-phase-on: NEVER
1078 name: 'apex-daily-master'
1080 # Job template for daily build
1082 # Required Variables:
1083 # stream: branch with - in place of / (eg. stable)
1084 # branch: branch (eg. stable)
1085 project-type: 'multijob'
1087 node: 'apex-baremetal-master'
1095 - '{project}-defaults'
1096 - '{project}-baremetal-master-defaults'
1097 - project-parameter:
1098 project: '{project}'
1112 condition: SUCCESSFUL
1114 - name: 'apex-build-master'
1115 current-parameters: false
1116 predefined-parameters: |
1117 GERRIT_BRANCH=$GERRIT_BRANCH
1119 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1120 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1121 node-parameters: true
1122 kill-phase-on: FAILURE
1126 name: 'Verify and upload ISO'
1127 condition: SUCCESSFUL
1129 - name: 'apex-verify-iso-master'
1130 current-parameters: false
1131 predefined-parameters: |
1132 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1133 GERRIT_BRANCH=$GERRIT_BRANCH
1135 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1136 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1137 node-parameters: true
1138 kill-phase-on: FAILURE
1142 name: Baremetal Deploy and Test Phase
1143 condition: SUCCESSFUL
1146 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1147 node-parameters: false
1148 current-parameters: false
1149 predefined-parameters: |
1151 kill-phase-on: NEVER
1155 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1156 node-parameters: false
1157 current-parameters: false
1158 predefined-parameters: |
1160 kill-phase-on: NEVER
1164 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1165 node-parameters: false
1166 current-parameters: false
1167 predefined-parameters: |
1169 kill-phase-on: NEVER
1173 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1174 node-parameters: false
1175 current-parameters: false
1176 predefined-parameters: |
1178 kill-phase-on: NEVER
1182 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1183 node-parameters: false
1184 current-parameters: false
1185 predefined-parameters: |
1187 kill-phase-on: NEVER
1191 - name: 'apex-os-ovn-nofeature-noha-baremetal-master'
1192 node-parameters: false
1193 current-parameters: false
1194 predefined-parameters: |
1196 kill-phase-on: NEVER
1204 name: 'apex-create-snapshot'
1206 # Job template for clean
1208 # Required Variables:
1209 # stream: branch with - in place of / (eg. stable)
1215 !include-raw-escape: ./apex-snapshot-create.sh
1219 name: 'apex-upload-snapshot'
1221 # Job template for clean
1223 # Required Variables:
1224 # stream: branch with - in place of / (eg. stable)
1230 properties-content: ARTIFACT_TYPE=snapshot
1231 - 'apex-upload-artifact'
1235 name: 'apex-csit-promote-daily-{stream}'
1237 # Job template for promoting CSIT Snapshots
1239 # Required Variables:
1240 # stream: branch with - in place of / (eg. stable)
1241 # branch: branch (eg. stable)
1242 node: '{virtual-slave}'
1243 project-type: 'multijob'
1250 - project-parameter:
1251 project: '{project}'
1254 gs-pathname: '{gs-pathname}'
1258 use-build-blocker: true
1267 - timed: '0 12 * * 0'
1272 condition: SUCCESSFUL
1274 - name: 'apex-build-{stream}'
1275 current-parameters: false
1276 predefined-parameters: |
1277 GERRIT_BRANCH=$GERRIT_BRANCH
1278 GERRIT_REFSPEC=$GERRIT_REFSPEC
1279 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1280 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1281 node-parameters: false
1282 kill-phase-on: FAILURE
1286 name: deploy-virtual
1287 condition: SUCCESSFUL
1289 - name: 'apex-deploy-virtual-{stream}'
1290 current-parameters: false
1291 predefined-parameters: |
1292 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1294 GERRIT_BRANCH=$GERRIT_BRANCH
1295 GERRIT_REFSPEC=$GERRIT_REFSPEC
1296 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1297 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1299 node-parameters: true
1300 kill-phase-on: FAILURE
1304 name: functest-smoke
1305 condition: SUCCESSFUL
1307 - name: 'functest-apex-virtual-suite-{stream}'
1308 current-parameters: false
1309 predefined-parameters: |
1310 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1311 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1312 GERRIT_BRANCH=$GERRIT_BRANCH
1313 GERRIT_REFSPEC=$GERRIT_REFSPEC
1314 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1315 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1316 node-parameters: true
1317 kill-phase-on: FAILURE
1321 name: create snapshot
1322 condition: SUCCESSFUL
1324 - name: 'apex-create-snapshot'
1325 current-parameters: false
1326 predefined-parameters: |
1328 node-parameters: true
1329 kill-phase-on: FAILURE
1333 name: upload snapshot
1334 condition: SUCCESSFUL
1336 - name: 'apex-upload-snapshot'
1337 current-parameters: false
1338 predefined-parameters: |
1340 node-parameters: true
1341 kill-phase-on: FAILURE
1347 name: 'apex-fdio-promote-daily-{stream}'
1349 # Job template for promoting CSIT Snapshots
1351 # Required Variables:
1352 # stream: branch with - in place of / (eg. stable)
1353 # branch: branch (eg. stable)
1354 node: '{virtual-slave}'
1355 project-type: 'multijob'
1362 - project-parameter:
1363 project: '{project}'
1366 gs-pathname: '{gs-pathname}'
1370 use-build-blocker: true
1381 condition: SUCCESSFUL
1383 - name: 'apex-build-{stream}'
1384 current-parameters: false
1385 predefined-parameters: |
1386 GERRIT_BRANCH=$GERRIT_BRANCH
1387 GERRIT_REFSPEC=$GERRIT_REFSPEC
1388 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1389 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1390 node-parameters: false
1391 kill-phase-on: FAILURE
1395 name: deploy-virtual
1396 condition: SUCCESSFUL
1398 - name: 'apex-deploy-virtual-{stream}'
1399 current-parameters: false
1400 predefined-parameters: |
1401 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1403 GERRIT_BRANCH=$GERRIT_BRANCH
1404 GERRIT_REFSPEC=$GERRIT_REFSPEC
1405 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1406 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1408 node-parameters: true
1409 kill-phase-on: FAILURE
1413 name: create snapshot
1414 condition: SUCCESSFUL
1416 - name: 'apex-create-snapshot'
1417 current-parameters: false
1418 predefined-parameters: |
1420 node-parameters: true
1421 kill-phase-on: FAILURE
1425 name: upload snapshot
1426 condition: SUCCESSFUL
1428 - name: 'apex-upload-snapshot'
1429 current-parameters: false
1430 predefined-parameters: |
1432 node-parameters: true
1433 kill-phase-on: FAILURE
1437 ########################
1439 ########################
1441 name: apex-parameter
1446 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1448 name: ARTIFACT_VERSION
1450 description: "Artifact version type"
1452 name: BUILD_DIRECTORY
1453 default: $WORKSPACE/.build
1454 description: "Directory where the build artifact will be located upon the completion of the build."
1456 name: CACHE_DIRECTORY
1457 default: $HOME/opnfv/apex-cache{gs-pathname}
1458 description: "Directory where the cache to be used during the build is located."
1461 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1462 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1465 default: '{gs-pathname}'
1466 description: "Version directory where opnfv artifacts are stored in gs repository"
1469 default: $GS_BASE{gs-pathname}
1470 description: "URL to Google Storage."
1474 description: "Flag to know if we should promote/upload snapshot artifacts."
1476 ########################
1478 ########################
1480 name: 'apex-unit-test'
1483 !include-raw: ./apex-unit-test.sh
1489 !include-raw: ./apex-build.sh
1492 name: 'apex-workspace-cleanup'
1495 !include-raw: ./apex-workspace-cleanup.sh
1498 name: 'apex-iso-verify'
1501 !include-raw: ./apex-iso-verify.sh
1505 name: 'apex-upload-artifact'
1508 !include-raw: ./apex-upload-artifact.sh
1511 name: 'apex-download-artifact'
1514 !include-raw: ./apex-download-artifact.sh
1520 !include-raw: ./apex-deploy.sh
1522 #######################
1524 ########################
1528 - timed: '0 12 * * *'
1532 - timed: '0 3 1 1 7'