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-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
162 - description-setter:
163 description: "Built on $NODE_NAME"
166 condition: SUCCESSFUL
168 - name: 'apex-verify-unit-tests-{stream}'
169 current-parameters: false
170 predefined-parameters: |
171 GERRIT_BRANCH=$GERRIT_BRANCH
172 GERRIT_REFSPEC=$GERRIT_REFSPEC
173 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
174 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
175 node-parameters: false
176 kill-phase-on: FAILURE
181 condition: SUCCESSFUL
183 - name: 'apex-build-{stream}'
184 current-parameters: false
185 predefined-parameters: |
186 ARTIFACT_VERSION=$ARTIFACT_VERSION
187 GERRIT_BRANCH=$GERRIT_BRANCH
188 GERRIT_REFSPEC=$GERRIT_REFSPEC
189 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
190 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
191 node-parameters: false
192 kill-phase-on: FAILURE
197 condition: SUCCESSFUL
199 - name: 'apex-deploy-virtual-{stream}'
200 current-parameters: false
201 predefined-parameters: |
202 ARTIFACT_VERSION=$ARTIFACT_VERSION
203 DEPLOY_SCENARIO={verify-scenario}
205 GERRIT_BRANCH=$GERRIT_BRANCH
206 GERRIT_REFSPEC=$GERRIT_REFSPEC
207 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
208 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
209 node-parameters: true
210 kill-phase-on: FAILURE
215 condition: SUCCESSFUL
217 - name: 'functest-apex-virtual-suite-{stream}'
218 current-parameters: false
219 predefined-parameters: |
220 DEPLOY_SCENARIO={verify-scenario}
221 FUNCTEST_SUITE_NAME=healthcheck
222 GERRIT_BRANCH=$GERRIT_BRANCH
223 GERRIT_REFSPEC=$GERRIT_REFSPEC
224 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
225 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
226 node-parameters: true
227 kill-phase-on: FAILURE
231 # Verify Scenario Gate
233 name: 'apex-verify-gate-{stream}'
235 node: '{virtual-slave}'
239 project-type: 'multijob'
243 gs-pathname: '{gs-pathname}/dev'
249 default: https://gerrit.opnfv.org/gerrit/$PROJECT
250 description: "Used for overriding the GIT URL coming from parameters macro."
252 name: ARTIFACT_VERSION
254 description: "Used for overriding the ARTIFACT_VERSION"
261 server-name: 'gerrit.opnfv.org'
263 - comment-added-contains-event:
264 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
266 - project-compare-type: 'ANT'
267 project-pattern: 'apex'
269 - branch-compare-type: 'ANT'
270 branch-pattern: '**/{branch}'
284 use-build-blocker: true
300 condition: SUCCESSFUL
302 - name: 'apex-deploy-virtual-{stream}'
303 current-parameters: false
304 predefined-parameters: |
305 ARTIFACT_VERSION=$ARTIFACT_VERSION
308 GERRIT_BRANCH=$GERRIT_BRANCH
309 GERRIT_REFSPEC=$GERRIT_REFSPEC
310 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
311 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
312 node-parameters: true
313 kill-phase-on: FAILURE
318 condition: SUCCESSFUL
320 - name: 'functest-apex-virtual-suite-{stream}'
321 current-parameters: false
322 predefined-parameters: |
323 DEPLOY_SCENARIO={verify-scenario}
324 FUNCTEST_SUITE_NAME=healthcheck
325 GERRIT_BRANCH=$GERRIT_BRANCH
326 GERRIT_REFSPEC=$GERRIT_REFSPEC
327 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
328 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
329 node-parameters: true
330 kill-phase-on: FAILURE
335 name: 'apex-runner-cperf-{stream}'
338 project-type: 'multijob'
345 gs-pathname: '{gs-pathname}'
351 default: https://gerrit.opnfv.org/gerrit/$PROJECT
352 description: "Used for overriding the GIT URL coming from parameters macro."
360 use-build-blocker: false
370 - description-setter:
371 description: "Deployed on $NODE_NAME"
373 name: 'Baremetal Deploy'
376 - name: 'apex-deploy-baremetal-{stream}'
377 node-parameters: false
378 current-parameters: true
379 predefined-parameters: |
381 DEPLOY_SCENARIO={verify-scenario}
382 kill-phase-on: FAILURE
389 - name: 'functest-apex-baremetal-daily-{stream}'
390 node-parameters: true
391 current-parameters: false
392 predefined-parameters:
393 DEPLOY_SCENARIO={verify-scenario}
400 name: 'apex-build-{stream}'
402 # Job template for builds
404 # Required Variables:
405 # stream: branch with - in place of / (eg. stable)
406 # branch: branch (eg. stable)
407 node: '{build-slave}'
414 - '{project}-defaults'
419 gs-pathname: '{gs-pathname}'
439 properties-content: ARTIFACT_TYPE=rpm
440 - 'apex-upload-artifact'
444 name: 'apex-verify-iso-{stream}'
446 # Job template for builds
448 # Required Variables:
449 # stream: branch with - in place of / (eg. stable)
450 # branch: branch (eg. stable)
451 node: '{virtual-slave}'
462 gs-pathname: '{gs-pathname}'
465 default: https://gerrit.opnfv.org/gerrit/$PROJECT
466 description: "Used for overriding the GIT URL coming from parameters macro."
474 use-build-blocker: true
486 properties-content: ARTIFACT_TYPE=iso
487 - 'apex-upload-artifact'
491 name: 'apex-deploy-{platform}-{stream}'
493 # Job template for virtual deployment
495 # Required Variables:
496 # stream: branch with - in place of / (eg. stable)
497 # branch: branch (eg. stable)
498 node: 'apex-{platform}-{stream}'
517 gs-pathname: '{gs-pathname}'
519 name: DEPLOY_SCENARIO
520 default: '{verify-scenario}'
521 description: "Scenario to deploy with."
525 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
530 use-build-blocker: true
540 - description-setter:
541 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
542 - 'apex-download-artifact'
544 - 'apex-workspace-cleanup'
547 # Baremetal Deploy and Test
549 name: 'apex-deploy-test-baremetal-{stream}'
551 # Job template for daily build
553 # Required Variables:
554 # stream: branch with - in place of / (eg. stable)
555 # branch: branch (eg. stable)
556 project-type: 'multijob'
564 - '{project}-defaults'
565 - '{project}-baremetal-{stream}-defaults'
570 gs-pathname: '{gs-pathname}'
572 name: DEPLOY_SCENARIO
573 default: '{verify-scenario}'
574 description: "Scenario to deploy with."
578 use-build-blocker: true
584 - 'apex-.*-promote.*'
586 - description-setter:
587 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
589 name: 'Baremetal Deploy'
592 - name: 'apex-deploy-baremetal-{stream}'
593 node-parameters: true
594 current-parameters: true
595 predefined-parameters: |
597 kill-phase-on: FAILURE
604 - name: 'functest-apex-baremetal-daily-{stream}'
605 node-parameters: true
606 current-parameters: false
607 predefined-parameters:
608 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
616 - name: 'yardstick-apex-baremetal-daily-{stream}'
617 node-parameters: true
618 current-parameters: false
619 predefined-parameters:
620 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
628 name: 'apex-daily-danube'
630 # Job template for daily build
632 # Required Variables:
633 # stream: branch with - in place of / (eg. stable)
634 # branch: branch (eg. stable)
635 project-type: 'multijob'
637 node: 'apex-baremetal-danube'
645 - '{project}-defaults'
646 - '{project}-baremetal-danube-defaults'
649 branch: 'stable/danube'
651 gs-pathname: '/danube'
662 condition: SUCCESSFUL
664 - name: 'apex-build-danube'
665 current-parameters: false
666 predefined-parameters: |
667 GERRIT_BRANCH=$GERRIT_BRANCH
668 GERRIT_REFSPEC=$GERRIT_REFSPEC
669 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
670 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
671 node-parameters: true
672 kill-phase-on: FAILURE
676 name: 'Verify and upload ISO'
677 condition: SUCCESSFUL
679 - name: 'apex-verify-iso-danube'
680 current-parameters: false
681 predefined-parameters: |
682 BUILD_DIRECTORY=apex-build-danube/.build
683 GERRIT_BRANCH=$GERRIT_BRANCH
684 GERRIT_REFSPEC=$GERRIT_REFSPEC
685 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
686 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
687 node-parameters: true
688 kill-phase-on: FAILURE
692 name: Baremetal Deploy and Test Phase
693 condition: SUCCESSFUL
696 - name: 'apex-deploy-test-baremetal-danube'
697 node-parameters: false
698 current-parameters: false
699 predefined-parameters: |
700 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
706 - name: 'apex-deploy-test-baremetal-danube'
707 node-parameters: false
708 current-parameters: false
709 predefined-parameters: |
710 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
716 - name: 'apex-deploy-test-baremetal-danube'
717 node-parameters: false
718 current-parameters: false
719 predefined-parameters: |
720 DEPLOY_SCENARIO=os-nosdn-nofeature-ha-ipv6
726 - name: 'apex-deploy-test-baremetal-danube'
727 node-parameters: false
728 current-parameters: false
729 predefined-parameters: |
730 DEPLOY_SCENARIO=os-nosdn-ovs-noha
736 - name: 'apex-deploy-test-baremetal-danube'
737 node-parameters: false
738 current-parameters: false
739 predefined-parameters: |
740 DEPLOY_SCENARIO=os-nosdn-ovs-ha
746 - name: 'apex-deploy-test-baremetal-danube'
747 node-parameters: false
748 current-parameters: false
749 predefined-parameters: |
750 DEPLOY_SCENARIO=os-nosdn-fdio-noha
756 - name: 'apex-deploy-test-baremetal-danube'
757 node-parameters: false
758 current-parameters: false
759 predefined-parameters: |
760 DEPLOY_SCENARIO=os-nosdn-fdio-ha
766 - name: 'apex-deploy-test-baremetal-danube'
767 node-parameters: false
768 current-parameters: false
769 predefined-parameters: |
770 DEPLOY_SCENARIO=os-nosdn-kvm-ha
776 - name: 'apex-deploy-test-baremetal-danube'
777 node-parameters: false
778 current-parameters: false
779 predefined-parameters: |
780 DEPLOY_SCENARIO=os-nosdn-kvm-noha
786 - name: 'apex-deploy-test-baremetal-danube'
787 node-parameters: false
788 current-parameters: false
789 predefined-parameters: |
790 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
796 - name: 'apex-deploy-test-baremetal-danube'
797 node-parameters: false
798 current-parameters: false
799 predefined-parameters: |
800 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
806 - name: 'apex-deploy-test-baremetal-danube'
807 node-parameters: false
808 current-parameters: false
809 predefined-parameters: |
810 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
816 - name: 'apex-deploy-test-baremetal-danube'
817 node-parameters: false
818 current-parameters: false
819 predefined-parameters: |
820 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
826 - name: 'apex-deploy-test-baremetal-danube'
827 node-parameters: false
828 current-parameters: false
829 predefined-parameters: |
830 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
836 - name: 'apex-deploy-test-baremetal-danube'
837 node-parameters: false
838 current-parameters: false
839 predefined-parameters: |
840 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
846 - name: 'apex-deploy-test-baremetal-danube'
847 node-parameters: false
848 current-parameters: false
849 predefined-parameters: |
850 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
856 - name: 'apex-deploy-test-baremetal-danube'
857 node-parameters: false
858 current-parameters: false
859 predefined-parameters: |
860 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
866 - name: 'apex-deploy-test-baremetal-danube'
867 node-parameters: false
868 current-parameters: false
869 predefined-parameters: |
870 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
876 - name: 'apex-deploy-test-baremetal-danube'
877 node-parameters: false
878 current-parameters: false
879 predefined-parameters: |
880 DEPLOY_SCENARIO=os-odl-gluon-noha
886 - name: 'apex-deploy-test-baremetal-danube'
887 node-parameters: false
888 current-parameters: false
889 predefined-parameters: |
890 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
896 - name: 'apex-deploy-test-baremetal-danube'
897 node-parameters: false
898 current-parameters: false
899 predefined-parameters: |
900 DEPLOY_SCENARIO=os-odl_l3-fdio-ha
906 - name: 'apex-deploy-test-baremetal-danube'
907 node-parameters: false
908 current-parameters: false
909 predefined-parameters: |
910 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-noha
916 - name: 'apex-deploy-test-baremetal-danube'
917 node-parameters: false
918 current-parameters: false
919 predefined-parameters: |
920 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-ha
926 - name: 'apex-deploy-test-baremetal-danube'
927 node-parameters: false
928 current-parameters: false
929 predefined-parameters: |
930 DEPLOY_SCENARIO=os-odl_l3-csit-noha
936 - name: 'apex-deploy-test-baremetal-danube'
937 node-parameters: false
938 current-parameters: false
939 predefined-parameters: |
940 DEPLOY_SCENARIO=os-onos-nofeature-ha
946 - name: 'apex-deploy-test-baremetal-danube'
947 node-parameters: false
948 current-parameters: false
949 predefined-parameters: |
950 DEPLOY_SCENARIO=os-ovn-nofeature-noha
959 name: 'apex-daily-master'
961 # Job template for daily build
963 # Required Variables:
964 # stream: branch with - in place of / (eg. stable)
965 # branch: branch (eg. stable)
966 project-type: 'multijob'
968 node: 'apex-baremetal-master'
976 - '{project}-defaults'
977 - '{project}-baremetal-master-defaults'
993 condition: SUCCESSFUL
995 - name: 'apex-build-master'
996 current-parameters: false
997 predefined-parameters: |
998 GERRIT_BRANCH=$GERRIT_BRANCH
999 GERRIT_REFSPEC=$GERRIT_REFSPEC
1000 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1001 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1002 node-parameters: true
1003 kill-phase-on: FAILURE
1007 name: 'Verify and upload ISO'
1008 condition: SUCCESSFUL
1010 - name: 'apex-verify-iso-master'
1011 current-parameters: false
1012 predefined-parameters: |
1013 BUILD_DIRECTORY=apex-build-master/.build
1014 GERRIT_BRANCH=$GERRIT_BRANCH
1015 GERRIT_REFSPEC=$GERRIT_REFSPEC
1016 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1017 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1018 node-parameters: true
1019 kill-phase-on: FAILURE
1023 name: Baremetal Deploy and Test Phase
1024 condition: SUCCESSFUL
1027 - name: 'apex-deploy-test-baremetal-master'
1028 node-parameters: false
1029 current-parameters: false
1030 predefined-parameters: |
1031 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1033 kill-phase-on: NEVER
1037 - name: 'apex-deploy-test-baremetal-master'
1038 node-parameters: false
1039 current-parameters: false
1040 predefined-parameters: |
1041 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
1043 kill-phase-on: NEVER
1047 - name: 'apex-deploy-test-baremetal-master'
1048 node-parameters: false
1049 current-parameters: false
1050 predefined-parameters: |
1051 DEPLOY_SCENARIO=os-odl-nofeature-ha
1053 kill-phase-on: NEVER
1057 - name: 'apex-deploy-test-baremetal-master'
1058 node-parameters: false
1059 current-parameters: false
1060 predefined-parameters: |
1061 DEPLOY_SCENARIO=os-odl-nofeature-noha
1063 kill-phase-on: NEVER
1071 name: 'apex-create-snapshot'
1073 # Job template for clean
1075 # Required Variables:
1076 # stream: branch with - in place of / (eg. stable)
1082 !include-raw-escape: ./apex-snapshot-create.sh
1086 name: 'apex-upload-snapshot'
1088 # Job template for clean
1090 # Required Variables:
1091 # stream: branch with - in place of / (eg. stable)
1097 properties-content: ARTIFACT_TYPE=snapshot
1098 - 'apex-upload-artifact'
1102 name: 'apex-csit-promote-daily-{stream}'
1104 # Job template for promoting CSIT Snapshots
1106 # Required Variables:
1107 # stream: branch with - in place of / (eg. stable)
1108 # branch: branch (eg. stable)
1109 node: '{virtual-slave}'
1110 project-type: 'multijob'
1117 - project-parameter:
1118 project: '{project}'
1121 gs-pathname: '{gs-pathname}'
1125 use-build-blocker: true
1135 - timed: '0 12 * * 0'
1140 condition: SUCCESSFUL
1142 - name: 'apex-build-{stream}'
1143 current-parameters: false
1144 predefined-parameters: |
1145 GERRIT_BRANCH=$GERRIT_BRANCH
1146 GERRIT_REFSPEC=$GERRIT_REFSPEC
1147 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1148 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1149 node-parameters: false
1150 kill-phase-on: FAILURE
1154 name: deploy-virtual
1155 condition: SUCCESSFUL
1157 - name: 'apex-deploy-virtual-{stream}'
1158 current-parameters: false
1159 predefined-parameters: |
1160 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1162 GERRIT_BRANCH=$GERRIT_BRANCH
1163 GERRIT_REFSPEC=$GERRIT_REFSPEC
1164 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1165 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1166 node-parameters: true
1167 kill-phase-on: FAILURE
1171 name: functest-smoke
1172 condition: SUCCESSFUL
1174 - name: 'functest-apex-virtual-suite-{stream}'
1175 current-parameters: false
1176 predefined-parameters: |
1177 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1178 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1179 GERRIT_BRANCH=$GERRIT_BRANCH
1180 GERRIT_REFSPEC=$GERRIT_REFSPEC
1181 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1182 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1183 node-parameters: true
1184 kill-phase-on: FAILURE
1188 name: create snapshot
1189 condition: SUCCESSFUL
1191 - name: 'apex-create-snapshot'
1192 current-parameters: true
1193 node-parameters: true
1194 kill-phase-on: FAILURE
1198 name: upload snapshot
1199 condition: SUCCESSFUL
1201 - name: 'apex-upload-snapshot'
1202 current-parameters: true
1203 node-parameters: true
1204 kill-phase-on: FAILURE
1210 name: 'apex-fdio-promote-daily-{stream}'
1212 # Job template for promoting CSIT Snapshots
1214 # Required Variables:
1215 # stream: branch with - in place of / (eg. stable)
1216 # branch: branch (eg. stable)
1217 node: '{virtual-slave}'
1218 project-type: 'multijob'
1225 - project-parameter:
1226 project: '{project}'
1229 gs-pathname: '{gs-pathname}'
1233 use-build-blocker: true
1245 condition: SUCCESSFUL
1247 - name: 'apex-build-{stream}'
1248 current-parameters: false
1249 predefined-parameters: |
1250 GERRIT_BRANCH=$GERRIT_BRANCH
1251 GERRIT_REFSPEC=$GERRIT_REFSPEC
1252 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1253 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1254 node-parameters: false
1255 kill-phase-on: FAILURE
1259 name: deploy-virtual
1260 condition: SUCCESSFUL
1262 - name: 'apex-deploy-virtual-{stream}'
1263 current-parameters: false
1264 predefined-parameters: |
1265 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
1267 GERRIT_BRANCH=$GERRIT_BRANCH
1268 GERRIT_REFSPEC=$GERRIT_REFSPEC
1269 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1270 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1271 node-parameters: true
1272 kill-phase-on: FAILURE
1276 name: create snapshot
1277 condition: SUCCESSFUL
1279 - name: 'apex-create-snapshot'
1280 current-parameters: true
1281 node-parameters: true
1282 kill-phase-on: FAILURE
1286 name: upload snapshot
1287 condition: SUCCESSFUL
1289 - name: 'apex-upload-snapshot'
1290 current-parameters: true
1291 node-parameters: true
1292 kill-phase-on: FAILURE
1297 name: 'apex-gs-clean-{stream}'
1299 # Job template for clean
1301 # Required Variables:
1302 # stream: branch with - in place of / (eg. stable)
1308 - project-parameter:
1309 project: '{project}'
1312 gs-pathname: '{gs-pathname}'
1318 - 'apex-gs-clean-{stream}'
1320 ########################
1322 ########################
1324 name: apex-parameter
1329 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1331 name: ARTIFACT_VERSION
1333 description: "Artifact version type"
1335 name: BUILD_DIRECTORY
1336 default: $WORKSPACE/.build
1337 description: "Directory where the build artifact will be located upon the completion of the build."
1339 name: CACHE_DIRECTORY
1340 default: $HOME/opnfv/apex-cache{gs-pathname}
1341 description: "Directory where the cache to be used during the build is located."
1344 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1345 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1348 default: '{gs-pathname}'
1349 description: "Version directory where opnfv artifacts are stored in gs repository"
1352 default: $GS_BASE{gs-pathname}
1353 description: "URL to Google Storage."
1355 ########################
1357 ########################
1359 name: 'apex-unit-test'
1362 !include-raw: ./apex-unit-test.sh
1368 !include-raw: ./apex-build.sh
1371 name: 'apex-workspace-cleanup'
1374 !include-raw: ./apex-workspace-cleanup.sh
1377 name: 'apex-iso-verify'
1380 !include-raw: ./apex-iso-verify.sh
1384 name: 'apex-upload-artifact'
1387 !include-raw: ./apex-upload-artifact.sh
1390 name: 'apex-download-artifact'
1393 !include-raw: ./apex-download-artifact.sh
1396 name: 'apex-gs-cleanup'
1399 !include-raw: ./apex-gs-cleanup.sh
1405 !include-raw: ./apex-deploy.sh
1407 #######################
1409 ########################
1413 - timed: '0 3 1 1 7'
1417 - timed: '0 12 * * *'
1419 name: 'apex-gs-clean-{stream}'
1421 - timed: '0 2 * * *'