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':
109 - 'os-nosdn-fdio-noha':
111 - 'os-nosdn-fdio-ha':
113 - 'os-odl-fdio-noha':
119 - 'os-nosdn-bar-noha':
121 - 'os-nosdn-nofeature-ha-ipv6':
130 name: 'apex-verify-unit-tests-{stream}'
132 node: '{build-slave}'
138 gs-pathname: '{gs-pathname}'
148 server-name: 'gerrit.opnfv.org'
150 - patchset-created-event:
151 exclude-drafts: 'false'
152 exclude-trivial-rebase: 'false'
153 exclude-no-code-change: 'true'
154 - draft-published-event
155 - comment-added-contains-event:
156 comment-contains-value: 'recheck'
157 - comment-added-contains-event:
158 comment-contains-value: 'reverify'
160 - project-compare-type: 'ANT'
161 project-pattern: 'apex'
163 - branch-compare-type: 'ANT'
164 branch-pattern: '**/{branch}'
177 !include-raw-escape: ./apex-unit-test.sh
181 name: 'apex-verify-{stream}'
183 node: '{virtual-slave}'
187 project-type: 'multijob'
191 gs-pathname: '{gs-pathname}/dev'
196 name: ARTIFACT_VERSION
198 description: "Used for overriding the ARTIFACT_VERSION"
204 server-name: 'gerrit.opnfv.org'
206 - patchset-created-event:
207 exclude-drafts: 'false'
208 exclude-trivial-rebase: 'false'
209 exclude-no-code-change: 'true'
210 - draft-published-event
211 - comment-added-contains-event:
212 comment-contains-value: 'recheck'
213 - comment-added-contains-event:
214 comment-contains-value: 'reverify'
216 - project-compare-type: 'ANT'
217 project-pattern: 'apex'
219 - branch-compare-type: 'ANT'
220 branch-pattern: '**/{branch}'
239 - description-setter:
240 description: "Built on $NODE_NAME"
243 condition: SUCCESSFUL
245 - name: 'apex-verify-unit-tests-{stream}'
246 current-parameters: false
247 predefined-parameters: |
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-build-{stream}'
261 current-parameters: false
262 predefined-parameters: |
263 ARTIFACT_VERSION=$ARTIFACT_VERSION
264 GERRIT_BRANCH=$GERRIT_BRANCH
265 GERRIT_REFSPEC=$GERRIT_REFSPEC
266 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
267 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
268 node-parameters: false
269 kill-phase-on: FAILURE
274 condition: SUCCESSFUL
276 - name: 'apex-deploy-virtual-{stream}'
277 current-parameters: false
278 predefined-parameters: |
279 ARTIFACT_VERSION=$ARTIFACT_VERSION
280 DEPLOY_SCENARIO={verify-scenario}
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
287 kill-phase-on: FAILURE
292 condition: SUCCESSFUL
294 - name: 'functest-apex-virtual-suite-{stream}'
295 current-parameters: false
296 predefined-parameters: |
297 DEPLOY_SCENARIO={verify-scenario}
298 FUNCTEST_SUITE_NAME=healthcheck
299 GERRIT_BRANCH=$GERRIT_BRANCH
300 GERRIT_REFSPEC=$GERRIT_REFSPEC
301 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
302 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
303 node-parameters: true
308 # Verify Scenario Gate
310 name: 'apex-verify-gate-{stream}'
312 node: '{virtual-slave}'
316 project-type: 'multijob'
320 gs-pathname: '{gs-pathname}/dev'
326 default: https://gerrit.opnfv.org/gerrit/$PROJECT
327 description: "Used for overriding the GIT URL coming from parameters macro."
329 name: ARTIFACT_VERSION
331 description: "Used for overriding the ARTIFACT_VERSION"
338 server-name: 'gerrit.opnfv.org'
340 - comment-added-contains-event:
341 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
343 - project-compare-type: 'ANT'
344 project-pattern: 'apex'
346 - branch-compare-type: 'ANT'
347 branch-pattern: '**/{branch}'
368 condition: SUCCESSFUL
370 - name: 'apex-deploy-virtual-{stream}'
371 current-parameters: false
372 predefined-parameters: |
373 ARTIFACT_VERSION=$ARTIFACT_VERSION
376 GERRIT_BRANCH=$GERRIT_BRANCH
377 GERRIT_REFSPEC=$GERRIT_REFSPEC
378 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
379 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
380 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
381 node-parameters: true
382 kill-phase-on: FAILURE
387 condition: SUCCESSFUL
389 - name: 'functest-apex-virtual-suite-{stream}'
390 current-parameters: false
391 predefined-parameters: |
392 DEPLOY_SCENARIO={verify-scenario}
393 FUNCTEST_SUITE_NAME=healthcheck
394 GERRIT_BRANCH=$GERRIT_BRANCH
395 GERRIT_REFSPEC=$GERRIT_REFSPEC
396 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
397 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
398 node-parameters: true
404 name: 'apex-runner-cperf-{stream}'
407 project-type: 'multijob'
414 gs-pathname: '{gs-pathname}'
420 default: https://gerrit.opnfv.org/gerrit/$PROJECT
421 description: "Used for overriding the GIT URL coming from parameters macro."
429 use-build-blocker: false
439 - description-setter:
440 description: "Deployed on $NODE_NAME"
442 name: 'Baremetal Deploy'
445 - name: 'apex-deploy-baremetal-{stream}'
446 node-parameters: false
447 current-parameters: true
448 predefined-parameters: |
449 GERRIT_BRANCH=$GERRIT_BRANCH
452 DEPLOY_SCENARIO={verify-scenario}
453 kill-phase-on: FAILURE
458 condition: SUCCESSFUL
460 - name: 'cperf-apex-intel-pod2-daily-master'
461 node-parameters: true
462 current-parameters: false
463 predefined-parameters:
464 DEPLOY_SCENARIO={verify-scenario}
471 name: 'apex-build-{stream}'
473 # Job template for builds
475 # Required Variables:
476 # stream: branch with - in place of / (eg. stable)
477 # branch: branch (eg. stable)
478 node: '{build-slave}'
485 - '{project}-defaults'
490 gs-pathname: '{gs-pathname}'
503 max-per-node: {concurrent-builds}
507 use-build-blocker: true
510 - 'apex-verify-iso-{stream}'
515 properties-content: ARTIFACT_TYPE=rpm
516 - 'apex-upload-artifact'
520 name: 'apex-verify-iso-{stream}'
522 # Job template for builds
524 # Required Variables:
525 # stream: branch with - in place of / (eg. stable)
526 # branch: branch (eg. stable)
527 node: '{virtual-slave}'
538 gs-pathname: '{gs-pathname}'
541 default: https://gerrit.opnfv.org/gerrit/$PROJECT
542 description: "Used for overriding the GIT URL coming from parameters macro."
557 properties-content: ARTIFACT_TYPE=iso
558 - 'apex-upload-artifact'
562 name: 'apex-deploy-{platform}-{stream}'
564 node: 'apex-{platform}-{stream}'
579 - '{project}-{platform}-{stream}-defaults'
584 gs-pathname: '{gs-pathname}'
586 name: DEPLOY_SCENARIO
587 default: '{verify-scenario}'
588 description: "Scenario to deploy with."
592 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
597 use-build-blocker: true
610 - description-setter:
611 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
612 - 'apex-download-artifact'
614 - 'apex-workspace-cleanup'
617 # Baremetal Deploy and Test
619 name: 'apex-{scenario}-baremetal-{scenario_stream}'
621 project-type: 'multijob'
629 - '{project}-defaults'
630 - '{project}-baremetal-{scenario_stream}-defaults'
635 gs-pathname: '{gs-pathname}'
637 name: DEPLOY_SCENARIO
638 default: '{scenario}'
639 description: "Scenario to deploy with."
643 use-build-blocker: true
648 - 'apex-.*-promote.*'
650 - 'apex-.+-baremetal-.+'
656 - description-setter:
657 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
659 name: 'Baremetal Deploy'
662 - name: 'apex-deploy-baremetal-{scenario_stream}'
663 node-parameters: true
664 current-parameters: true
665 predefined-parameters: |
667 GERRIT_BRANCH=$GERRIT_BRANCH
669 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
670 kill-phase-on: FAILURE
674 name: 'OPNFV Test Suite'
675 condition: SUCCESSFUL
677 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
678 node-parameters: true
679 current-parameters: false
680 predefined-parameters:
681 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
689 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
691 project-type: 'multijob'
696 - '{project}-defaults'
697 - '{project}-baremetal-{scenario_stream}-defaults'
702 gs-pathname: '{gs-pathname}'
704 name: DEPLOY_SCENARIO
705 default: '{scenario}'
706 description: "Scenario to deploy with."
710 use-build-blocker: true
715 - 'apex-.*-promote.*'
717 - 'apex-testsuite-.+-baremetal-.+'
723 - description-setter:
724 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
729 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
730 node-parameters: true
731 current-parameters: false
732 predefined-parameters:
733 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
741 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
742 node-parameters: true
743 current-parameters: false
744 predefined-parameters:
745 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
753 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
754 node-parameters: true
755 current-parameters: false
756 predefined-parameters:
757 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
759 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
763 condition-kind: current-status
764 condition-worst: SUCCESS
765 condtion-best: SUCCESS
766 on-evaluation-failure: mark-unstable
768 - shell: 'echo "Tests Passed"'
769 # Build status is always success due conditional plugin prefetching
770 # build status before multijob phases execute
771 # - conditional-step:
772 # condition-kind: current-status
773 # condition-worst: SUCCESS
774 # condtion-best: SUCCESS
775 # on-evaluation-failure: mark-unstable
777 # - shell: 'echo "Tests Passed"'
782 !include-raw-escape: ./update-build-result.groovy
787 name: 'apex-daily-danube'
789 # Job template for daily build
791 # Required Variables:
792 # stream: branch with - in place of / (eg. stable)
793 # branch: branch (eg. stable)
794 project-type: 'multijob'
796 node: 'apex-baremetal-danube'
804 - '{project}-defaults'
805 - '{project}-baremetal-danube-defaults'
808 branch: 'stable/danube'
810 gs-pathname: '/danube'
821 condition: SUCCESSFUL
823 - name: 'apex-build-danube'
824 current-parameters: false
825 predefined-parameters: |
826 GERRIT_BRANCH=$GERRIT_BRANCH
828 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
829 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
830 node-parameters: true
831 kill-phase-on: FAILURE
835 name: 'Verify and upload ISO'
836 condition: SUCCESSFUL
838 - name: 'apex-verify-iso-danube'
839 current-parameters: false
840 predefined-parameters: |
841 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
842 GERRIT_BRANCH=$GERRIT_BRANCH
844 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
845 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
846 node-parameters: true
847 kill-phase-on: FAILURE
851 name: Baremetal Deploy and Test Phase
852 condition: SUCCESSFUL
855 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
856 node-parameters: false
857 current-parameters: false
858 predefined-parameters: |
864 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
865 node-parameters: false
866 current-parameters: false
867 predefined-parameters: |
873 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
874 node-parameters: false
875 current-parameters: false
876 predefined-parameters: |
882 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
883 node-parameters: false
884 current-parameters: false
885 predefined-parameters: |
891 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
892 node-parameters: false
893 current-parameters: false
894 predefined-parameters: |
900 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
901 node-parameters: false
902 current-parameters: false
903 predefined-parameters: |
909 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
910 node-parameters: false
911 current-parameters: false
912 predefined-parameters: |
918 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
919 node-parameters: false
920 current-parameters: false
921 predefined-parameters: |
927 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
928 node-parameters: false
929 current-parameters: false
930 predefined-parameters: |
936 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
937 node-parameters: false
938 current-parameters: false
939 predefined-parameters: |
945 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
946 node-parameters: false
947 current-parameters: false
948 predefined-parameters: |
954 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
955 node-parameters: false
956 current-parameters: false
957 predefined-parameters: |
963 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
964 node-parameters: false
965 current-parameters: false
966 predefined-parameters: |
972 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
973 node-parameters: false
974 current-parameters: false
975 predefined-parameters: |
981 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
982 node-parameters: false
983 current-parameters: false
984 predefined-parameters: |
990 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
991 node-parameters: false
992 current-parameters: false
993 predefined-parameters: |
999 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
1000 node-parameters: false
1001 current-parameters: false
1002 predefined-parameters: |
1004 kill-phase-on: NEVER
1008 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
1009 node-parameters: false
1010 current-parameters: false
1011 predefined-parameters: |
1013 kill-phase-on: NEVER
1017 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1018 node-parameters: false
1019 current-parameters: false
1020 predefined-parameters: |
1022 kill-phase-on: NEVER
1026 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1027 node-parameters: false
1028 current-parameters: false
1029 predefined-parameters: |
1031 kill-phase-on: NEVER
1035 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1036 node-parameters: false
1037 current-parameters: false
1038 predefined-parameters: |
1040 kill-phase-on: NEVER
1044 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1045 node-parameters: false
1046 current-parameters: false
1047 predefined-parameters: |
1049 kill-phase-on: NEVER
1053 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1054 node-parameters: false
1055 current-parameters: false
1056 predefined-parameters: |
1058 kill-phase-on: NEVER
1062 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1063 node-parameters: false
1064 current-parameters: false
1065 predefined-parameters: |
1067 kill-phase-on: NEVER
1071 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1072 node-parameters: false
1073 current-parameters: false
1074 predefined-parameters: |
1076 kill-phase-on: NEVER
1080 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1081 node-parameters: false
1082 current-parameters: false
1083 predefined-parameters: |
1085 kill-phase-on: NEVER
1092 name: 'apex-daily-master'
1094 # Job template for daily build
1096 # Required Variables:
1097 # stream: branch with - in place of / (eg. stable)
1098 # branch: branch (eg. stable)
1099 project-type: 'multijob'
1101 node: 'apex-baremetal-master'
1109 - '{project}-defaults'
1110 - '{project}-baremetal-master-defaults'
1111 - project-parameter:
1112 project: '{project}'
1126 condition: SUCCESSFUL
1128 - name: 'apex-build-master'
1129 current-parameters: false
1130 predefined-parameters: |
1131 GERRIT_BRANCH=$GERRIT_BRANCH
1133 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1134 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1135 node-parameters: true
1136 kill-phase-on: FAILURE
1140 name: 'Verify and upload ISO'
1141 condition: SUCCESSFUL
1143 - name: 'apex-verify-iso-master'
1144 current-parameters: false
1145 predefined-parameters: |
1146 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1147 GERRIT_BRANCH=$GERRIT_BRANCH
1149 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1150 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1151 node-parameters: true
1152 kill-phase-on: FAILURE
1156 name: Baremetal Deploy and Test Phase
1157 condition: SUCCESSFUL
1160 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1161 node-parameters: false
1162 current-parameters: false
1163 predefined-parameters: |
1165 kill-phase-on: NEVER
1169 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1170 node-parameters: false
1171 current-parameters: false
1172 predefined-parameters: |
1174 kill-phase-on: NEVER
1178 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1179 node-parameters: false
1180 current-parameters: false
1181 predefined-parameters: |
1183 kill-phase-on: NEVER
1187 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1188 node-parameters: false
1189 current-parameters: false
1190 predefined-parameters: |
1192 kill-phase-on: NEVER
1196 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1197 node-parameters: false
1198 current-parameters: false
1199 predefined-parameters: |
1201 kill-phase-on: NEVER
1205 - name: 'apex-os-ovn-nofeature-noha-baremetal-master'
1206 node-parameters: false
1207 current-parameters: false
1208 predefined-parameters: |
1210 kill-phase-on: NEVER
1214 - name: 'apex-os-nosdn-fdio-noha-baremetal-master'
1215 node-parameters: false
1216 current-parameters: false
1217 predefined-parameters: |
1219 kill-phase-on: NEVER
1223 - name: 'apex-os-nosdn-fdio-ha-baremetal-master'
1224 node-parameters: false
1225 current-parameters: false
1226 predefined-parameters: |
1228 kill-phase-on: NEVER
1232 - name: 'apex-os-odl-fdio-noha-baremetal-master'
1233 node-parameters: false
1234 current-parameters: false
1235 predefined-parameters: |
1237 kill-phase-on: NEVER
1241 - name: 'apex-os-odl-fdio-ha-baremetal-master'
1242 node-parameters: false
1243 current-parameters: false
1244 predefined-parameters: |
1246 kill-phase-on: NEVER
1250 - name: 'apex-os-nosdn-bar-ha-baremetal-master'
1251 node-parameters: false
1252 current-parameters: false
1253 predefined-parameters: |
1255 kill-phase-on: NEVER
1259 - name: 'apex-os-nosdn-bar-noha-baremetal-master'
1260 node-parameters: false
1261 current-parameters: false
1262 predefined-parameters: |
1264 kill-phase-on: NEVER
1268 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-master'
1269 node-parameters: false
1270 current-parameters: false
1271 predefined-parameters: |
1273 kill-phase-on: NEVER
1281 name: 'apex-create-snapshot'
1283 # Job template for clean
1285 # Required Variables:
1286 # stream: branch with - in place of / (eg. stable)
1292 !include-raw-escape: ./apex-snapshot-create.sh
1296 name: 'apex-upload-snapshot'
1298 # Job template for clean
1300 # Required Variables:
1301 # stream: branch with - in place of / (eg. stable)
1307 properties-content: ARTIFACT_TYPE=snapshot
1308 - 'apex-upload-artifact'
1312 name: 'apex-csit-promote-daily-{stream}'
1314 # Job template for promoting CSIT Snapshots
1316 # Required Variables:
1317 # stream: branch with - in place of / (eg. stable)
1318 # branch: branch (eg. stable)
1319 node: '{virtual-slave}'
1320 project-type: 'multijob'
1327 - project-parameter:
1328 project: '{project}'
1331 gs-pathname: '{gs-pathname}'
1335 use-build-blocker: true
1344 - timed: '0 12 * * 0'
1349 condition: SUCCESSFUL
1351 - name: 'apex-build-{stream}'
1352 current-parameters: false
1353 predefined-parameters: |
1354 GERRIT_BRANCH=$GERRIT_BRANCH
1355 GERRIT_REFSPEC=$GERRIT_REFSPEC
1356 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1357 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1358 node-parameters: false
1359 kill-phase-on: FAILURE
1363 name: deploy-virtual
1364 condition: SUCCESSFUL
1366 - name: 'apex-deploy-virtual-{stream}'
1367 current-parameters: false
1368 predefined-parameters: |
1369 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1371 GERRIT_BRANCH=$GERRIT_BRANCH
1372 GERRIT_REFSPEC=$GERRIT_REFSPEC
1373 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1374 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1376 node-parameters: true
1377 kill-phase-on: FAILURE
1381 name: functest-smoke
1382 condition: SUCCESSFUL
1384 - name: 'functest-apex-virtual-suite-{stream}'
1385 current-parameters: false
1386 predefined-parameters: |
1387 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1388 FUNCTEST_SUITE_NAME=tempest_smoke_serial
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
1393 node-parameters: true
1394 kill-phase-on: FAILURE
1398 name: create snapshot
1399 condition: SUCCESSFUL
1401 - name: 'apex-create-snapshot'
1402 current-parameters: false
1403 predefined-parameters: |
1405 node-parameters: true
1406 kill-phase-on: FAILURE
1410 name: upload snapshot
1411 condition: SUCCESSFUL
1413 - name: 'apex-upload-snapshot'
1414 current-parameters: false
1415 predefined-parameters: |
1417 node-parameters: true
1418 kill-phase-on: FAILURE
1424 name: 'apex-fdio-promote-daily-{stream}'
1426 # Job template for promoting CSIT Snapshots
1428 # Required Variables:
1429 # stream: branch with - in place of / (eg. stable)
1430 # branch: branch (eg. stable)
1431 node: '{virtual-slave}'
1432 project-type: 'multijob'
1439 - project-parameter:
1440 project: '{project}'
1443 gs-pathname: '{gs-pathname}'
1447 use-build-blocker: true
1458 condition: SUCCESSFUL
1460 - name: 'apex-build-{stream}'
1461 current-parameters: false
1462 predefined-parameters: |
1463 GERRIT_BRANCH=$GERRIT_BRANCH
1464 GERRIT_REFSPEC=$GERRIT_REFSPEC
1465 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1466 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1467 node-parameters: false
1468 kill-phase-on: FAILURE
1472 name: deploy-virtual
1473 condition: SUCCESSFUL
1475 - name: 'apex-deploy-virtual-{stream}'
1476 current-parameters: false
1477 predefined-parameters: |
1478 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1480 GERRIT_BRANCH=$GERRIT_BRANCH
1481 GERRIT_REFSPEC=$GERRIT_REFSPEC
1482 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1483 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1485 node-parameters: true
1486 kill-phase-on: FAILURE
1490 name: create snapshot
1491 condition: SUCCESSFUL
1493 - name: 'apex-create-snapshot'
1494 current-parameters: false
1495 predefined-parameters: |
1497 node-parameters: true
1498 kill-phase-on: FAILURE
1502 name: upload snapshot
1503 condition: SUCCESSFUL
1505 - name: 'apex-upload-snapshot'
1506 current-parameters: false
1507 predefined-parameters: |
1509 node-parameters: true
1510 kill-phase-on: FAILURE
1514 ########################
1516 ########################
1518 name: apex-parameter
1523 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1525 name: ARTIFACT_VERSION
1527 description: "Artifact version type"
1529 name: BUILD_DIRECTORY
1530 default: $WORKSPACE/.build
1531 description: "Directory where the build artifact will be located upon the completion of the build."
1533 name: CACHE_DIRECTORY
1534 default: $HOME/opnfv/apex-cache{gs-pathname}
1535 description: "Directory where the cache to be used during the build is located."
1538 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1539 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1542 default: '{gs-pathname}'
1543 description: "Version directory where opnfv artifacts are stored in gs repository"
1546 default: $GS_BASE{gs-pathname}
1547 description: "URL to Google Storage."
1551 description: "Flag to know if we should promote/upload snapshot artifacts."
1553 ########################
1555 ########################
1557 name: 'apex-unit-test'
1560 !include-raw: ./apex-unit-test.sh
1566 !include-raw: ./apex-build.sh
1569 name: 'apex-workspace-cleanup'
1572 !include-raw: ./apex-workspace-cleanup.sh
1575 name: 'apex-iso-verify'
1578 !include-raw: ./apex-iso-verify.sh
1582 name: 'apex-upload-artifact'
1585 !include-raw: ./apex-upload-artifact.sh
1588 name: 'apex-download-artifact'
1591 !include-raw: ./apex-download-artifact.sh
1597 !include-raw: ./apex-deploy.sh
1599 #######################
1601 ########################
1605 - timed: '0 12 * * *'
1609 - timed: '0 3 1 1 7'