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-run-deploy-test-baremetal-{stream}'
17 - 'apex-upload-snapshot'
18 - 'apex-create-snapshot'
19 # stream: branch with - in place of / (eg. stable-arno)
20 # branch: branch (eg. stable/arno)
25 build-slave: 'apex-build-master'
26 virtual-slave: 'apex-virtual-master'
27 baremetal-slave: 'apex-baremetal-master'
28 verify-scenario: 'os-odl-nofeature-ha'
31 branch: 'stable/danube'
32 gs-pathname: '/danube'
33 build-slave: 'apex-build-danube'
34 virtual-slave: 'apex-virtual-danube'
35 baremetal-slave: 'apex-baremetal-danube'
36 verify-scenario: 'os-odl_l3-nofeature-ha'
45 name: 'apex-verify-unit-tests-{stream}'
53 gs-pathname: '{gs-pathname}'
63 server-name: 'gerrit.opnfv.org'
65 - patchset-created-event:
66 exclude-drafts: 'false'
67 exclude-trivial-rebase: 'false'
68 exclude-no-code-change: 'true'
69 - draft-published-event
70 - comment-added-contains-event:
71 comment-contains-value: 'recheck'
72 - comment-added-contains-event:
73 comment-contains-value: 'reverify'
75 - project-compare-type: 'ANT'
76 project-pattern: 'apex'
78 - branch-compare-type: 'ANT'
79 branch-pattern: '**/{branch}'
92 !include-raw-escape: ./apex-unit-test.sh
96 name: 'apex-verify-{stream}'
98 node: '{virtual-slave}'
102 project-type: 'multijob'
106 gs-pathname: '{gs-pathname}/dev'
111 name: ARTIFACT_VERSION
113 description: "Used for overriding the ARTIFACT_VERSION"
119 server-name: 'gerrit.opnfv.org'
121 - patchset-created-event:
122 exclude-drafts: 'false'
123 exclude-trivial-rebase: 'false'
124 exclude-no-code-change: 'true'
125 - draft-published-event
126 - comment-added-contains-event:
127 comment-contains-value: 'recheck'
128 - comment-added-contains-event:
129 comment-contains-value: 'reverify'
131 - project-compare-type: 'ANT'
132 project-pattern: 'apex'
134 - branch-compare-type: 'ANT'
135 branch-pattern: '**/{branch}'
149 use-build-blocker: true
161 - description-setter:
162 description: "Built on $NODE_NAME"
165 condition: SUCCESSFUL
167 - name: 'apex-verify-unit-tests-{stream}'
168 current-parameters: false
169 predefined-parameters: |
170 GERRIT_BRANCH=$GERRIT_BRANCH
171 GERRIT_REFSPEC=$GERRIT_REFSPEC
172 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
173 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
174 node-parameters: false
175 kill-phase-on: FAILURE
180 condition: SUCCESSFUL
182 - name: 'apex-build-{stream}'
183 current-parameters: false
184 predefined-parameters: |
185 ARTIFACT_VERSION=$ARTIFACT_VERSION
186 GERRIT_BRANCH=$GERRIT_BRANCH
187 GERRIT_REFSPEC=$GERRIT_REFSPEC
188 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
189 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
190 node-parameters: false
191 kill-phase-on: FAILURE
196 condition: SUCCESSFUL
198 - name: 'apex-deploy-virtual-{stream}'
199 current-parameters: false
200 predefined-parameters: |
201 ARTIFACT_VERSION=$ARTIFACT_VERSION
202 DEPLOY_SCENARIO={verify-scenario}
204 GERRIT_BRANCH=$GERRIT_BRANCH
205 GERRIT_REFSPEC=$GERRIT_REFSPEC
206 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
207 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
208 node-parameters: true
209 kill-phase-on: FAILURE
213 # name: functest-smoke
214 # condition: SUCCESSFUL
216 # - name: 'functest-apex-virtual-suite-{stream}'
217 # current-parameters: false
218 # predefined-parameters: |
219 # DEPLOY_SCENARIO={verify-scenario}
220 # FUNCTEST_SUITE_NAME=healthcheck
221 # GERRIT_BRANCH=$GERRIT_BRANCH
222 # GERRIT_REFSPEC=$GERRIT_REFSPEC
223 # GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
224 # GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
225 # node-parameters: true
226 # kill-phase-on: FAILURE
227 # abort-all-job: true
228 # git-revision: false
230 # Verify Scenario Gate
232 name: 'apex-verify-gate-{stream}'
234 node: '{virtual-slave}'
238 project-type: 'multijob'
242 gs-pathname: '{gs-pathname}/dev'
248 default: https://gerrit.opnfv.org/gerrit/$PROJECT
249 description: "Used for overriding the GIT URL coming from parameters macro."
251 name: ARTIFACT_VERSION
253 description: "Used for overriding the ARTIFACT_VERSION"
260 server-name: 'gerrit.opnfv.org'
262 - comment-added-contains-event:
263 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
265 - project-compare-type: 'ANT'
266 project-pattern: 'apex'
268 - branch-compare-type: 'ANT'
269 branch-pattern: '**/{branch}'
283 use-build-blocker: true
297 condition: SUCCESSFUL
299 - name: 'apex-deploy-virtual-{stream}'
300 current-parameters: false
301 predefined-parameters: |
302 ARTIFACT_VERSION=$ARTIFACT_VERSION
305 GERRIT_BRANCH=$GERRIT_BRANCH
306 GERRIT_REFSPEC=$GERRIT_REFSPEC
307 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
308 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
309 node-parameters: true
310 kill-phase-on: FAILURE
314 # name: functest-smoke
315 # condition: SUCCESSFUL
317 # - name: 'functest-apex-virtual-suite-{stream}'
318 # current-parameters: false
319 # predefined-parameters: |
320 # DEPLOY_SCENARIO={verify-scenario}
321 # FUNCTEST_SUITE_NAME=healthcheck
322 # GERRIT_BRANCH=$GERRIT_BRANCH
323 # GERRIT_REFSPEC=$GERRIT_REFSPEC
324 # GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
325 # GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
326 # node-parameters: true
327 # kill-phase-on: FAILURE
328 # abort-all-job: true
329 # git-revision: false
332 name: 'apex-runner-cperf-{stream}'
335 project-type: 'multijob'
342 gs-pathname: '{gs-pathname}'
348 default: https://gerrit.opnfv.org/gerrit/$PROJECT
349 description: "Used for overriding the GIT URL coming from parameters macro."
357 use-build-blocker: false
367 - description-setter:
368 description: "Deployed on $NODE_NAME"
370 name: 'Baremetal Deploy'
373 - name: 'apex-deploy-baremetal-{stream}'
374 node-parameters: false
375 current-parameters: true
376 predefined-parameters: |
377 GERRIT_BRANCH=$GERRIT_BRANCH
380 DEPLOY_SCENARIO={verify-scenario}
381 kill-phase-on: FAILURE
386 condition: SUCCESSFUL
388 - name: 'cperf-apex-intel-pod2-daily-master'
389 node-parameters: true
390 current-parameters: false
391 predefined-parameters:
392 DEPLOY_SCENARIO={verify-scenario}
399 name: 'apex-build-{stream}'
401 # Job template for builds
403 # Required Variables:
404 # stream: branch with - in place of / (eg. stable)
405 # branch: branch (eg. stable)
406 node: '{build-slave}'
413 - '{project}-defaults'
418 gs-pathname: '{gs-pathname}'
438 properties-content: ARTIFACT_TYPE=rpm
439 - 'apex-upload-artifact'
443 name: 'apex-verify-iso-{stream}'
445 # Job template for builds
447 # Required Variables:
448 # stream: branch with - in place of / (eg. stable)
449 # branch: branch (eg. stable)
450 node: '{virtual-slave}'
461 gs-pathname: '{gs-pathname}'
464 default: https://gerrit.opnfv.org/gerrit/$PROJECT
465 description: "Used for overriding the GIT URL coming from parameters macro."
473 use-build-blocker: true
485 properties-content: ARTIFACT_TYPE=iso
486 - 'apex-upload-artifact'
490 name: 'apex-deploy-{platform}-{stream}'
492 # Job template for virtual deployment
494 # Required Variables:
495 # stream: branch with - in place of / (eg. stable)
496 # branch: branch (eg. stable)
497 node: 'apex-{platform}-{stream}'
516 gs-pathname: '{gs-pathname}'
518 name: DEPLOY_SCENARIO
519 default: '{verify-scenario}'
520 description: "Scenario to deploy with."
524 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
529 use-build-blocker: true
541 - description-setter:
542 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
543 - 'apex-download-artifact'
545 - 'apex-workspace-cleanup'
548 # Baremetal Deploy and Test
550 name: 'apex-run-deploy-test-baremetal-{stream}'
552 # Job template for daily build
554 # Required Variables:
555 # stream: branch with - in place of / (eg. stable)
556 # branch: branch (eg. stable)
557 project-type: 'multijob'
565 - '{project}-defaults'
566 - '{project}-baremetal-{stream}-defaults'
571 gs-pathname: '{gs-pathname}'
573 name: DEPLOY_SCENARIO
574 default: '{verify-scenario}'
575 description: "Scenario to deploy with."
579 use-build-blocker: true
584 - 'apex-.*-promote.*'
587 - description-setter:
588 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
590 name: 'Baremetal Deploy'
593 - name: 'apex-deploy-baremetal-{stream}'
594 node-parameters: true
595 current-parameters: true
596 predefined-parameters: |
598 GERRIT_BRANCH=$GERRIT_BRANCH
600 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
601 kill-phase-on: FAILURE
608 - name: 'functest-apex-baremetal-daily-{stream}'
609 node-parameters: true
610 current-parameters: false
611 predefined-parameters:
612 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
620 - name: 'yardstick-apex-baremetal-daily-{stream}'
621 node-parameters: true
622 current-parameters: false
623 predefined-parameters:
624 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
632 name: 'apex-daily-danube'
634 # Job template for daily build
636 # Required Variables:
637 # stream: branch with - in place of / (eg. stable)
638 # branch: branch (eg. stable)
639 project-type: 'multijob'
641 node: 'apex-baremetal-danube'
649 - '{project}-defaults'
650 - '{project}-baremetal-danube-defaults'
653 branch: 'stable/danube'
655 gs-pathname: '/danube'
666 condition: SUCCESSFUL
668 - name: 'apex-build-danube'
669 current-parameters: false
670 predefined-parameters: |
671 GERRIT_BRANCH=$GERRIT_BRANCH
673 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
674 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
675 node-parameters: true
676 kill-phase-on: FAILURE
680 name: 'Verify and upload ISO'
681 condition: SUCCESSFUL
683 - name: 'apex-verify-iso-danube'
684 current-parameters: false
685 predefined-parameters: |
686 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
687 GERRIT_BRANCH=$GERRIT_BRANCH
689 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
690 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
691 node-parameters: true
692 kill-phase-on: FAILURE
696 name: Baremetal Deploy and Test Phase
697 condition: SUCCESSFUL
700 - name: 'apex-run-deploy-test-baremetal-danube'
701 node-parameters: false
702 current-parameters: false
703 predefined-parameters: |
704 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
710 - name: 'apex-run-deploy-test-baremetal-danube'
711 node-parameters: false
712 current-parameters: false
713 predefined-parameters: |
714 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
720 - name: 'apex-run-deploy-test-baremetal-danube'
721 node-parameters: false
722 current-parameters: false
723 predefined-parameters: |
724 DEPLOY_SCENARIO=os-nosdn-nofeature-ha-ipv6
730 - name: 'apex-run-deploy-test-baremetal-danube'
731 node-parameters: false
732 current-parameters: false
733 predefined-parameters: |
734 DEPLOY_SCENARIO=os-nosdn-ovs-noha
740 - name: 'apex-run-deploy-test-baremetal-danube'
741 node-parameters: false
742 current-parameters: false
743 predefined-parameters: |
744 DEPLOY_SCENARIO=os-nosdn-ovs-ha
750 - name: 'apex-run-deploy-test-baremetal-danube'
751 node-parameters: false
752 current-parameters: false
753 predefined-parameters: |
754 DEPLOY_SCENARIO=os-nosdn-fdio-noha
760 - name: 'apex-run-deploy-test-baremetal-danube'
761 node-parameters: false
762 current-parameters: false
763 predefined-parameters: |
764 DEPLOY_SCENARIO=os-nosdn-fdio-ha
770 - name: 'apex-run-deploy-test-baremetal-danube'
771 node-parameters: false
772 current-parameters: false
773 predefined-parameters: |
774 DEPLOY_SCENARIO=os-nosdn-kvm-ha
780 - name: 'apex-run-deploy-test-baremetal-danube'
781 node-parameters: false
782 current-parameters: false
783 predefined-parameters: |
784 DEPLOY_SCENARIO=os-nosdn-kvm-noha
790 - name: 'apex-run-deploy-test-baremetal-danube'
791 node-parameters: false
792 current-parameters: false
793 predefined-parameters: |
794 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
800 - name: 'apex-run-deploy-test-baremetal-danube'
801 node-parameters: false
802 current-parameters: false
803 predefined-parameters: |
804 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
810 - name: 'apex-run-deploy-test-baremetal-danube'
811 node-parameters: false
812 current-parameters: false
813 predefined-parameters: |
814 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
820 - name: 'apex-run-deploy-test-baremetal-danube'
821 node-parameters: false
822 current-parameters: false
823 predefined-parameters: |
824 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
830 - name: 'apex-run-deploy-test-baremetal-danube'
831 node-parameters: false
832 current-parameters: false
833 predefined-parameters: |
834 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
840 - name: 'apex-run-deploy-test-baremetal-danube'
841 node-parameters: false
842 current-parameters: false
843 predefined-parameters: |
844 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
850 - name: 'apex-run-deploy-test-baremetal-danube'
851 node-parameters: false
852 current-parameters: false
853 predefined-parameters: |
854 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
860 - name: 'apex-run-deploy-test-baremetal-danube'
861 node-parameters: false
862 current-parameters: false
863 predefined-parameters: |
864 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
870 - name: 'apex-run-deploy-test-baremetal-danube'
871 node-parameters: false
872 current-parameters: false
873 predefined-parameters: |
874 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
880 - name: 'apex-run-deploy-test-baremetal-danube'
881 node-parameters: false
882 current-parameters: false
883 predefined-parameters: |
884 DEPLOY_SCENARIO=os-odl-gluon-noha
890 - name: 'apex-run-deploy-test-baremetal-danube'
891 node-parameters: false
892 current-parameters: false
893 predefined-parameters: |
894 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
900 - name: 'apex-run-deploy-test-baremetal-danube'
901 node-parameters: false
902 current-parameters: false
903 predefined-parameters: |
904 DEPLOY_SCENARIO=os-odl_l3-fdio-ha
910 - name: 'apex-run-deploy-test-baremetal-danube'
911 node-parameters: false
912 current-parameters: false
913 predefined-parameters: |
914 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-noha
920 - name: 'apex-run-deploy-test-baremetal-danube'
921 node-parameters: false
922 current-parameters: false
923 predefined-parameters: |
924 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-ha
930 - name: 'apex-run-deploy-test-baremetal-danube'
931 node-parameters: false
932 current-parameters: false
933 predefined-parameters: |
934 DEPLOY_SCENARIO=os-odl_l3-csit-noha
940 - name: 'apex-run-deploy-test-baremetal-danube'
941 node-parameters: false
942 current-parameters: false
943 predefined-parameters: |
944 DEPLOY_SCENARIO=os-onos-nofeature-ha
950 - name: 'apex-run-deploy-test-baremetal-danube'
951 node-parameters: false
952 current-parameters: false
953 predefined-parameters: |
954 DEPLOY_SCENARIO=os-ovn-nofeature-noha
963 name: 'apex-daily-master'
965 # Job template for daily build
967 # Required Variables:
968 # stream: branch with - in place of / (eg. stable)
969 # branch: branch (eg. stable)
970 project-type: 'multijob'
972 node: 'apex-baremetal-master'
980 - '{project}-defaults'
981 - '{project}-baremetal-master-defaults'
997 condition: SUCCESSFUL
999 - name: 'apex-build-master'
1000 current-parameters: false
1001 predefined-parameters: |
1002 GERRIT_BRANCH=$GERRIT_BRANCH
1004 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1005 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1006 node-parameters: true
1007 kill-phase-on: FAILURE
1011 name: 'Verify and upload ISO'
1012 condition: SUCCESSFUL
1014 - name: 'apex-verify-iso-master'
1015 current-parameters: false
1016 predefined-parameters: |
1017 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1018 GERRIT_BRANCH=$GERRIT_BRANCH
1020 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1021 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1022 node-parameters: true
1023 kill-phase-on: FAILURE
1027 name: Baremetal Deploy and Test Phase
1028 condition: SUCCESSFUL
1031 - name: 'apex-run-deploy-test-baremetal-master'
1032 node-parameters: false
1033 current-parameters: false
1034 predefined-parameters: |
1035 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1037 kill-phase-on: NEVER
1041 - name: 'apex-run-deploy-test-baremetal-master'
1042 node-parameters: false
1043 current-parameters: false
1044 predefined-parameters: |
1045 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
1047 kill-phase-on: NEVER
1051 - name: 'apex-run-deploy-test-baremetal-master'
1052 node-parameters: false
1053 current-parameters: false
1054 predefined-parameters: |
1055 DEPLOY_SCENARIO=os-odl-nofeature-ha
1057 kill-phase-on: NEVER
1061 - name: 'apex-run-deploy-test-baremetal-master'
1062 node-parameters: false
1063 current-parameters: false
1064 predefined-parameters: |
1065 DEPLOY_SCENARIO=os-odl-nofeature-noha
1067 kill-phase-on: NEVER
1075 name: 'apex-create-snapshot'
1077 # Job template for clean
1079 # Required Variables:
1080 # stream: branch with - in place of / (eg. stable)
1086 !include-raw-escape: ./apex-snapshot-create.sh
1090 name: 'apex-upload-snapshot'
1092 # Job template for clean
1094 # Required Variables:
1095 # stream: branch with - in place of / (eg. stable)
1101 properties-content: ARTIFACT_TYPE=snapshot
1102 - 'apex-upload-artifact'
1106 name: 'apex-csit-promote-daily-{stream}'
1108 # Job template for promoting CSIT Snapshots
1110 # Required Variables:
1111 # stream: branch with - in place of / (eg. stable)
1112 # branch: branch (eg. stable)
1113 node: '{virtual-slave}'
1114 project-type: 'multijob'
1121 - project-parameter:
1122 project: '{project}'
1125 gs-pathname: '{gs-pathname}'
1129 use-build-blocker: true
1138 - timed: '0 12 * * 0'
1143 condition: SUCCESSFUL
1145 - name: 'apex-build-{stream}'
1146 current-parameters: false
1147 predefined-parameters: |
1148 GERRIT_BRANCH=$GERRIT_BRANCH
1149 GERRIT_REFSPEC=$GERRIT_REFSPEC
1150 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1151 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1152 node-parameters: false
1153 kill-phase-on: FAILURE
1157 name: deploy-virtual
1158 condition: SUCCESSFUL
1160 - name: 'apex-deploy-virtual-{stream}'
1161 current-parameters: false
1162 predefined-parameters: |
1163 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1165 GERRIT_BRANCH=$GERRIT_BRANCH
1166 GERRIT_REFSPEC=$GERRIT_REFSPEC
1167 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1168 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1170 node-parameters: true
1171 kill-phase-on: FAILURE
1175 name: functest-smoke
1176 condition: SUCCESSFUL
1178 - name: 'functest-apex-virtual-suite-{stream}'
1179 current-parameters: false
1180 predefined-parameters: |
1181 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1182 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1183 GERRIT_BRANCH=$GERRIT_BRANCH
1184 GERRIT_REFSPEC=$GERRIT_REFSPEC
1185 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1186 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1187 node-parameters: true
1188 kill-phase-on: FAILURE
1192 name: create snapshot
1193 condition: SUCCESSFUL
1195 - name: 'apex-create-snapshot'
1196 current-parameters: true
1197 node-parameters: true
1198 kill-phase-on: FAILURE
1202 name: upload snapshot
1203 condition: SUCCESSFUL
1205 - name: 'apex-upload-snapshot'
1206 current-parameters: true
1207 node-parameters: true
1208 kill-phase-on: FAILURE
1214 name: 'apex-fdio-promote-daily-{stream}'
1216 # Job template for promoting CSIT Snapshots
1218 # Required Variables:
1219 # stream: branch with - in place of / (eg. stable)
1220 # branch: branch (eg. stable)
1221 node: '{virtual-slave}'
1222 project-type: 'multijob'
1229 - project-parameter:
1230 project: '{project}'
1233 gs-pathname: '{gs-pathname}'
1237 use-build-blocker: true
1248 condition: SUCCESSFUL
1250 - name: 'apex-build-{stream}'
1251 current-parameters: false
1252 predefined-parameters: |
1253 GERRIT_BRANCH=$GERRIT_BRANCH
1254 GERRIT_REFSPEC=$GERRIT_REFSPEC
1255 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1256 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1257 node-parameters: false
1258 kill-phase-on: FAILURE
1262 name: deploy-virtual
1263 condition: SUCCESSFUL
1265 - name: 'apex-deploy-virtual-{stream}'
1266 current-parameters: false
1267 predefined-parameters: |
1268 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
1270 GERRIT_BRANCH=$GERRIT_BRANCH
1271 GERRIT_REFSPEC=$GERRIT_REFSPEC
1272 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1273 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1275 node-parameters: true
1276 kill-phase-on: FAILURE
1280 name: create snapshot
1281 condition: SUCCESSFUL
1283 - name: 'apex-create-snapshot'
1284 current-parameters: true
1285 node-parameters: true
1286 kill-phase-on: FAILURE
1290 name: upload snapshot
1291 condition: SUCCESSFUL
1293 - name: 'apex-upload-snapshot'
1294 current-parameters: true
1295 node-parameters: true
1296 kill-phase-on: FAILURE
1300 ########################
1302 ########################
1304 name: apex-parameter
1309 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1311 name: ARTIFACT_VERSION
1313 description: "Artifact version type"
1315 name: BUILD_DIRECTORY
1316 default: $WORKSPACE/.build
1317 description: "Directory where the build artifact will be located upon the completion of the build."
1319 name: CACHE_DIRECTORY
1320 default: $HOME/opnfv/apex-cache{gs-pathname}
1321 description: "Directory where the cache to be used during the build is located."
1324 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1325 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1328 default: '{gs-pathname}'
1329 description: "Version directory where opnfv artifacts are stored in gs repository"
1332 default: $GS_BASE{gs-pathname}
1333 description: "URL to Google Storage."
1337 description: "Flag to know if we should promote/upload snapshot artifacts."
1339 ########################
1341 ########################
1343 name: 'apex-unit-test'
1346 !include-raw: ./apex-unit-test.sh
1352 !include-raw: ./apex-build.sh
1355 name: 'apex-workspace-cleanup'
1358 !include-raw: ./apex-workspace-cleanup.sh
1361 name: 'apex-iso-verify'
1364 !include-raw: ./apex-iso-verify.sh
1368 name: 'apex-upload-artifact'
1371 !include-raw: ./apex-upload-artifact.sh
1374 name: 'apex-download-artifact'
1377 !include-raw: ./apex-download-artifact.sh
1383 !include-raw: ./apex-deploy.sh
1385 #######################
1387 ########################
1391 - timed: '0 3 1 1 7'
1395 - timed: '0 12 * * *'