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':
124 name: 'apex-verify-unit-tests-{stream}'
126 node: '{build-slave}'
132 gs-pathname: '{gs-pathname}'
142 server-name: 'gerrit.opnfv.org'
144 - patchset-created-event:
145 exclude-drafts: 'false'
146 exclude-trivial-rebase: 'false'
147 exclude-no-code-change: 'true'
148 - draft-published-event
149 - comment-added-contains-event:
150 comment-contains-value: 'recheck'
151 - comment-added-contains-event:
152 comment-contains-value: 'reverify'
154 - project-compare-type: 'ANT'
155 project-pattern: 'apex'
157 - branch-compare-type: 'ANT'
158 branch-pattern: '**/{branch}'
171 !include-raw-escape: ./apex-unit-test.sh
175 name: 'apex-verify-{stream}'
177 node: '{virtual-slave}'
181 project-type: 'multijob'
185 gs-pathname: '{gs-pathname}/dev'
190 name: ARTIFACT_VERSION
192 description: "Used for overriding the ARTIFACT_VERSION"
198 server-name: 'gerrit.opnfv.org'
200 - patchset-created-event:
201 exclude-drafts: 'false'
202 exclude-trivial-rebase: 'false'
203 exclude-no-code-change: 'true'
204 - draft-published-event
205 - comment-added-contains-event:
206 comment-contains-value: 'recheck'
207 - comment-added-contains-event:
208 comment-contains-value: 'reverify'
210 - project-compare-type: 'ANT'
211 project-pattern: 'apex'
213 - branch-compare-type: 'ANT'
214 branch-pattern: '**/{branch}'
233 - description-setter:
234 description: "Built on $NODE_NAME"
237 condition: SUCCESSFUL
239 - name: 'apex-verify-unit-tests-{stream}'
240 current-parameters: false
241 predefined-parameters: |
242 GERRIT_BRANCH=$GERRIT_BRANCH
243 GERRIT_REFSPEC=$GERRIT_REFSPEC
244 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
245 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
246 node-parameters: false
247 kill-phase-on: FAILURE
252 condition: SUCCESSFUL
254 - name: 'apex-build-{stream}'
255 current-parameters: false
256 predefined-parameters: |
257 ARTIFACT_VERSION=$ARTIFACT_VERSION
258 GERRIT_BRANCH=$GERRIT_BRANCH
259 GERRIT_REFSPEC=$GERRIT_REFSPEC
260 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
261 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
262 node-parameters: false
263 kill-phase-on: FAILURE
268 condition: SUCCESSFUL
270 - name: 'apex-deploy-virtual-{stream}'
271 current-parameters: false
272 predefined-parameters: |
273 ARTIFACT_VERSION=$ARTIFACT_VERSION
274 DEPLOY_SCENARIO={verify-scenario}
276 GERRIT_BRANCH=$GERRIT_BRANCH
277 GERRIT_REFSPEC=$GERRIT_REFSPEC
278 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
279 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
280 node-parameters: true
281 kill-phase-on: FAILURE
286 condition: SUCCESSFUL
288 - name: 'functest-apex-virtual-suite-{stream}'
289 current-parameters: false
290 predefined-parameters: |
291 DEPLOY_SCENARIO={verify-scenario}
292 FUNCTEST_SUITE_NAME=healthcheck
293 GERRIT_BRANCH=$GERRIT_BRANCH
294 GERRIT_REFSPEC=$GERRIT_REFSPEC
295 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
296 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
297 node-parameters: true
302 # Verify Scenario Gate
304 name: 'apex-verify-gate-{stream}'
306 node: '{virtual-slave}'
310 project-type: 'multijob'
314 gs-pathname: '{gs-pathname}/dev'
320 default: https://gerrit.opnfv.org/gerrit/$PROJECT
321 description: "Used for overriding the GIT URL coming from parameters macro."
323 name: ARTIFACT_VERSION
325 description: "Used for overriding the ARTIFACT_VERSION"
332 server-name: 'gerrit.opnfv.org'
334 - comment-added-contains-event:
335 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
337 - project-compare-type: 'ANT'
338 project-pattern: 'apex'
340 - branch-compare-type: 'ANT'
341 branch-pattern: '**/{branch}'
362 condition: SUCCESSFUL
364 - name: 'apex-deploy-virtual-{stream}'
365 current-parameters: false
366 predefined-parameters: |
367 ARTIFACT_VERSION=$ARTIFACT_VERSION
370 GERRIT_BRANCH=$GERRIT_BRANCH
371 GERRIT_REFSPEC=$GERRIT_REFSPEC
372 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
373 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
374 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
375 node-parameters: true
376 kill-phase-on: FAILURE
381 condition: SUCCESSFUL
383 - name: 'functest-apex-virtual-suite-{stream}'
384 current-parameters: false
385 predefined-parameters: |
386 DEPLOY_SCENARIO={verify-scenario}
387 FUNCTEST_SUITE_NAME=healthcheck
388 GERRIT_BRANCH=$GERRIT_BRANCH
389 GERRIT_REFSPEC=$GERRIT_REFSPEC
390 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
391 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
392 node-parameters: true
398 name: 'apex-runner-cperf-{stream}'
401 project-type: 'multijob'
408 gs-pathname: '{gs-pathname}'
414 default: https://gerrit.opnfv.org/gerrit/$PROJECT
415 description: "Used for overriding the GIT URL coming from parameters macro."
423 use-build-blocker: false
433 - description-setter:
434 description: "Deployed on $NODE_NAME"
436 name: 'Baremetal Deploy'
439 - name: 'apex-deploy-baremetal-{stream}'
440 node-parameters: false
441 current-parameters: true
442 predefined-parameters: |
443 GERRIT_BRANCH=$GERRIT_BRANCH
446 DEPLOY_SCENARIO={verify-scenario}
447 kill-phase-on: FAILURE
452 condition: SUCCESSFUL
454 - name: 'cperf-apex-intel-pod2-daily-master'
455 node-parameters: true
456 current-parameters: false
457 predefined-parameters:
458 DEPLOY_SCENARIO={verify-scenario}
465 name: 'apex-build-{stream}'
467 # Job template for builds
469 # Required Variables:
470 # stream: branch with - in place of / (eg. stable)
471 # branch: branch (eg. stable)
472 node: '{build-slave}'
479 - '{project}-defaults'
484 gs-pathname: '{gs-pathname}'
497 max-per-node: {concurrent-builds}
501 use-build-blocker: true
504 - 'apex-verify-iso-{stream}'
509 properties-content: ARTIFACT_TYPE=rpm
510 - 'apex-upload-artifact'
514 name: 'apex-verify-iso-{stream}'
516 # Job template for builds
518 # Required Variables:
519 # stream: branch with - in place of / (eg. stable)
520 # branch: branch (eg. stable)
521 node: '{virtual-slave}'
532 gs-pathname: '{gs-pathname}'
535 default: https://gerrit.opnfv.org/gerrit/$PROJECT
536 description: "Used for overriding the GIT URL coming from parameters macro."
551 properties-content: ARTIFACT_TYPE=iso
552 - 'apex-upload-artifact'
556 name: 'apex-deploy-{platform}-{stream}'
558 node: 'apex-{platform}-{stream}'
573 - '{project}-{platform}-{stream}-defaults'
578 gs-pathname: '{gs-pathname}'
580 name: DEPLOY_SCENARIO
581 default: '{verify-scenario}'
582 description: "Scenario to deploy with."
586 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
591 use-build-blocker: true
604 - description-setter:
605 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
606 - 'apex-download-artifact'
608 - 'apex-workspace-cleanup'
611 # Baremetal Deploy and Test
613 name: 'apex-{scenario}-baremetal-{scenario_stream}'
615 project-type: 'multijob'
623 - '{project}-defaults'
624 - '{project}-baremetal-{scenario_stream}-defaults'
629 gs-pathname: '{gs-pathname}'
631 name: DEPLOY_SCENARIO
632 default: '{scenario}'
633 description: "Scenario to deploy with."
637 use-build-blocker: true
642 - 'apex-.*-promote.*'
644 - 'apex-.+-baremetal-.+'
650 - description-setter:
651 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
653 name: 'Baremetal Deploy'
656 - name: 'apex-deploy-baremetal-{scenario_stream}'
657 node-parameters: true
658 current-parameters: true
659 predefined-parameters: |
661 GERRIT_BRANCH=$GERRIT_BRANCH
663 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
664 kill-phase-on: FAILURE
668 name: 'OPNFV Test Suite'
669 condition: SUCCESSFUL
671 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
672 node-parameters: true
673 current-parameters: false
674 predefined-parameters:
675 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
683 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
685 project-type: 'multijob'
690 - '{project}-defaults'
691 - '{project}-baremetal-{scenario_stream}-defaults'
696 gs-pathname: '{gs-pathname}'
698 name: DEPLOY_SCENARIO
699 default: '{scenario}'
700 description: "Scenario to deploy with."
704 use-build-blocker: true
709 - 'apex-.*-promote.*'
711 - 'apex-testsuite-.+-baremetal-.+'
717 - description-setter:
718 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
723 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
724 node-parameters: true
725 current-parameters: false
726 predefined-parameters:
727 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
735 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
736 node-parameters: true
737 current-parameters: false
738 predefined-parameters:
739 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
747 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
748 node-parameters: true
749 current-parameters: false
750 predefined-parameters:
751 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
753 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
757 condition-kind: current-status
758 condition-worst: SUCCESS
759 condtion-best: SUCCESS
760 on-evaluation-failure: mark-unstable
762 - shell: 'echo "Tests Passed"'
763 # Build status is always success due conditional plugin prefetching
764 # build status before multijob phases execute
765 # - conditional-step:
766 # condition-kind: current-status
767 # condition-worst: SUCCESS
768 # condtion-best: SUCCESS
769 # on-evaluation-failure: mark-unstable
771 # - shell: 'echo "Tests Passed"'
776 !include-raw-escape: ./update-build-result.groovy
781 name: 'apex-daily-danube'
783 # Job template for daily build
785 # Required Variables:
786 # stream: branch with - in place of / (eg. stable)
787 # branch: branch (eg. stable)
788 project-type: 'multijob'
790 node: 'apex-baremetal-danube'
798 - '{project}-defaults'
799 - '{project}-baremetal-danube-defaults'
802 branch: 'stable/danube'
804 gs-pathname: '/danube'
815 condition: SUCCESSFUL
817 - name: 'apex-build-danube'
818 current-parameters: false
819 predefined-parameters: |
820 GERRIT_BRANCH=$GERRIT_BRANCH
822 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
823 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
824 node-parameters: true
825 kill-phase-on: FAILURE
829 name: 'Verify and upload ISO'
830 condition: SUCCESSFUL
832 - name: 'apex-verify-iso-danube'
833 current-parameters: false
834 predefined-parameters: |
835 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
836 GERRIT_BRANCH=$GERRIT_BRANCH
838 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
839 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
840 node-parameters: true
841 kill-phase-on: FAILURE
845 name: Baremetal Deploy and Test Phase
846 condition: SUCCESSFUL
849 - name: 'apex-os-nosdn-nofeature-noha-baremetal-danube'
850 node-parameters: false
851 current-parameters: false
852 predefined-parameters: |
858 - name: 'apex-os-nosdn-nofeature-ha-baremetal-danube'
859 node-parameters: false
860 current-parameters: false
861 predefined-parameters: |
867 - name: 'apex-os-nosdn-nofeature-ha-ipv6-baremetal-danube'
868 node-parameters: false
869 current-parameters: false
870 predefined-parameters: |
876 - name: 'apex-os-nosdn-ovs-noha-baremetal-danube'
877 node-parameters: false
878 current-parameters: false
879 predefined-parameters: |
885 - name: 'apex-os-nosdn-ovs-ha-baremetal-danube'
886 node-parameters: false
887 current-parameters: false
888 predefined-parameters: |
894 - name: 'apex-os-nosdn-fdio-noha-baremetal-danube'
895 node-parameters: false
896 current-parameters: false
897 predefined-parameters: |
903 - name: 'apex-os-nosdn-fdio-ha-baremetal-danube'
904 node-parameters: false
905 current-parameters: false
906 predefined-parameters: |
912 - name: 'apex-os-nosdn-kvm-ha-baremetal-danube'
913 node-parameters: false
914 current-parameters: false
915 predefined-parameters: |
921 - name: 'apex-os-nosdn-kvm-noha-baremetal-danube'
922 node-parameters: false
923 current-parameters: false
924 predefined-parameters: |
930 - name: 'apex-os-odl_l2-fdio-noha-baremetal-danube'
931 node-parameters: false
932 current-parameters: false
933 predefined-parameters: |
939 - name: 'apex-os-odl_l2-fdio-ha-baremetal-danube'
940 node-parameters: false
941 current-parameters: false
942 predefined-parameters: |
948 - name: 'apex-os-odl_netvirt-fdio-noha-baremetal-danube'
949 node-parameters: false
950 current-parameters: false
951 predefined-parameters: |
957 - name: 'apex-os-odl_l2-sfc-noha-baremetal-danube'
958 node-parameters: false
959 current-parameters: false
960 predefined-parameters: |
966 - name: 'apex-os-odl_l3-nofeature-noha-baremetal-danube'
967 node-parameters: false
968 current-parameters: false
969 predefined-parameters: |
975 - name: 'apex-os-odl_l3-nofeature-ha-baremetal-danube'
976 node-parameters: false
977 current-parameters: false
978 predefined-parameters: |
984 - name: 'apex-os-odl_l3-ovs-noha-baremetal-danube'
985 node-parameters: false
986 current-parameters: false
987 predefined-parameters: |
993 - name: 'apex-os-odl_l3-ovs-ha-baremetal-danube'
994 node-parameters: false
995 current-parameters: false
996 predefined-parameters: |
1002 - name: 'apex-os-odl-bgpvpn-ha-baremetal-danube'
1003 node-parameters: false
1004 current-parameters: false
1005 predefined-parameters: |
1007 kill-phase-on: NEVER
1011 - name: 'apex-os-odl-gluon-noha-baremetal-danube'
1012 node-parameters: false
1013 current-parameters: false
1014 predefined-parameters: |
1016 kill-phase-on: NEVER
1020 - name: 'apex-os-odl_l3-fdio-noha-baremetal-danube'
1021 node-parameters: false
1022 current-parameters: false
1023 predefined-parameters: |
1025 kill-phase-on: NEVER
1029 - name: 'apex-os-odl_l3-fdio-ha-baremetal-danube'
1030 node-parameters: false
1031 current-parameters: false
1032 predefined-parameters: |
1034 kill-phase-on: NEVER
1038 - name: 'apex-os-odl_l3-fdio_dvr-noha-baremetal-danube'
1039 node-parameters: false
1040 current-parameters: false
1041 predefined-parameters: |
1043 kill-phase-on: NEVER
1047 - name: 'apex-os-odl_l3-fdio_dvr-ha-baremetal-danube'
1048 node-parameters: false
1049 current-parameters: false
1050 predefined-parameters: |
1052 kill-phase-on: NEVER
1056 - name: 'apex-os-odl_l3-csit-noha-baremetal-danube'
1057 node-parameters: false
1058 current-parameters: false
1059 predefined-parameters: |
1061 kill-phase-on: NEVER
1065 - name: 'apex-os-onos-nofeature-ha-baremetal-danube'
1066 node-parameters: false
1067 current-parameters: false
1068 predefined-parameters: |
1070 kill-phase-on: NEVER
1074 - name: 'apex-os-ovn-nofeature-noha-baremetal-danube'
1075 node-parameters: false
1076 current-parameters: false
1077 predefined-parameters: |
1079 kill-phase-on: NEVER
1086 name: 'apex-daily-master'
1088 # Job template for daily build
1090 # Required Variables:
1091 # stream: branch with - in place of / (eg. stable)
1092 # branch: branch (eg. stable)
1093 project-type: 'multijob'
1095 node: 'apex-baremetal-master'
1103 - '{project}-defaults'
1104 - '{project}-baremetal-master-defaults'
1105 - project-parameter:
1106 project: '{project}'
1120 condition: SUCCESSFUL
1122 - name: 'apex-build-master'
1123 current-parameters: false
1124 predefined-parameters: |
1125 GERRIT_BRANCH=$GERRIT_BRANCH
1127 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1128 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1129 node-parameters: true
1130 kill-phase-on: FAILURE
1134 name: 'Verify and upload ISO'
1135 condition: SUCCESSFUL
1137 - name: 'apex-verify-iso-master'
1138 current-parameters: false
1139 predefined-parameters: |
1140 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1141 GERRIT_BRANCH=$GERRIT_BRANCH
1143 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1144 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1145 node-parameters: true
1146 kill-phase-on: FAILURE
1150 name: Baremetal Deploy and Test Phase
1151 condition: SUCCESSFUL
1154 - name: 'apex-os-nosdn-nofeature-noha-baremetal-master'
1155 node-parameters: false
1156 current-parameters: false
1157 predefined-parameters: |
1159 kill-phase-on: NEVER
1163 - name: 'apex-os-nosdn-nofeature-ha-baremetal-master'
1164 node-parameters: false
1165 current-parameters: false
1166 predefined-parameters: |
1168 kill-phase-on: NEVER
1172 - name: 'apex-os-odl-nofeature-ha-baremetal-master'
1173 node-parameters: false
1174 current-parameters: false
1175 predefined-parameters: |
1177 kill-phase-on: NEVER
1181 - name: 'apex-os-odl-nofeature-noha-baremetal-master'
1182 node-parameters: false
1183 current-parameters: false
1184 predefined-parameters: |
1186 kill-phase-on: NEVER
1190 - name: 'apex-os-odl-bgpvpn-ha-baremetal-master'
1191 node-parameters: false
1192 current-parameters: false
1193 predefined-parameters: |
1195 kill-phase-on: NEVER
1199 - name: 'apex-os-ovn-nofeature-noha-baremetal-master'
1200 node-parameters: false
1201 current-parameters: false
1202 predefined-parameters: |
1204 kill-phase-on: NEVER
1208 - name: 'apex-os-nosdn-fdio-noha-baremetal-master'
1209 node-parameters: false
1210 current-parameters: false
1211 predefined-parameters: |
1213 kill-phase-on: NEVER
1217 - name: 'apex-os-nosdn-fdio-ha-baremetal-master'
1218 node-parameters: false
1219 current-parameters: false
1220 predefined-parameters: |
1222 kill-phase-on: NEVER
1226 - name: 'apex-os-odl-fdio-noha-baremetal-master'
1227 node-parameters: false
1228 current-parameters: false
1229 predefined-parameters: |
1231 kill-phase-on: NEVER
1235 - name: 'apex-os-odl-fdio-ha-baremetal-master'
1236 node-parameters: false
1237 current-parameters: false
1238 predefined-parameters: |
1240 kill-phase-on: NEVER
1248 name: 'apex-create-snapshot'
1250 # Job template for clean
1252 # Required Variables:
1253 # stream: branch with - in place of / (eg. stable)
1259 !include-raw-escape: ./apex-snapshot-create.sh
1263 name: 'apex-upload-snapshot'
1265 # Job template for clean
1267 # Required Variables:
1268 # stream: branch with - in place of / (eg. stable)
1274 properties-content: ARTIFACT_TYPE=snapshot
1275 - 'apex-upload-artifact'
1279 name: 'apex-csit-promote-daily-{stream}'
1281 # Job template for promoting CSIT Snapshots
1283 # Required Variables:
1284 # stream: branch with - in place of / (eg. stable)
1285 # branch: branch (eg. stable)
1286 node: '{virtual-slave}'
1287 project-type: 'multijob'
1294 - project-parameter:
1295 project: '{project}'
1298 gs-pathname: '{gs-pathname}'
1302 use-build-blocker: true
1311 - timed: '0 12 * * 0'
1316 condition: SUCCESSFUL
1318 - name: 'apex-build-{stream}'
1319 current-parameters: false
1320 predefined-parameters: |
1321 GERRIT_BRANCH=$GERRIT_BRANCH
1322 GERRIT_REFSPEC=$GERRIT_REFSPEC
1323 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1324 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1325 node-parameters: false
1326 kill-phase-on: FAILURE
1330 name: deploy-virtual
1331 condition: SUCCESSFUL
1333 - name: 'apex-deploy-virtual-{stream}'
1334 current-parameters: false
1335 predefined-parameters: |
1336 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1338 GERRIT_BRANCH=$GERRIT_BRANCH
1339 GERRIT_REFSPEC=$GERRIT_REFSPEC
1340 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1341 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1343 node-parameters: true
1344 kill-phase-on: FAILURE
1348 name: functest-smoke
1349 condition: SUCCESSFUL
1351 - name: 'functest-apex-virtual-suite-{stream}'
1352 current-parameters: false
1353 predefined-parameters: |
1354 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1355 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1356 GERRIT_BRANCH=$GERRIT_BRANCH
1357 GERRIT_REFSPEC=$GERRIT_REFSPEC
1358 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1359 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1360 node-parameters: true
1361 kill-phase-on: FAILURE
1365 name: create snapshot
1366 condition: SUCCESSFUL
1368 - name: 'apex-create-snapshot'
1369 current-parameters: false
1370 predefined-parameters: |
1372 node-parameters: true
1373 kill-phase-on: FAILURE
1377 name: upload snapshot
1378 condition: SUCCESSFUL
1380 - name: 'apex-upload-snapshot'
1381 current-parameters: false
1382 predefined-parameters: |
1384 node-parameters: true
1385 kill-phase-on: FAILURE
1391 name: 'apex-fdio-promote-daily-{stream}'
1393 # Job template for promoting CSIT Snapshots
1395 # Required Variables:
1396 # stream: branch with - in place of / (eg. stable)
1397 # branch: branch (eg. stable)
1398 node: '{virtual-slave}'
1399 project-type: 'multijob'
1406 - project-parameter:
1407 project: '{project}'
1410 gs-pathname: '{gs-pathname}'
1414 use-build-blocker: true
1425 condition: SUCCESSFUL
1427 - name: 'apex-build-{stream}'
1428 current-parameters: false
1429 predefined-parameters: |
1430 GERRIT_BRANCH=$GERRIT_BRANCH
1431 GERRIT_REFSPEC=$GERRIT_REFSPEC
1432 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1433 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1434 node-parameters: false
1435 kill-phase-on: FAILURE
1439 name: deploy-virtual
1440 condition: SUCCESSFUL
1442 - name: 'apex-deploy-virtual-{stream}'
1443 current-parameters: false
1444 predefined-parameters: |
1445 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1447 GERRIT_BRANCH=$GERRIT_BRANCH
1448 GERRIT_REFSPEC=$GERRIT_REFSPEC
1449 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1450 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1452 node-parameters: true
1453 kill-phase-on: FAILURE
1457 name: create snapshot
1458 condition: SUCCESSFUL
1460 - name: 'apex-create-snapshot'
1461 current-parameters: false
1462 predefined-parameters: |
1464 node-parameters: true
1465 kill-phase-on: FAILURE
1469 name: upload snapshot
1470 condition: SUCCESSFUL
1472 - name: 'apex-upload-snapshot'
1473 current-parameters: false
1474 predefined-parameters: |
1476 node-parameters: true
1477 kill-phase-on: FAILURE
1481 ########################
1483 ########################
1485 name: apex-parameter
1490 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1492 name: ARTIFACT_VERSION
1494 description: "Artifact version type"
1496 name: BUILD_DIRECTORY
1497 default: $WORKSPACE/.build
1498 description: "Directory where the build artifact will be located upon the completion of the build."
1500 name: CACHE_DIRECTORY
1501 default: $HOME/opnfv/apex-cache{gs-pathname}
1502 description: "Directory where the cache to be used during the build is located."
1505 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1506 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1509 default: '{gs-pathname}'
1510 description: "Version directory where opnfv artifacts are stored in gs repository"
1513 default: $GS_BASE{gs-pathname}
1514 description: "URL to Google Storage."
1518 description: "Flag to know if we should promote/upload snapshot artifacts."
1520 ########################
1522 ########################
1524 name: 'apex-unit-test'
1527 !include-raw: ./apex-unit-test.sh
1533 !include-raw: ./apex-build.sh
1536 name: 'apex-workspace-cleanup'
1539 !include-raw: ./apex-workspace-cleanup.sh
1542 name: 'apex-iso-verify'
1545 !include-raw: ./apex-iso-verify.sh
1549 name: 'apex-upload-artifact'
1552 !include-raw: ./apex-upload-artifact.sh
1555 name: 'apex-download-artifact'
1558 !include-raw: ./apex-download-artifact.sh
1564 !include-raw: ./apex-deploy.sh
1566 #######################
1568 ########################
1572 - timed: '0 12 * * *'
1576 - timed: '0 3 1 1 7'