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':
128 name: 'apex-verify-unit-tests-{stream}'
130 node: '{build-slave}'
136 gs-pathname: '{gs-pathname}'
146 server-name: 'gerrit.opnfv.org'
148 - patchset-created-event:
149 exclude-drafts: 'false'
150 exclude-trivial-rebase: 'false'
151 exclude-no-code-change: 'true'
152 - draft-published-event
153 - comment-added-contains-event:
154 comment-contains-value: 'recheck'
155 - comment-added-contains-event:
156 comment-contains-value: 'reverify'
158 - project-compare-type: 'ANT'
159 project-pattern: 'apex'
161 - branch-compare-type: 'ANT'
162 branch-pattern: '**/{branch}'
175 !include-raw-escape: ./apex-unit-test.sh
179 name: 'apex-verify-{stream}'
181 node: '{virtual-slave}'
185 project-type: 'multijob'
189 gs-pathname: '{gs-pathname}/dev'
194 name: ARTIFACT_VERSION
196 description: "Used for overriding the ARTIFACT_VERSION"
202 server-name: 'gerrit.opnfv.org'
204 - patchset-created-event:
205 exclude-drafts: 'false'
206 exclude-trivial-rebase: 'false'
207 exclude-no-code-change: 'true'
208 - draft-published-event
209 - comment-added-contains-event:
210 comment-contains-value: 'recheck'
211 - comment-added-contains-event:
212 comment-contains-value: 'reverify'
214 - project-compare-type: 'ANT'
215 project-pattern: 'apex'
217 - branch-compare-type: 'ANT'
218 branch-pattern: '**/{branch}'
237 - description-setter:
238 description: "Built on $NODE_NAME"
241 condition: SUCCESSFUL
243 - name: 'apex-verify-unit-tests-{stream}'
244 current-parameters: false
245 predefined-parameters: |
246 GERRIT_BRANCH=$GERRIT_BRANCH
247 GERRIT_REFSPEC=$GERRIT_REFSPEC
248 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
249 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
250 node-parameters: false
251 kill-phase-on: FAILURE
256 condition: SUCCESSFUL
258 - name: 'apex-build-{stream}'
259 current-parameters: false
260 predefined-parameters: |
261 ARTIFACT_VERSION=$ARTIFACT_VERSION
262 GERRIT_BRANCH=$GERRIT_BRANCH
263 GERRIT_REFSPEC=$GERRIT_REFSPEC
264 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
265 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
266 node-parameters: false
267 kill-phase-on: FAILURE
272 condition: SUCCESSFUL
274 - name: 'apex-deploy-virtual-{stream}'
275 current-parameters: false
276 predefined-parameters: |
277 ARTIFACT_VERSION=$ARTIFACT_VERSION
278 DEPLOY_SCENARIO={verify-scenario}
280 GERRIT_BRANCH=$GERRIT_BRANCH
281 GERRIT_REFSPEC=$GERRIT_REFSPEC
282 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
283 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
284 node-parameters: true
285 kill-phase-on: FAILURE
290 condition: SUCCESSFUL
292 - name: 'functest-apex-virtual-suite-{stream}'
293 current-parameters: false
294 predefined-parameters: |
295 DEPLOY_SCENARIO={verify-scenario}
296 FUNCTEST_SUITE_NAME=healthcheck
297 GERRIT_BRANCH=$GERRIT_BRANCH
298 GERRIT_REFSPEC=$GERRIT_REFSPEC
299 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
300 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
301 node-parameters: true
306 # Verify Scenario Gate
308 name: 'apex-verify-gate-{stream}'
310 node: '{virtual-slave}'
314 project-type: 'multijob'
318 gs-pathname: '{gs-pathname}/dev'
324 default: https://gerrit.opnfv.org/gerrit/$PROJECT
325 description: "Used for overriding the GIT URL coming from parameters macro."
327 name: ARTIFACT_VERSION
329 description: "Used for overriding the ARTIFACT_VERSION"
336 server-name: 'gerrit.opnfv.org'
338 - comment-added-contains-event:
339 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
341 - project-compare-type: 'ANT'
342 project-pattern: 'apex'
344 - branch-compare-type: 'ANT'
345 branch-pattern: '**/{branch}'
366 condition: SUCCESSFUL
368 - name: 'apex-deploy-virtual-{stream}'
369 current-parameters: false
370 predefined-parameters: |
371 ARTIFACT_VERSION=$ARTIFACT_VERSION
374 GERRIT_BRANCH=$GERRIT_BRANCH
375 GERRIT_REFSPEC=$GERRIT_REFSPEC
376 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
377 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
378 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
379 node-parameters: true
380 kill-phase-on: FAILURE
385 condition: SUCCESSFUL
387 - name: 'functest-apex-virtual-suite-{stream}'
388 current-parameters: false
389 predefined-parameters: |
390 DEPLOY_SCENARIO={verify-scenario}
391 FUNCTEST_SUITE_NAME=healthcheck
392 GERRIT_BRANCH=$GERRIT_BRANCH
393 GERRIT_REFSPEC=$GERRIT_REFSPEC
394 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
395 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
396 node-parameters: true
402 name: 'apex-runner-cperf-{stream}'
405 project-type: 'multijob'
412 gs-pathname: '{gs-pathname}'
418 default: https://gerrit.opnfv.org/gerrit/$PROJECT
419 description: "Used for overriding the GIT URL coming from parameters macro."
427 use-build-blocker: false
437 - description-setter:
438 description: "Deployed on $NODE_NAME"
440 name: 'Baremetal Deploy'
443 - name: 'apex-deploy-baremetal-{stream}'
444 node-parameters: false
445 current-parameters: true
446 predefined-parameters: |
447 GERRIT_BRANCH=$GERRIT_BRANCH
450 DEPLOY_SCENARIO={verify-scenario}
451 kill-phase-on: FAILURE
456 condition: SUCCESSFUL
458 - name: 'cperf-apex-intel-pod2-daily-master'
459 node-parameters: true
460 current-parameters: false
461 predefined-parameters:
462 DEPLOY_SCENARIO={verify-scenario}
469 name: 'apex-build-{stream}'
471 # Job template for builds
473 # Required Variables:
474 # stream: branch with - in place of / (eg. stable)
475 # branch: branch (eg. stable)
476 node: '{build-slave}'
483 - '{project}-defaults'
488 gs-pathname: '{gs-pathname}'
501 max-per-node: {concurrent-builds}
505 use-build-blocker: true
508 - 'apex-verify-iso-{stream}'
513 properties-content: ARTIFACT_TYPE=rpm
514 - 'apex-upload-artifact'
518 name: 'apex-verify-iso-{stream}'
520 # Job template for builds
522 # Required Variables:
523 # stream: branch with - in place of / (eg. stable)
524 # branch: branch (eg. stable)
525 node: '{virtual-slave}'
536 gs-pathname: '{gs-pathname}'
539 default: https://gerrit.opnfv.org/gerrit/$PROJECT
540 description: "Used for overriding the GIT URL coming from parameters macro."
555 properties-content: ARTIFACT_TYPE=iso
556 - 'apex-upload-artifact'
560 name: 'apex-deploy-{platform}-{stream}'
562 node: 'apex-{platform}-{stream}'
577 - '{project}-{platform}-{stream}-defaults'
582 gs-pathname: '{gs-pathname}'
584 name: DEPLOY_SCENARIO
585 default: '{verify-scenario}'
586 description: "Scenario to deploy with."
590 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
595 use-build-blocker: true
608 - description-setter:
609 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
610 - 'apex-download-artifact'
612 - 'apex-workspace-cleanup'
615 # Baremetal Deploy and Test
617 name: 'apex-{scenario}-baremetal-{scenario_stream}'
619 project-type: 'multijob'
627 - '{project}-defaults'
628 - '{project}-baremetal-{scenario_stream}-defaults'
633 gs-pathname: '{gs-pathname}'
635 name: DEPLOY_SCENARIO
636 default: '{scenario}'
637 description: "Scenario to deploy with."
641 use-build-blocker: true
646 - 'apex-.*-promote.*'
648 - 'apex-.+-baremetal-.+'
654 - description-setter:
655 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
657 name: 'Baremetal Deploy'
660 - name: 'apex-deploy-baremetal-{scenario_stream}'
661 node-parameters: true
662 current-parameters: true
663 predefined-parameters: |
665 GERRIT_BRANCH=$GERRIT_BRANCH
667 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
668 kill-phase-on: FAILURE
672 name: 'OPNFV Test Suite'
673 condition: SUCCESSFUL
675 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
676 node-parameters: true
677 current-parameters: false
678 predefined-parameters:
679 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
687 !include-raw-escape: ./update-build-result.groovy
691 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
693 project-type: 'multijob'
698 - '{project}-defaults'
699 - '{project}-baremetal-{scenario_stream}-defaults'
704 gs-pathname: '{gs-pathname}'
706 name: DEPLOY_SCENARIO
707 default: '{scenario}'
708 description: "Scenario to deploy with."
712 use-build-blocker: true
717 - 'apex-.*-promote.*'
719 - 'apex-testsuite-.+-baremetal-.+'
725 - description-setter:
726 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
731 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
732 node-parameters: true
733 current-parameters: false
734 predefined-parameters:
735 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
743 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
744 node-parameters: true
745 current-parameters: false
746 predefined-parameters:
747 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
755 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
756 node-parameters: true
757 current-parameters: false
758 predefined-parameters:
759 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
761 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
764 # Build status is always success due conditional plugin prefetching
765 # build status before multijob phases execute
766 # - conditional-step:
767 # condition-kind: current-status
768 # condition-worst: SUCCESS
769 # condtion-best: SUCCESS
770 # on-evaluation-failure: mark-unstable
772 # - shell: 'echo "Tests Passed"'
777 name: 'apex-daily-danube'
779 # Job template for daily build
781 # Required Variables:
782 # stream: branch with - in place of / (eg. stable)
783 # branch: branch (eg. stable)
784 project-type: 'multijob'
786 node: 'apex-baremetal-danube'
794 - '{project}-defaults'
795 - '{project}-baremetal-danube-defaults'
798 branch: 'stable/danube'
800 gs-pathname: '/danube'
811 condition: SUCCESSFUL
813 - name: 'apex-build-danube'
814 current-parameters: false
815 predefined-parameters: |
816 GERRIT_BRANCH=$GERRIT_BRANCH
818 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
819 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
820 node-parameters: true
821 kill-phase-on: FAILURE
825 name: 'Verify and upload ISO'
826 condition: SUCCESSFUL
828 - name: 'apex-verify-iso-danube'
829 current-parameters: false
830 predefined-parameters: |
831 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
832 GERRIT_BRANCH=$GERRIT_BRANCH
834 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
835 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
836 node-parameters: true
837 kill-phase-on: FAILURE
841 name: Baremetal Deploy and Test Phase
842 condition: SUCCESSFUL
845 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
846 node-parameters: false
847 current-parameters: false
848 predefined-parameters: |
854 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
855 node-parameters: false
856 current-parameters: false
857 predefined-parameters: |
863 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
864 node-parameters: false
865 current-parameters: false
866 predefined-parameters: |
872 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
873 node-parameters: false
874 current-parameters: false
875 predefined-parameters: |
881 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
882 node-parameters: false
883 current-parameters: false
884 predefined-parameters: |
890 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
891 node-parameters: false
892 current-parameters: false
893 predefined-parameters: |
899 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
900 node-parameters: false
901 current-parameters: false
902 predefined-parameters: |
908 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
909 node-parameters: false
910 current-parameters: false
911 predefined-parameters: |
917 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
918 node-parameters: false
919 current-parameters: false
920 predefined-parameters: |
926 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
927 node-parameters: false
928 current-parameters: false
929 predefined-parameters: |
935 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
936 node-parameters: false
937 current-parameters: false
938 predefined-parameters: |
944 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
945 node-parameters: false
946 current-parameters: false
947 predefined-parameters: |
953 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
954 node-parameters: false
955 current-parameters: false
956 predefined-parameters: |
962 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
963 node-parameters: false
964 current-parameters: false
965 predefined-parameters: |
971 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
972 node-parameters: false
973 current-parameters: false
974 predefined-parameters: |
980 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
981 node-parameters: false
982 current-parameters: false
983 predefined-parameters: |
989 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
990 node-parameters: false
991 current-parameters: false
992 predefined-parameters: |
998 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
999 node-parameters: false
1000 current-parameters: false
1001 predefined-parameters: |
1003 kill-phase-on: NEVER
1007 - name: 'apex-os-odl-gluon-noha-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-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-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-fdio_dvr-noha-baremetal-danube'
1035 node-parameters: false
1036 current-parameters: false
1037 predefined-parameters: |
1039 kill-phase-on: NEVER
1043 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1044 node-parameters: false
1045 current-parameters: false
1046 predefined-parameters: |
1048 kill-phase-on: NEVER
1052 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1053 node-parameters: false
1054 current-parameters: false
1055 predefined-parameters: |
1057 kill-phase-on: NEVER
1061 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1062 node-parameters: false
1063 current-parameters: false
1064 predefined-parameters: |
1066 kill-phase-on: NEVER
1070 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1071 node-parameters: false
1072 current-parameters: false
1073 predefined-parameters: |
1075 kill-phase-on: NEVER
1082 name: 'apex-daily-master'
1084 # Job template for daily build
1086 # Required Variables:
1087 # stream: branch with - in place of / (eg. stable)
1088 # branch: branch (eg. stable)
1089 project-type: 'multijob'
1091 node: 'apex-baremetal-master'
1099 - '{project}-defaults'
1100 - '{project}-baremetal-master-defaults'
1101 - project-parameter:
1102 project: '{project}'
1116 condition: SUCCESSFUL
1118 - name: 'apex-build-master'
1119 current-parameters: false
1120 predefined-parameters: |
1121 GERRIT_BRANCH=$GERRIT_BRANCH
1123 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1124 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1125 node-parameters: true
1126 kill-phase-on: FAILURE
1130 name: 'Verify and upload ISO'
1131 condition: SUCCESSFUL
1133 - name: 'apex-verify-iso-master'
1134 current-parameters: false
1135 predefined-parameters: |
1136 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1137 GERRIT_BRANCH=$GERRIT_BRANCH
1139 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1140 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1141 node-parameters: true
1142 kill-phase-on: FAILURE
1146 name: Baremetal Deploy and Test Phase
1147 condition: SUCCESSFUL
1150 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1151 node-parameters: false
1152 current-parameters: false
1153 predefined-parameters: |
1155 kill-phase-on: NEVER
1159 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1160 node-parameters: false
1161 current-parameters: false
1162 predefined-parameters: |
1164 kill-phase-on: NEVER
1168 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1169 node-parameters: false
1170 current-parameters: false
1171 predefined-parameters: |
1173 kill-phase-on: NEVER
1177 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1178 node-parameters: false
1179 current-parameters: false
1180 predefined-parameters: |
1182 kill-phase-on: NEVER
1186 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1187 node-parameters: false
1188 current-parameters: false
1189 predefined-parameters: |
1191 kill-phase-on: NEVER
1195 - name: 'apex-os-ovn-nofeature-noha-baremetal-master'
1196 node-parameters: false
1197 current-parameters: false
1198 predefined-parameters: |
1200 kill-phase-on: NEVER
1204 - name: 'apex-os-nosdn-fdio-noha-baremetal-master'
1205 node-parameters: false
1206 current-parameters: false
1207 predefined-parameters: |
1209 kill-phase-on: NEVER
1213 - name: 'apex-os-nosdn-fdio-ha-baremetal-master'
1214 node-parameters: false
1215 current-parameters: false
1216 predefined-parameters: |
1218 kill-phase-on: NEVER
1222 - name: 'apex-os-odl-fdio-noha-baremetal-master'
1223 node-parameters: false
1224 current-parameters: false
1225 predefined-parameters: |
1227 kill-phase-on: NEVER
1231 - name: 'apex-os-odl-fdio-ha-baremetal-master'
1232 node-parameters: false
1233 current-parameters: false
1234 predefined-parameters: |
1236 kill-phase-on: NEVER
1240 - name: 'apex-os-nosdn-bar-ha-baremetal-master'
1241 node-parameters: false
1242 current-parameters: false
1243 predefined-parameters: |
1245 kill-phase-on: NEVER
1249 - name: 'apex-os-nosdn-bar-noha-baremetal-master'
1250 node-parameters: false
1251 current-parameters: false
1252 predefined-parameters: |
1254 kill-phase-on: NEVER
1262 name: 'apex-create-snapshot'
1264 # Job template for clean
1266 # Required Variables:
1267 # stream: branch with - in place of / (eg. stable)
1273 !include-raw-escape: ./apex-snapshot-create.sh
1277 name: 'apex-upload-snapshot'
1279 # Job template for clean
1281 # Required Variables:
1282 # stream: branch with - in place of / (eg. stable)
1288 properties-content: ARTIFACT_TYPE=snapshot
1289 - 'apex-upload-artifact'
1293 name: 'apex-csit-promote-daily-{stream}'
1295 # Job template for promoting CSIT Snapshots
1297 # Required Variables:
1298 # stream: branch with - in place of / (eg. stable)
1299 # branch: branch (eg. stable)
1300 node: '{virtual-slave}'
1301 project-type: 'multijob'
1308 - project-parameter:
1309 project: '{project}'
1312 gs-pathname: '{gs-pathname}'
1316 use-build-blocker: true
1325 - timed: '0 12 * * 0'
1330 condition: SUCCESSFUL
1332 - name: 'apex-build-{stream}'
1333 current-parameters: false
1334 predefined-parameters: |
1335 GERRIT_BRANCH=$GERRIT_BRANCH
1336 GERRIT_REFSPEC=$GERRIT_REFSPEC
1337 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1338 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1339 node-parameters: false
1340 kill-phase-on: FAILURE
1344 name: deploy-virtual
1345 condition: SUCCESSFUL
1347 - name: 'apex-deploy-virtual-{stream}'
1348 current-parameters: false
1349 predefined-parameters: |
1350 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1352 GERRIT_BRANCH=$GERRIT_BRANCH
1353 GERRIT_REFSPEC=$GERRIT_REFSPEC
1354 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1355 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1357 node-parameters: true
1358 kill-phase-on: FAILURE
1362 name: functest-smoke
1363 condition: SUCCESSFUL
1365 - name: 'functest-apex-virtual-suite-{stream}'
1366 current-parameters: false
1367 predefined-parameters: |
1368 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1369 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1370 GERRIT_BRANCH=$GERRIT_BRANCH
1371 GERRIT_REFSPEC=$GERRIT_REFSPEC
1372 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1373 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1374 node-parameters: true
1375 kill-phase-on: FAILURE
1379 name: create snapshot
1380 condition: SUCCESSFUL
1382 - name: 'apex-create-snapshot'
1383 current-parameters: false
1384 predefined-parameters: |
1386 node-parameters: true
1387 kill-phase-on: FAILURE
1391 name: upload snapshot
1392 condition: SUCCESSFUL
1394 - name: 'apex-upload-snapshot'
1395 current-parameters: false
1396 predefined-parameters: |
1398 node-parameters: true
1399 kill-phase-on: FAILURE
1405 name: 'apex-fdio-promote-daily-{stream}'
1407 # Job template for promoting CSIT Snapshots
1409 # Required Variables:
1410 # stream: branch with - in place of / (eg. stable)
1411 # branch: branch (eg. stable)
1412 node: '{virtual-slave}'
1413 project-type: 'multijob'
1420 - project-parameter:
1421 project: '{project}'
1424 gs-pathname: '{gs-pathname}'
1428 use-build-blocker: true
1439 condition: SUCCESSFUL
1441 - name: 'apex-build-{stream}'
1442 current-parameters: false
1443 predefined-parameters: |
1444 GERRIT_BRANCH=$GERRIT_BRANCH
1445 GERRIT_REFSPEC=$GERRIT_REFSPEC
1446 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1447 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1448 node-parameters: false
1449 kill-phase-on: FAILURE
1453 name: deploy-virtual
1454 condition: SUCCESSFUL
1456 - name: 'apex-deploy-virtual-{stream}'
1457 current-parameters: false
1458 predefined-parameters: |
1459 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1461 GERRIT_BRANCH=$GERRIT_BRANCH
1462 GERRIT_REFSPEC=$GERRIT_REFSPEC
1463 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1464 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1466 node-parameters: true
1467 kill-phase-on: FAILURE
1471 name: create snapshot
1472 condition: SUCCESSFUL
1474 - name: 'apex-create-snapshot'
1475 current-parameters: false
1476 predefined-parameters: |
1478 node-parameters: true
1479 kill-phase-on: FAILURE
1483 name: upload snapshot
1484 condition: SUCCESSFUL
1486 - name: 'apex-upload-snapshot'
1487 current-parameters: false
1488 predefined-parameters: |
1490 node-parameters: true
1491 kill-phase-on: FAILURE
1495 ########################
1497 ########################
1499 name: apex-parameter
1504 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1506 name: ARTIFACT_VERSION
1508 description: "Artifact version type"
1510 name: BUILD_DIRECTORY
1511 default: $WORKSPACE/.build
1512 description: "Directory where the build artifact will be located upon the completion of the build."
1514 name: CACHE_DIRECTORY
1515 default: $HOME/opnfv/apex-cache{gs-pathname}
1516 description: "Directory where the cache to be used during the build is located."
1519 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1520 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1523 default: '{gs-pathname}'
1524 description: "Version directory where opnfv artifacts are stored in gs repository"
1527 default: $GS_BASE{gs-pathname}
1528 description: "URL to Google Storage."
1532 description: "Flag to know if we should promote/upload snapshot artifacts."
1534 ########################
1536 ########################
1538 name: 'apex-unit-test'
1541 !include-raw: ./apex-unit-test.sh
1547 !include-raw: ./apex-build.sh
1550 name: 'apex-workspace-cleanup'
1553 !include-raw: ./apex-workspace-cleanup.sh
1556 name: 'apex-iso-verify'
1559 !include-raw: ./apex-iso-verify.sh
1563 name: 'apex-upload-artifact'
1566 !include-raw: ./apex-upload-artifact.sh
1569 name: 'apex-download-artifact'
1572 !include-raw: ./apex-download-artifact.sh
1578 !include-raw: ./apex-deploy.sh
1580 #######################
1582 ########################
1586 - timed: '0 12 * * *'
1590 - timed: '0 3 1 1 7'