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
593 - description-setter:
594 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
595 - 'apex-download-artifact'
597 - 'apex-workspace-cleanup'
600 # Baremetal Deploy and Test
602 name: 'apex-{scenario}-baremetal-{scenario_stream}'
604 project-type: 'multijob'
612 - '{project}-defaults'
613 - '{project}-baremetal-{scenario_stream}-defaults'
618 gs-pathname: '{gs-pathname}'
620 name: DEPLOY_SCENARIO
621 default: '{scenario}'
622 description: "Scenario to deploy with."
626 use-build-blocker: true
631 - 'apex-.*-promote.*'
633 - 'apex-.+-baremetal-.+'
639 - description-setter:
640 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
642 name: 'Baremetal Deploy'
645 - name: 'apex-deploy-baremetal-{scenario_stream}'
646 node-parameters: true
647 current-parameters: true
648 predefined-parameters: |
650 GERRIT_BRANCH=$GERRIT_BRANCH
652 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
653 kill-phase-on: FAILURE
657 name: 'OPNFV Test Suite'
658 condition: SUCCESSFUL
660 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
661 node-parameters: true
662 current-parameters: false
663 predefined-parameters:
664 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
672 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
674 project-type: 'multijob'
679 - '{project}-defaults'
680 - '{project}-baremetal-{scenario_stream}-defaults'
685 gs-pathname: '{gs-pathname}'
687 name: DEPLOY_SCENARIO
688 default: '{scenario}'
689 description: "Scenario to deploy with."
693 use-build-blocker: true
698 - 'apex-.*-promote.*'
700 - 'apex-testsuite-.+-baremetal-.+'
706 - description-setter:
707 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
712 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
713 node-parameters: true
714 current-parameters: false
715 predefined-parameters:
716 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
724 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
725 node-parameters: true
726 current-parameters: false
727 predefined-parameters:
728 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
733 condition-kind: current-status
734 condition-worst: SUCCESS
735 condtion-best: SUCCESS
736 on-evaluation-failure: mark-unstable
738 - shell: 'echo "Tests Passed"'
743 name: 'apex-daily-danube'
745 # Job template for daily build
747 # Required Variables:
748 # stream: branch with - in place of / (eg. stable)
749 # branch: branch (eg. stable)
750 project-type: 'multijob'
752 node: 'apex-baremetal-danube'
760 - '{project}-defaults'
761 - '{project}-baremetal-danube-defaults'
764 branch: 'stable/danube'
766 gs-pathname: '/danube'
777 condition: SUCCESSFUL
779 - name: 'apex-build-danube'
780 current-parameters: false
781 predefined-parameters: |
782 GERRIT_BRANCH=$GERRIT_BRANCH
784 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
785 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
786 node-parameters: true
787 kill-phase-on: FAILURE
791 name: 'Verify and upload ISO'
792 condition: SUCCESSFUL
794 - name: 'apex-verify-iso-danube'
795 current-parameters: false
796 predefined-parameters: |
797 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
798 GERRIT_BRANCH=$GERRIT_BRANCH
800 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
801 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
802 node-parameters: true
803 kill-phase-on: FAILURE
807 name: Baremetal Deploy and Test Phase
808 condition: SUCCESSFUL
811 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
812 node-parameters: false
813 current-parameters: false
814 predefined-parameters: |
820 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
821 node-parameters: false
822 current-parameters: false
823 predefined-parameters: |
829 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
830 node-parameters: false
831 current-parameters: false
832 predefined-parameters: |
838 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
839 node-parameters: false
840 current-parameters: false
841 predefined-parameters: |
847 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
848 node-parameters: false
849 current-parameters: false
850 predefined-parameters: |
856 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
857 node-parameters: false
858 current-parameters: false
859 predefined-parameters: |
865 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
866 node-parameters: false
867 current-parameters: false
868 predefined-parameters: |
874 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
875 node-parameters: false
876 current-parameters: false
877 predefined-parameters: |
883 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
884 node-parameters: false
885 current-parameters: false
886 predefined-parameters: |
892 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
893 node-parameters: false
894 current-parameters: false
895 predefined-parameters: |
901 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
902 node-parameters: false
903 current-parameters: false
904 predefined-parameters: |
910 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
911 node-parameters: false
912 current-parameters: false
913 predefined-parameters: |
919 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
920 node-parameters: false
921 current-parameters: false
922 predefined-parameters: |
928 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
929 node-parameters: false
930 current-parameters: false
931 predefined-parameters: |
937 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
938 node-parameters: false
939 current-parameters: false
940 predefined-parameters: |
946 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
947 node-parameters: false
948 current-parameters: false
949 predefined-parameters: |
955 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
956 node-parameters: false
957 current-parameters: false
958 predefined-parameters: |
964 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
965 node-parameters: false
966 current-parameters: false
967 predefined-parameters: |
973 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
974 node-parameters: false
975 current-parameters: false
976 predefined-parameters: |
982 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
983 node-parameters: false
984 current-parameters: false
985 predefined-parameters: |
991 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
992 node-parameters: false
993 current-parameters: false
994 predefined-parameters: |
1000 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1001 node-parameters: false
1002 current-parameters: false
1003 predefined-parameters: |
1005 kill-phase-on: NEVER
1009 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1010 node-parameters: false
1011 current-parameters: false
1012 predefined-parameters: |
1014 kill-phase-on: NEVER
1018 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1019 node-parameters: false
1020 current-parameters: false
1021 predefined-parameters: |
1023 kill-phase-on: NEVER
1027 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1028 node-parameters: false
1029 current-parameters: false
1030 predefined-parameters: |
1032 kill-phase-on: NEVER
1036 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1037 node-parameters: false
1038 current-parameters: false
1039 predefined-parameters: |
1041 kill-phase-on: NEVER
1048 name: 'apex-daily-master'
1050 # Job template for daily build
1052 # Required Variables:
1053 # stream: branch with - in place of / (eg. stable)
1054 # branch: branch (eg. stable)
1055 project-type: 'multijob'
1057 node: 'apex-baremetal-master'
1065 - '{project}-defaults'
1066 - '{project}-baremetal-master-defaults'
1067 - project-parameter:
1068 project: '{project}'
1082 condition: SUCCESSFUL
1084 - name: 'apex-build-master'
1085 current-parameters: false
1086 predefined-parameters: |
1087 GERRIT_BRANCH=$GERRIT_BRANCH
1089 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1090 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1091 node-parameters: true
1092 kill-phase-on: FAILURE
1096 name: 'Verify and upload ISO'
1097 condition: SUCCESSFUL
1099 - name: 'apex-verify-iso-master'
1100 current-parameters: false
1101 predefined-parameters: |
1102 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1103 GERRIT_BRANCH=$GERRIT_BRANCH
1105 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1106 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1107 node-parameters: true
1108 kill-phase-on: FAILURE
1112 name: Baremetal Deploy and Test Phase
1113 condition: SUCCESSFUL
1116 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1117 node-parameters: false
1118 current-parameters: false
1119 predefined-parameters: |
1121 kill-phase-on: NEVER
1125 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1126 node-parameters: false
1127 current-parameters: false
1128 predefined-parameters: |
1130 kill-phase-on: NEVER
1134 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1135 node-parameters: false
1136 current-parameters: false
1137 predefined-parameters: |
1139 kill-phase-on: NEVER
1143 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1144 node-parameters: false
1145 current-parameters: false
1146 predefined-parameters: |
1148 kill-phase-on: NEVER
1152 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1153 node-parameters: false
1154 current-parameters: false
1155 predefined-parameters: |
1157 kill-phase-on: NEVER
1165 name: 'apex-create-snapshot'
1167 # Job template for clean
1169 # Required Variables:
1170 # stream: branch with - in place of / (eg. stable)
1176 !include-raw-escape: ./apex-snapshot-create.sh
1180 name: 'apex-upload-snapshot'
1182 # Job template for clean
1184 # Required Variables:
1185 # stream: branch with - in place of / (eg. stable)
1191 properties-content: ARTIFACT_TYPE=snapshot
1192 - 'apex-upload-artifact'
1196 name: 'apex-csit-promote-daily-{stream}'
1198 # Job template for promoting CSIT Snapshots
1200 # Required Variables:
1201 # stream: branch with - in place of / (eg. stable)
1202 # branch: branch (eg. stable)
1203 node: '{virtual-slave}'
1204 project-type: 'multijob'
1211 - project-parameter:
1212 project: '{project}'
1215 gs-pathname: '{gs-pathname}'
1219 use-build-blocker: true
1228 - timed: '0 12 * * 0'
1233 condition: SUCCESSFUL
1235 - name: 'apex-build-{stream}'
1236 current-parameters: false
1237 predefined-parameters: |
1238 GERRIT_BRANCH=$GERRIT_BRANCH
1239 GERRIT_REFSPEC=$GERRIT_REFSPEC
1240 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1241 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1242 node-parameters: false
1243 kill-phase-on: FAILURE
1247 name: deploy-virtual
1248 condition: SUCCESSFUL
1250 - name: 'apex-deploy-virtual-{stream}'
1251 current-parameters: false
1252 predefined-parameters: |
1253 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1255 GERRIT_BRANCH=$GERRIT_BRANCH
1256 GERRIT_REFSPEC=$GERRIT_REFSPEC
1257 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1258 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1260 node-parameters: true
1261 kill-phase-on: FAILURE
1265 name: functest-smoke
1266 condition: SUCCESSFUL
1268 - name: 'functest-apex-virtual-suite-{stream}'
1269 current-parameters: false
1270 predefined-parameters: |
1271 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1272 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1273 GERRIT_BRANCH=$GERRIT_BRANCH
1274 GERRIT_REFSPEC=$GERRIT_REFSPEC
1275 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1276 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1277 node-parameters: true
1278 kill-phase-on: FAILURE
1282 name: create snapshot
1283 condition: SUCCESSFUL
1285 - name: 'apex-create-snapshot'
1286 current-parameters: false
1287 predefined-parameters: |
1289 node-parameters: true
1290 kill-phase-on: FAILURE
1294 name: upload snapshot
1295 condition: SUCCESSFUL
1297 - name: 'apex-upload-snapshot'
1298 current-parameters: false
1299 predefined-parameters: |
1301 node-parameters: true
1302 kill-phase-on: FAILURE
1308 name: 'apex-fdio-promote-daily-{stream}'
1310 # Job template for promoting CSIT Snapshots
1312 # Required Variables:
1313 # stream: branch with - in place of / (eg. stable)
1314 # branch: branch (eg. stable)
1315 node: '{virtual-slave}'
1316 project-type: 'multijob'
1323 - project-parameter:
1324 project: '{project}'
1327 gs-pathname: '{gs-pathname}'
1331 use-build-blocker: true
1342 condition: SUCCESSFUL
1344 - name: 'apex-build-{stream}'
1345 current-parameters: false
1346 predefined-parameters: |
1347 GERRIT_BRANCH=$GERRIT_BRANCH
1348 GERRIT_REFSPEC=$GERRIT_REFSPEC
1349 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1350 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1351 node-parameters: false
1352 kill-phase-on: FAILURE
1356 name: deploy-virtual
1357 condition: SUCCESSFUL
1359 - name: 'apex-deploy-virtual-{stream}'
1360 current-parameters: false
1361 predefined-parameters: |
1362 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1364 GERRIT_BRANCH=$GERRIT_BRANCH
1365 GERRIT_REFSPEC=$GERRIT_REFSPEC
1366 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1367 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1369 node-parameters: true
1370 kill-phase-on: FAILURE
1374 name: create snapshot
1375 condition: SUCCESSFUL
1377 - name: 'apex-create-snapshot'
1378 current-parameters: false
1379 predefined-parameters: |
1381 node-parameters: true
1382 kill-phase-on: FAILURE
1386 name: upload snapshot
1387 condition: SUCCESSFUL
1389 - name: 'apex-upload-snapshot'
1390 current-parameters: false
1391 predefined-parameters: |
1393 node-parameters: true
1394 kill-phase-on: FAILURE
1398 ########################
1400 ########################
1402 name: apex-parameter
1407 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1409 name: ARTIFACT_VERSION
1411 description: "Artifact version type"
1413 name: BUILD_DIRECTORY
1414 default: $WORKSPACE/.build
1415 description: "Directory where the build artifact will be located upon the completion of the build."
1417 name: CACHE_DIRECTORY
1418 default: $HOME/opnfv/apex-cache{gs-pathname}
1419 description: "Directory where the cache to be used during the build is located."
1422 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1423 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1426 default: '{gs-pathname}'
1427 description: "Version directory where opnfv artifacts are stored in gs repository"
1430 default: $GS_BASE{gs-pathname}
1431 description: "URL to Google Storage."
1435 description: "Flag to know if we should promote/upload snapshot artifacts."
1437 ########################
1439 ########################
1441 name: 'apex-unit-test'
1444 !include-raw: ./apex-unit-test.sh
1450 !include-raw: ./apex-build.sh
1453 name: 'apex-workspace-cleanup'
1456 !include-raw: ./apex-workspace-cleanup.sh
1459 name: 'apex-iso-verify'
1462 !include-raw: ./apex-iso-verify.sh
1466 name: 'apex-upload-artifact'
1469 !include-raw: ./apex-upload-artifact.sh
1472 name: 'apex-download-artifact'
1475 !include-raw: ./apex-download-artifact.sh
1481 !include-raw: ./apex-deploy.sh
1483 #######################
1485 ########################
1489 - timed: '0 12 * * *'
1493 - timed: '0 3 1 1 7'