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':
114 name: 'apex-verify-unit-tests-{stream}'
116 node: '{build-slave}'
122 gs-pathname: '{gs-pathname}'
132 server-name: 'gerrit.opnfv.org'
134 - patchset-created-event:
135 exclude-drafts: 'false'
136 exclude-trivial-rebase: 'false'
137 exclude-no-code-change: 'true'
138 - draft-published-event
139 - comment-added-contains-event:
140 comment-contains-value: 'recheck'
141 - comment-added-contains-event:
142 comment-contains-value: 'reverify'
144 - project-compare-type: 'ANT'
145 project-pattern: 'apex'
147 - branch-compare-type: 'ANT'
148 branch-pattern: '**/{branch}'
161 !include-raw-escape: ./apex-unit-test.sh
165 name: 'apex-verify-{stream}'
167 node: '{virtual-slave}'
171 project-type: 'multijob'
175 gs-pathname: '{gs-pathname}/dev'
180 name: ARTIFACT_VERSION
182 description: "Used for overriding the ARTIFACT_VERSION"
188 server-name: 'gerrit.opnfv.org'
190 - patchset-created-event:
191 exclude-drafts: 'false'
192 exclude-trivial-rebase: 'false'
193 exclude-no-code-change: 'true'
194 - draft-published-event
195 - comment-added-contains-event:
196 comment-contains-value: 'recheck'
197 - comment-added-contains-event:
198 comment-contains-value: 'reverify'
200 - project-compare-type: 'ANT'
201 project-pattern: 'apex'
203 - branch-compare-type: 'ANT'
204 branch-pattern: '**/{branch}'
223 - description-setter:
224 description: "Built on $NODE_NAME"
227 condition: SUCCESSFUL
229 - name: 'apex-verify-unit-tests-{stream}'
230 current-parameters: false
231 predefined-parameters: |
232 GERRIT_BRANCH=$GERRIT_BRANCH
233 GERRIT_REFSPEC=$GERRIT_REFSPEC
234 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
235 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
236 node-parameters: false
237 kill-phase-on: FAILURE
242 condition: SUCCESSFUL
244 - name: 'apex-build-{stream}'
245 current-parameters: false
246 predefined-parameters: |
247 ARTIFACT_VERSION=$ARTIFACT_VERSION
248 GERRIT_BRANCH=$GERRIT_BRANCH
249 GERRIT_REFSPEC=$GERRIT_REFSPEC
250 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
251 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
252 node-parameters: false
253 kill-phase-on: FAILURE
258 condition: SUCCESSFUL
260 - name: 'apex-deploy-virtual-{stream}'
261 current-parameters: false
262 predefined-parameters: |
263 ARTIFACT_VERSION=$ARTIFACT_VERSION
264 DEPLOY_SCENARIO={verify-scenario}
266 GERRIT_BRANCH=$GERRIT_BRANCH
267 GERRIT_REFSPEC=$GERRIT_REFSPEC
268 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
269 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
270 node-parameters: true
271 kill-phase-on: FAILURE
276 condition: SUCCESSFUL
278 - name: 'functest-apex-virtual-suite-{stream}'
279 current-parameters: false
280 predefined-parameters: |
281 DEPLOY_SCENARIO={verify-scenario}
282 FUNCTEST_SUITE_NAME=healthcheck
283 GERRIT_BRANCH=$GERRIT_BRANCH
284 GERRIT_REFSPEC=$GERRIT_REFSPEC
285 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
286 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
287 node-parameters: true
292 # Verify Scenario Gate
294 name: 'apex-verify-gate-{stream}'
296 node: '{virtual-slave}'
300 project-type: 'multijob'
304 gs-pathname: '{gs-pathname}/dev'
310 default: https://gerrit.opnfv.org/gerrit/$PROJECT
311 description: "Used for overriding the GIT URL coming from parameters macro."
313 name: ARTIFACT_VERSION
315 description: "Used for overriding the ARTIFACT_VERSION"
322 server-name: 'gerrit.opnfv.org'
324 - comment-added-contains-event:
325 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
327 - project-compare-type: 'ANT'
328 project-pattern: 'apex'
330 - branch-compare-type: 'ANT'
331 branch-pattern: '**/{branch}'
352 condition: SUCCESSFUL
354 - name: 'apex-deploy-virtual-{stream}'
355 current-parameters: false
356 predefined-parameters: |
357 ARTIFACT_VERSION=$ARTIFACT_VERSION
360 GERRIT_BRANCH=$GERRIT_BRANCH
361 GERRIT_REFSPEC=$GERRIT_REFSPEC
362 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
363 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
364 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
365 node-parameters: true
366 kill-phase-on: FAILURE
371 condition: SUCCESSFUL
373 - name: 'functest-apex-virtual-suite-{stream}'
374 current-parameters: false
375 predefined-parameters: |
376 DEPLOY_SCENARIO={verify-scenario}
377 FUNCTEST_SUITE_NAME=healthcheck
378 GERRIT_BRANCH=$GERRIT_BRANCH
379 GERRIT_REFSPEC=$GERRIT_REFSPEC
380 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
381 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
382 node-parameters: true
388 name: 'apex-runner-cperf-{stream}'
391 project-type: 'multijob'
398 gs-pathname: '{gs-pathname}'
404 default: https://gerrit.opnfv.org/gerrit/$PROJECT
405 description: "Used for overriding the GIT URL coming from parameters macro."
413 use-build-blocker: false
423 - description-setter:
424 description: "Deployed on $NODE_NAME"
426 name: 'Baremetal Deploy'
429 - name: 'apex-deploy-baremetal-{stream}'
430 node-parameters: false
431 current-parameters: true
432 predefined-parameters: |
433 GERRIT_BRANCH=$GERRIT_BRANCH
436 DEPLOY_SCENARIO={verify-scenario}
437 kill-phase-on: FAILURE
442 condition: SUCCESSFUL
444 - name: 'cperf-apex-intel-pod2-daily-master'
445 node-parameters: true
446 current-parameters: false
447 predefined-parameters:
448 DEPLOY_SCENARIO={verify-scenario}
455 name: 'apex-build-{stream}'
457 # Job template for builds
459 # Required Variables:
460 # stream: branch with - in place of / (eg. stable)
461 # branch: branch (eg. stable)
462 node: '{build-slave}'
469 - '{project}-defaults'
474 gs-pathname: '{gs-pathname}'
487 max-per-node: {concurrent-builds}
491 use-build-blocker: true
494 - 'apex-verify-iso-{stream}'
499 properties-content: ARTIFACT_TYPE=rpm
500 - 'apex-upload-artifact'
504 name: 'apex-verify-iso-{stream}'
506 # Job template for builds
508 # Required Variables:
509 # stream: branch with - in place of / (eg. stable)
510 # branch: branch (eg. stable)
511 node: '{virtual-slave}'
522 gs-pathname: '{gs-pathname}'
525 default: https://gerrit.opnfv.org/gerrit/$PROJECT
526 description: "Used for overriding the GIT URL coming from parameters macro."
541 properties-content: ARTIFACT_TYPE=iso
542 - 'apex-upload-artifact'
546 name: 'apex-deploy-{platform}-{stream}'
548 node: 'apex-{platform}-{stream}'
563 - '{project}-{platform}-{stream}-defaults'
568 gs-pathname: '{gs-pathname}'
570 name: DEPLOY_SCENARIO
571 default: '{verify-scenario}'
572 description: "Scenario to deploy with."
576 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
581 use-build-blocker: true
594 - description-setter:
595 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
596 - 'apex-download-artifact'
598 - 'apex-workspace-cleanup'
601 # Baremetal Deploy and Test
603 name: 'apex-{scenario}-baremetal-{scenario_stream}'
605 project-type: 'multijob'
613 - '{project}-defaults'
614 - '{project}-baremetal-{scenario_stream}-defaults'
619 gs-pathname: '{gs-pathname}'
621 name: DEPLOY_SCENARIO
622 default: '{scenario}'
623 description: "Scenario to deploy with."
627 use-build-blocker: true
632 - 'apex-.*-promote.*'
634 - 'apex-.+-baremetal-.+'
640 - description-setter:
641 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
643 name: 'Baremetal Deploy'
646 - name: 'apex-deploy-baremetal-{scenario_stream}'
647 node-parameters: true
648 current-parameters: true
649 predefined-parameters: |
651 GERRIT_BRANCH=$GERRIT_BRANCH
653 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
654 kill-phase-on: FAILURE
658 name: 'OPNFV Test Suite'
659 condition: SUCCESSFUL
661 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
662 node-parameters: true
663 current-parameters: false
664 predefined-parameters:
665 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
673 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
675 project-type: 'multijob'
680 - '{project}-defaults'
681 - '{project}-baremetal-{scenario_stream}-defaults'
686 gs-pathname: '{gs-pathname}'
688 name: DEPLOY_SCENARIO
689 default: '{scenario}'
690 description: "Scenario to deploy with."
694 use-build-blocker: true
699 - 'apex-.*-promote.*'
701 - 'apex-testsuite-.+-baremetal-.+'
707 - description-setter:
708 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
713 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
714 node-parameters: true
715 current-parameters: false
716 predefined-parameters:
717 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
725 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
726 node-parameters: true
727 current-parameters: false
728 predefined-parameters:
729 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
737 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
738 node-parameters: true
739 current-parameters: false
740 predefined-parameters:
741 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
743 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
747 condition-kind: current-status
748 condition-worst: SUCCESS
749 condtion-best: SUCCESS
750 on-evaluation-failure: mark-unstable
752 - shell: 'echo "Tests Passed"'
757 name: 'apex-daily-danube'
759 # Job template for daily build
761 # Required Variables:
762 # stream: branch with - in place of / (eg. stable)
763 # branch: branch (eg. stable)
764 project-type: 'multijob'
766 node: 'apex-baremetal-danube'
774 - '{project}-defaults'
775 - '{project}-baremetal-danube-defaults'
778 branch: 'stable/danube'
780 gs-pathname: '/danube'
791 condition: SUCCESSFUL
793 - name: 'apex-build-danube'
794 current-parameters: false
795 predefined-parameters: |
796 GERRIT_BRANCH=$GERRIT_BRANCH
798 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
799 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
800 node-parameters: true
801 kill-phase-on: FAILURE
805 name: 'Verify and upload ISO'
806 condition: SUCCESSFUL
808 - name: 'apex-verify-iso-danube'
809 current-parameters: false
810 predefined-parameters: |
811 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
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: Baremetal Deploy and Test Phase
822 condition: SUCCESSFUL
825 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
826 node-parameters: false
827 current-parameters: false
828 predefined-parameters: |
834 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
835 node-parameters: false
836 current-parameters: false
837 predefined-parameters: |
843 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
844 node-parameters: false
845 current-parameters: false
846 predefined-parameters: |
852 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
853 node-parameters: false
854 current-parameters: false
855 predefined-parameters: |
861 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
862 node-parameters: false
863 current-parameters: false
864 predefined-parameters: |
870 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
871 node-parameters: false
872 current-parameters: false
873 predefined-parameters: |
879 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
880 node-parameters: false
881 current-parameters: false
882 predefined-parameters: |
888 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
889 node-parameters: false
890 current-parameters: false
891 predefined-parameters: |
897 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
898 node-parameters: false
899 current-parameters: false
900 predefined-parameters: |
906 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
907 node-parameters: false
908 current-parameters: false
909 predefined-parameters: |
915 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
916 node-parameters: false
917 current-parameters: false
918 predefined-parameters: |
924 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
925 node-parameters: false
926 current-parameters: false
927 predefined-parameters: |
933 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
934 node-parameters: false
935 current-parameters: false
936 predefined-parameters: |
942 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
943 node-parameters: false
944 current-parameters: false
945 predefined-parameters: |
951 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
952 node-parameters: false
953 current-parameters: false
954 predefined-parameters: |
960 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
961 node-parameters: false
962 current-parameters: false
963 predefined-parameters: |
969 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
970 node-parameters: false
971 current-parameters: false
972 predefined-parameters: |
978 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
979 node-parameters: false
980 current-parameters: false
981 predefined-parameters: |
987 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
988 node-parameters: false
989 current-parameters: false
990 predefined-parameters: |
996 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
997 node-parameters: false
998 current-parameters: false
999 predefined-parameters: |
1001 kill-phase-on: NEVER
1005 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1006 node-parameters: false
1007 current-parameters: false
1008 predefined-parameters: |
1010 kill-phase-on: NEVER
1014 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1015 node-parameters: false
1016 current-parameters: false
1017 predefined-parameters: |
1019 kill-phase-on: NEVER
1023 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1024 node-parameters: false
1025 current-parameters: false
1026 predefined-parameters: |
1028 kill-phase-on: NEVER
1032 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1033 node-parameters: false
1034 current-parameters: false
1035 predefined-parameters: |
1037 kill-phase-on: NEVER
1041 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1042 node-parameters: false
1043 current-parameters: false
1044 predefined-parameters: |
1046 kill-phase-on: NEVER
1050 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1051 node-parameters: false
1052 current-parameters: false
1053 predefined-parameters: |
1055 kill-phase-on: NEVER
1062 name: 'apex-daily-master'
1064 # Job template for daily build
1066 # Required Variables:
1067 # stream: branch with - in place of / (eg. stable)
1068 # branch: branch (eg. stable)
1069 project-type: 'multijob'
1071 node: 'apex-baremetal-master'
1079 - '{project}-defaults'
1080 - '{project}-baremetal-master-defaults'
1081 - project-parameter:
1082 project: '{project}'
1096 condition: SUCCESSFUL
1098 - name: 'apex-build-master'
1099 current-parameters: false
1100 predefined-parameters: |
1101 GERRIT_BRANCH=$GERRIT_BRANCH
1103 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1104 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1105 node-parameters: true
1106 kill-phase-on: FAILURE
1110 name: 'Verify and upload ISO'
1111 condition: SUCCESSFUL
1113 - name: 'apex-verify-iso-master'
1114 current-parameters: false
1115 predefined-parameters: |
1116 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
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: Baremetal Deploy and Test Phase
1127 condition: SUCCESSFUL
1130 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1131 node-parameters: false
1132 current-parameters: false
1133 predefined-parameters: |
1135 kill-phase-on: NEVER
1139 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1140 node-parameters: false
1141 current-parameters: false
1142 predefined-parameters: |
1144 kill-phase-on: NEVER
1148 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1149 node-parameters: false
1150 current-parameters: false
1151 predefined-parameters: |
1153 kill-phase-on: NEVER
1157 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1158 node-parameters: false
1159 current-parameters: false
1160 predefined-parameters: |
1162 kill-phase-on: NEVER
1166 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1167 node-parameters: false
1168 current-parameters: false
1169 predefined-parameters: |
1171 kill-phase-on: NEVER
1179 name: 'apex-create-snapshot'
1181 # Job template for clean
1183 # Required Variables:
1184 # stream: branch with - in place of / (eg. stable)
1190 !include-raw-escape: ./apex-snapshot-create.sh
1194 name: 'apex-upload-snapshot'
1196 # Job template for clean
1198 # Required Variables:
1199 # stream: branch with - in place of / (eg. stable)
1205 properties-content: ARTIFACT_TYPE=snapshot
1206 - 'apex-upload-artifact'
1210 name: 'apex-csit-promote-daily-{stream}'
1212 # Job template for promoting CSIT Snapshots
1214 # Required Variables:
1215 # stream: branch with - in place of / (eg. stable)
1216 # branch: branch (eg. stable)
1217 node: '{virtual-slave}'
1218 project-type: 'multijob'
1225 - project-parameter:
1226 project: '{project}'
1229 gs-pathname: '{gs-pathname}'
1233 use-build-blocker: true
1242 - timed: '0 12 * * 0'
1247 condition: SUCCESSFUL
1249 - name: 'apex-build-{stream}'
1250 current-parameters: false
1251 predefined-parameters: |
1252 GERRIT_BRANCH=$GERRIT_BRANCH
1253 GERRIT_REFSPEC=$GERRIT_REFSPEC
1254 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1255 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1256 node-parameters: false
1257 kill-phase-on: FAILURE
1261 name: deploy-virtual
1262 condition: SUCCESSFUL
1264 - name: 'apex-deploy-virtual-{stream}'
1265 current-parameters: false
1266 predefined-parameters: |
1267 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1269 GERRIT_BRANCH=$GERRIT_BRANCH
1270 GERRIT_REFSPEC=$GERRIT_REFSPEC
1271 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1272 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1274 node-parameters: true
1275 kill-phase-on: FAILURE
1279 name: functest-smoke
1280 condition: SUCCESSFUL
1282 - name: 'functest-apex-virtual-suite-{stream}'
1283 current-parameters: false
1284 predefined-parameters: |
1285 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1286 FUNCTEST_SUITE_NAME=tempest_smoke_serial
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: true
1292 kill-phase-on: FAILURE
1296 name: create snapshot
1297 condition: SUCCESSFUL
1299 - name: 'apex-create-snapshot'
1300 current-parameters: false
1301 predefined-parameters: |
1303 node-parameters: true
1304 kill-phase-on: FAILURE
1308 name: upload snapshot
1309 condition: SUCCESSFUL
1311 - name: 'apex-upload-snapshot'
1312 current-parameters: false
1313 predefined-parameters: |
1315 node-parameters: true
1316 kill-phase-on: FAILURE
1322 name: 'apex-fdio-promote-daily-{stream}'
1324 # Job template for promoting CSIT Snapshots
1326 # Required Variables:
1327 # stream: branch with - in place of / (eg. stable)
1328 # branch: branch (eg. stable)
1329 node: '{virtual-slave}'
1330 project-type: 'multijob'
1337 - project-parameter:
1338 project: '{project}'
1341 gs-pathname: '{gs-pathname}'
1345 use-build-blocker: true
1356 condition: SUCCESSFUL
1358 - name: 'apex-build-{stream}'
1359 current-parameters: false
1360 predefined-parameters: |
1361 GERRIT_BRANCH=$GERRIT_BRANCH
1362 GERRIT_REFSPEC=$GERRIT_REFSPEC
1363 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1364 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1365 node-parameters: false
1366 kill-phase-on: FAILURE
1370 name: deploy-virtual
1371 condition: SUCCESSFUL
1373 - name: 'apex-deploy-virtual-{stream}'
1374 current-parameters: false
1375 predefined-parameters: |
1376 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1378 GERRIT_BRANCH=$GERRIT_BRANCH
1379 GERRIT_REFSPEC=$GERRIT_REFSPEC
1380 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1381 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1383 node-parameters: true
1384 kill-phase-on: FAILURE
1388 name: create snapshot
1389 condition: SUCCESSFUL
1391 - name: 'apex-create-snapshot'
1392 current-parameters: false
1393 predefined-parameters: |
1395 node-parameters: true
1396 kill-phase-on: FAILURE
1400 name: upload snapshot
1401 condition: SUCCESSFUL
1403 - name: 'apex-upload-snapshot'
1404 current-parameters: false
1405 predefined-parameters: |
1407 node-parameters: true
1408 kill-phase-on: FAILURE
1412 ########################
1414 ########################
1416 name: apex-parameter
1421 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1423 name: ARTIFACT_VERSION
1425 description: "Artifact version type"
1427 name: BUILD_DIRECTORY
1428 default: $WORKSPACE/.build
1429 description: "Directory where the build artifact will be located upon the completion of the build."
1431 name: CACHE_DIRECTORY
1432 default: $HOME/opnfv/apex-cache{gs-pathname}
1433 description: "Directory where the cache to be used during the build is located."
1436 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1437 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1440 default: '{gs-pathname}'
1441 description: "Version directory where opnfv artifacts are stored in gs repository"
1444 default: $GS_BASE{gs-pathname}
1445 description: "URL to Google Storage."
1449 description: "Flag to know if we should promote/upload snapshot artifacts."
1451 ########################
1453 ########################
1455 name: 'apex-unit-test'
1458 !include-raw: ./apex-unit-test.sh
1464 !include-raw: ./apex-build.sh
1467 name: 'apex-workspace-cleanup'
1470 !include-raw: ./apex-workspace-cleanup.sh
1473 name: 'apex-iso-verify'
1476 !include-raw: ./apex-iso-verify.sh
1480 name: 'apex-upload-artifact'
1483 !include-raw: ./apex-upload-artifact.sh
1486 name: 'apex-download-artifact'
1489 !include-raw: ./apex-download-artifact.sh
1495 !include-raw: ./apex-deploy.sh
1497 #######################
1499 ########################
1503 - timed: '0 12 * * *'
1507 - timed: '0 3 1 1 7'