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"'
753 # Build status is always success due conditional plugin prefetching
754 # build status before multijob phases execute
755 # - conditional-step:
756 # condition-kind: current-status
757 # condition-worst: SUCCESS
758 # condtion-best: SUCCESS
759 # on-evaluation-failure: mark-unstable
761 # - shell: 'echo "Tests Passed"'
766 !include-raw-escape: ./update-build-result.groovy
771 name: 'apex-daily-danube'
773 # Job template for daily build
775 # Required Variables:
776 # stream: branch with - in place of / (eg. stable)
777 # branch: branch (eg. stable)
778 project-type: 'multijob'
780 node: 'apex-baremetal-danube'
788 - '{project}-defaults'
789 - '{project}-baremetal-danube-defaults'
792 branch: 'stable/danube'
794 gs-pathname: '/danube'
805 condition: SUCCESSFUL
807 - name: 'apex-build-danube'
808 current-parameters: false
809 predefined-parameters: |
810 GERRIT_BRANCH=$GERRIT_BRANCH
812 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
813 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
814 node-parameters: true
815 kill-phase-on: FAILURE
819 name: 'Verify and upload ISO'
820 condition: SUCCESSFUL
822 - name: 'apex-verify-iso-danube'
823 current-parameters: false
824 predefined-parameters: |
825 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
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: Baremetal Deploy and Test Phase
836 condition: SUCCESSFUL
839 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
840 node-parameters: false
841 current-parameters: false
842 predefined-parameters: |
848 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
849 node-parameters: false
850 current-parameters: false
851 predefined-parameters: |
857 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
858 node-parameters: false
859 current-parameters: false
860 predefined-parameters: |
866 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
867 node-parameters: false
868 current-parameters: false
869 predefined-parameters: |
875 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
876 node-parameters: false
877 current-parameters: false
878 predefined-parameters: |
884 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
885 node-parameters: false
886 current-parameters: false
887 predefined-parameters: |
893 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
894 node-parameters: false
895 current-parameters: false
896 predefined-parameters: |
902 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
903 node-parameters: false
904 current-parameters: false
905 predefined-parameters: |
911 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
912 node-parameters: false
913 current-parameters: false
914 predefined-parameters: |
920 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
921 node-parameters: false
922 current-parameters: false
923 predefined-parameters: |
929 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
930 node-parameters: false
931 current-parameters: false
932 predefined-parameters: |
938 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
939 node-parameters: false
940 current-parameters: false
941 predefined-parameters: |
947 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
948 node-parameters: false
949 current-parameters: false
950 predefined-parameters: |
956 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
957 node-parameters: false
958 current-parameters: false
959 predefined-parameters: |
965 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
966 node-parameters: false
967 current-parameters: false
968 predefined-parameters: |
974 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
975 node-parameters: false
976 current-parameters: false
977 predefined-parameters: |
983 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
984 node-parameters: false
985 current-parameters: false
986 predefined-parameters: |
992 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
993 node-parameters: false
994 current-parameters: false
995 predefined-parameters: |
1001 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1002 node-parameters: false
1003 current-parameters: false
1004 predefined-parameters: |
1006 kill-phase-on: NEVER
1010 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1011 node-parameters: false
1012 current-parameters: false
1013 predefined-parameters: |
1015 kill-phase-on: NEVER
1019 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1020 node-parameters: false
1021 current-parameters: false
1022 predefined-parameters: |
1024 kill-phase-on: NEVER
1028 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1029 node-parameters: false
1030 current-parameters: false
1031 predefined-parameters: |
1033 kill-phase-on: NEVER
1037 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1038 node-parameters: false
1039 current-parameters: false
1040 predefined-parameters: |
1042 kill-phase-on: NEVER
1046 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1047 node-parameters: false
1048 current-parameters: false
1049 predefined-parameters: |
1051 kill-phase-on: NEVER
1055 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1056 node-parameters: false
1057 current-parameters: false
1058 predefined-parameters: |
1060 kill-phase-on: NEVER
1064 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1065 node-parameters: false
1066 current-parameters: false
1067 predefined-parameters: |
1069 kill-phase-on: NEVER
1076 name: 'apex-daily-master'
1078 # Job template for daily build
1080 # Required Variables:
1081 # stream: branch with - in place of / (eg. stable)
1082 # branch: branch (eg. stable)
1083 project-type: 'multijob'
1085 node: 'apex-baremetal-master'
1093 - '{project}-defaults'
1094 - '{project}-baremetal-master-defaults'
1095 - project-parameter:
1096 project: '{project}'
1110 condition: SUCCESSFUL
1112 - name: 'apex-build-master'
1113 current-parameters: false
1114 predefined-parameters: |
1115 GERRIT_BRANCH=$GERRIT_BRANCH
1117 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1118 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1119 node-parameters: true
1120 kill-phase-on: FAILURE
1124 name: 'Verify and upload ISO'
1125 condition: SUCCESSFUL
1127 - name: 'apex-verify-iso-master'
1128 current-parameters: false
1129 predefined-parameters: |
1130 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
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: Baremetal Deploy and Test Phase
1141 condition: SUCCESSFUL
1144 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1145 node-parameters: false
1146 current-parameters: false
1147 predefined-parameters: |
1149 kill-phase-on: NEVER
1153 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1154 node-parameters: false
1155 current-parameters: false
1156 predefined-parameters: |
1158 kill-phase-on: NEVER
1162 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1163 node-parameters: false
1164 current-parameters: false
1165 predefined-parameters: |
1167 kill-phase-on: NEVER
1171 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1172 node-parameters: false
1173 current-parameters: false
1174 predefined-parameters: |
1176 kill-phase-on: NEVER
1180 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1181 node-parameters: false
1182 current-parameters: false
1183 predefined-parameters: |
1185 kill-phase-on: NEVER
1193 name: 'apex-create-snapshot'
1195 # Job template for clean
1197 # Required Variables:
1198 # stream: branch with - in place of / (eg. stable)
1204 !include-raw-escape: ./apex-snapshot-create.sh
1208 name: 'apex-upload-snapshot'
1210 # Job template for clean
1212 # Required Variables:
1213 # stream: branch with - in place of / (eg. stable)
1219 properties-content: ARTIFACT_TYPE=snapshot
1220 - 'apex-upload-artifact'
1224 name: 'apex-csit-promote-daily-{stream}'
1226 # Job template for promoting CSIT Snapshots
1228 # Required Variables:
1229 # stream: branch with - in place of / (eg. stable)
1230 # branch: branch (eg. stable)
1231 node: '{virtual-slave}'
1232 project-type: 'multijob'
1239 - project-parameter:
1240 project: '{project}'
1243 gs-pathname: '{gs-pathname}'
1247 use-build-blocker: true
1256 - timed: '0 12 * * 0'
1261 condition: SUCCESSFUL
1263 - name: 'apex-build-{stream}'
1264 current-parameters: false
1265 predefined-parameters: |
1266 GERRIT_BRANCH=$GERRIT_BRANCH
1267 GERRIT_REFSPEC=$GERRIT_REFSPEC
1268 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1269 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1270 node-parameters: false
1271 kill-phase-on: FAILURE
1275 name: deploy-virtual
1276 condition: SUCCESSFUL
1278 - name: 'apex-deploy-virtual-{stream}'
1279 current-parameters: false
1280 predefined-parameters: |
1281 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1283 GERRIT_BRANCH=$GERRIT_BRANCH
1284 GERRIT_REFSPEC=$GERRIT_REFSPEC
1285 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1286 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1288 node-parameters: true
1289 kill-phase-on: FAILURE
1293 name: functest-smoke
1294 condition: SUCCESSFUL
1296 - name: 'functest-apex-virtual-suite-{stream}'
1297 current-parameters: false
1298 predefined-parameters: |
1299 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1300 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1301 GERRIT_BRANCH=$GERRIT_BRANCH
1302 GERRIT_REFSPEC=$GERRIT_REFSPEC
1303 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1304 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1305 node-parameters: true
1306 kill-phase-on: FAILURE
1310 name: create snapshot
1311 condition: SUCCESSFUL
1313 - name: 'apex-create-snapshot'
1314 current-parameters: false
1315 predefined-parameters: |
1317 node-parameters: true
1318 kill-phase-on: FAILURE
1322 name: upload snapshot
1323 condition: SUCCESSFUL
1325 - name: 'apex-upload-snapshot'
1326 current-parameters: false
1327 predefined-parameters: |
1329 node-parameters: true
1330 kill-phase-on: FAILURE
1336 name: 'apex-fdio-promote-daily-{stream}'
1338 # Job template for promoting CSIT Snapshots
1340 # Required Variables:
1341 # stream: branch with - in place of / (eg. stable)
1342 # branch: branch (eg. stable)
1343 node: '{virtual-slave}'
1344 project-type: 'multijob'
1351 - project-parameter:
1352 project: '{project}'
1355 gs-pathname: '{gs-pathname}'
1359 use-build-blocker: true
1370 condition: SUCCESSFUL
1372 - name: 'apex-build-{stream}'
1373 current-parameters: false
1374 predefined-parameters: |
1375 GERRIT_BRANCH=$GERRIT_BRANCH
1376 GERRIT_REFSPEC=$GERRIT_REFSPEC
1377 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1378 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1379 node-parameters: false
1380 kill-phase-on: FAILURE
1384 name: deploy-virtual
1385 condition: SUCCESSFUL
1387 - name: 'apex-deploy-virtual-{stream}'
1388 current-parameters: false
1389 predefined-parameters: |
1390 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1392 GERRIT_BRANCH=$GERRIT_BRANCH
1393 GERRIT_REFSPEC=$GERRIT_REFSPEC
1394 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1395 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1397 node-parameters: true
1398 kill-phase-on: FAILURE
1402 name: create snapshot
1403 condition: SUCCESSFUL
1405 - name: 'apex-create-snapshot'
1406 current-parameters: false
1407 predefined-parameters: |
1409 node-parameters: true
1410 kill-phase-on: FAILURE
1414 name: upload snapshot
1415 condition: SUCCESSFUL
1417 - name: 'apex-upload-snapshot'
1418 current-parameters: false
1419 predefined-parameters: |
1421 node-parameters: true
1422 kill-phase-on: FAILURE
1426 ########################
1428 ########################
1430 name: apex-parameter
1435 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1437 name: ARTIFACT_VERSION
1439 description: "Artifact version type"
1441 name: BUILD_DIRECTORY
1442 default: $WORKSPACE/.build
1443 description: "Directory where the build artifact will be located upon the completion of the build."
1445 name: CACHE_DIRECTORY
1446 default: $HOME/opnfv/apex-cache{gs-pathname}
1447 description: "Directory where the cache to be used during the build is located."
1450 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1451 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1454 default: '{gs-pathname}'
1455 description: "Version directory where opnfv artifacts are stored in gs repository"
1458 default: $GS_BASE{gs-pathname}
1459 description: "URL to Google Storage."
1463 description: "Flag to know if we should promote/upload snapshot artifacts."
1465 ########################
1467 ########################
1469 name: 'apex-unit-test'
1472 !include-raw: ./apex-unit-test.sh
1478 !include-raw: ./apex-build.sh
1481 name: 'apex-workspace-cleanup'
1484 !include-raw: ./apex-workspace-cleanup.sh
1487 name: 'apex-iso-verify'
1490 !include-raw: ./apex-iso-verify.sh
1494 name: 'apex-upload-artifact'
1497 !include-raw: ./apex-upload-artifact.sh
1500 name: 'apex-download-artifact'
1503 !include-raw: ./apex-download-artifact.sh
1509 !include-raw: ./apex-deploy.sh
1511 #######################
1513 ########################
1517 - timed: '0 12 * * *'
1521 - timed: '0 3 1 1 7'