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 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: false
209 kill-phase-on: FAILURE
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: false
226 kill-phase-on: FAILURE
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."
256 server-name: 'gerrit.opnfv.org'
258 - comment-added-contains-event:
259 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
261 - project-compare-type: 'ANT'
262 project-pattern: 'apex'
264 - branch-compare-type: 'ANT'
265 branch-pattern: '**/{branch}'
279 use-build-blocker: true
295 condition: SUCCESSFUL
297 - name: 'apex-deploy-virtual-{stream}'
298 current-parameters: false
299 predefined-parameters: |
302 GERRIT_BRANCH=$GERRIT_BRANCH
303 GERRIT_REFSPEC=$GERRIT_REFSPEC
304 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
305 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
306 node-parameters: false
307 kill-phase-on: FAILURE
312 condition: SUCCESSFUL
314 - name: 'functest-apex-virtual-suite-{stream}'
315 current-parameters: false
316 predefined-parameters: |
317 DEPLOY_SCENARIO={verify-scenario}
318 FUNCTEST_SUITE_NAME=healthcheck
319 GERRIT_BRANCH=$GERRIT_BRANCH
320 GERRIT_REFSPEC=$GERRIT_REFSPEC
321 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
322 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
323 node-parameters: false
324 kill-phase-on: FAILURE
329 name: 'apex-runner-cperf-{stream}'
332 project-type: 'multijob'
339 gs-pathname: '{gs-pathname}'
345 default: https://gerrit.opnfv.org/gerrit/$PROJECT
346 description: "Used for overriding the GIT URL coming from parameters macro."
354 use-build-blocker: false
364 - description-setter:
365 description: "Deployed on $NODE_NAME"
367 name: 'Baremetal Deploy'
370 - name: 'apex-deploy-baremetal-{stream}'
371 node-parameters: false
372 current-parameters: true
373 predefined-parameters: |
375 DEPLOY_SCENARIO={verify-scenario}
376 kill-phase-on: FAILURE
383 - name: 'functest-apex-baremetal-daily-{stream}'
384 node-parameters: true
385 current-parameters: false
386 predefined-parameters:
387 DEPLOY_SCENARIO={verify-scenario}
394 name: 'apex-build-{stream}'
396 # Job template for builds
398 # Required Variables:
399 # stream: branch with - in place of / (eg. stable)
400 # branch: branch (eg. stable)
401 node: '{build-slave}'
408 - '{project}-defaults'
413 gs-pathname: '{gs-pathname}'
433 properties-content: ARTIFACT_TYPE=rpm
434 - 'apex-upload-artifact'
438 name: 'apex-verify-iso-{stream}'
440 # Job template for builds
442 # Required Variables:
443 # stream: branch with - in place of / (eg. stable)
444 # branch: branch (eg. stable)
445 node: '{virtual-slave}'
456 gs-pathname: '{gs-pathname}'
459 default: https://gerrit.opnfv.org/gerrit/$PROJECT
460 description: "Used for overriding the GIT URL coming from parameters macro."
468 use-build-blocker: true
480 properties-content: ARTIFACT_TYPE=iso
481 - 'apex-upload-artifact'
485 name: 'apex-deploy-{platform}-{stream}'
487 # Job template for virtual deployment
489 # Required Variables:
490 # stream: branch with - in place of / (eg. stable)
491 # branch: branch (eg. stable)
492 node: 'apex-{platform}-{stream}'
511 gs-pathname: '{gs-pathname}'
513 name: DEPLOY_SCENARIO
514 default: '{verify-scenario}'
515 description: "Scenario to deploy with."
519 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
524 use-build-blocker: true
534 - description-setter:
535 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
536 - 'apex-download-artifact'
538 - 'apex-workspace-cleanup'
541 # Baremetal Deploy and Test
543 name: 'apex-deploy-test-baremetal-{stream}'
545 # Job template for daily build
547 # Required Variables:
548 # stream: branch with - in place of / (eg. stable)
549 # branch: branch (eg. stable)
550 project-type: 'multijob'
558 - '{project}-defaults'
559 - '{project}-baremetal-{stream}-defaults'
564 gs-pathname: '{gs-pathname}'
566 name: DEPLOY_SCENARIO
567 default: '{verify-scenario}'
568 description: "Scenario to deploy with."
572 use-build-blocker: true
578 - 'apex-.*-promote.*'
580 - description-setter:
581 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
583 name: 'Baremetal Deploy'
586 - name: 'apex-deploy-baremetal-{stream}'
587 node-parameters: true
588 current-parameters: true
589 predefined-parameters: |
591 kill-phase-on: FAILURE
598 - name: 'functest-apex-baremetal-daily-{stream}'
599 node-parameters: true
600 current-parameters: false
601 predefined-parameters:
602 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
610 - name: 'yardstick-apex-baremetal-daily-{stream}'
611 node-parameters: true
612 current-parameters: false
613 predefined-parameters:
614 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
622 name: 'apex-daily-danube'
624 # Job template for daily build
626 # Required Variables:
627 # stream: branch with - in place of / (eg. stable)
628 # branch: branch (eg. stable)
629 project-type: 'multijob'
631 node: 'apex-baremetal-danube'
639 - '{project}-defaults'
640 - '{project}-baremetal-danube-defaults'
643 branch: 'stable/danube'
645 gs-pathname: '/danube'
656 condition: SUCCESSFUL
658 - name: 'apex-build-danube'
659 current-parameters: false
660 predefined-parameters: |
661 GERRIT_BRANCH=$GERRIT_BRANCH
662 GERRIT_REFSPEC=$GERRIT_REFSPEC
663 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
664 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
665 node-parameters: true
666 kill-phase-on: FAILURE
670 name: 'Verify and upload ISO'
671 condition: SUCCESSFUL
673 - name: 'apex-verify-iso-danube'
674 current-parameters: false
675 predefined-parameters: |
676 BUILD_DIRECTORY=apex-build-danube/.build
677 GERRIT_BRANCH=$GERRIT_BRANCH
678 GERRIT_REFSPEC=$GERRIT_REFSPEC
679 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
680 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
681 node-parameters: true
682 kill-phase-on: FAILURE
686 name: Baremetal Deploy and Test Phase
687 condition: SUCCESSFUL
690 - name: 'apex-deploy-test-baremetal-danube'
691 node-parameters: false
692 current-parameters: false
693 predefined-parameters: |
694 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
700 - name: 'apex-deploy-test-baremetal-danube'
701 node-parameters: false
702 current-parameters: false
703 predefined-parameters: |
704 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
710 - name: 'apex-deploy-test-baremetal-danube'
711 node-parameters: false
712 current-parameters: false
713 predefined-parameters: |
714 DEPLOY_SCENARIO=os-nosdn-nofeature-ha-ipv6
720 - name: 'apex-deploy-test-baremetal-danube'
721 node-parameters: false
722 current-parameters: false
723 predefined-parameters: |
724 DEPLOY_SCENARIO=os-nosdn-ovs-noha
730 - name: 'apex-deploy-test-baremetal-danube'
731 node-parameters: false
732 current-parameters: false
733 predefined-parameters: |
734 DEPLOY_SCENARIO=os-nosdn-ovs-ha
740 - name: 'apex-deploy-test-baremetal-danube'
741 node-parameters: false
742 current-parameters: false
743 predefined-parameters: |
744 DEPLOY_SCENARIO=os-nosdn-fdio-noha
750 - name: 'apex-deploy-test-baremetal-danube'
751 node-parameters: false
752 current-parameters: false
753 predefined-parameters: |
754 DEPLOY_SCENARIO=os-nosdn-fdio-ha
760 - name: 'apex-deploy-test-baremetal-danube'
761 node-parameters: false
762 current-parameters: false
763 predefined-parameters: |
764 DEPLOY_SCENARIO=os-nosdn-kvm-ha
770 - name: 'apex-deploy-test-baremetal-danube'
771 node-parameters: false
772 current-parameters: false
773 predefined-parameters: |
774 DEPLOY_SCENARIO=os-nosdn-kvm-noha
780 - name: 'apex-deploy-test-baremetal-danube'
781 node-parameters: false
782 current-parameters: false
783 predefined-parameters: |
784 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
790 - name: 'apex-deploy-test-baremetal-danube'
791 node-parameters: false
792 current-parameters: false
793 predefined-parameters: |
794 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
800 - name: 'apex-deploy-test-baremetal-danube'
801 node-parameters: false
802 current-parameters: false
803 predefined-parameters: |
804 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
810 - name: 'apex-deploy-test-baremetal-danube'
811 node-parameters: false
812 current-parameters: false
813 predefined-parameters: |
814 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
820 - name: 'apex-deploy-test-baremetal-danube'
821 node-parameters: false
822 current-parameters: false
823 predefined-parameters: |
824 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
830 - name: 'apex-deploy-test-baremetal-danube'
831 node-parameters: false
832 current-parameters: false
833 predefined-parameters: |
834 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
840 - name: 'apex-deploy-test-baremetal-danube'
841 node-parameters: false
842 current-parameters: false
843 predefined-parameters: |
844 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
850 - name: 'apex-deploy-test-baremetal-danube'
851 node-parameters: false
852 current-parameters: false
853 predefined-parameters: |
854 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
860 - name: 'apex-deploy-test-baremetal-danube'
861 node-parameters: false
862 current-parameters: false
863 predefined-parameters: |
864 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
870 - name: 'apex-deploy-test-baremetal-danube'
871 node-parameters: false
872 current-parameters: false
873 predefined-parameters: |
874 DEPLOY_SCENARIO=os-odl-gluon-noha
880 - name: 'apex-deploy-test-baremetal-danube'
881 node-parameters: false
882 current-parameters: false
883 predefined-parameters: |
884 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
890 - name: 'apex-deploy-test-baremetal-danube'
891 node-parameters: false
892 current-parameters: false
893 predefined-parameters: |
894 DEPLOY_SCENARIO=os-odl_l3-fdio-ha
900 - name: 'apex-deploy-test-baremetal-danube'
901 node-parameters: false
902 current-parameters: false
903 predefined-parameters: |
904 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-noha
910 - name: 'apex-deploy-test-baremetal-danube'
911 node-parameters: false
912 current-parameters: false
913 predefined-parameters: |
914 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-ha
920 - name: 'apex-deploy-test-baremetal-danube'
921 node-parameters: false
922 current-parameters: false
923 predefined-parameters: |
924 DEPLOY_SCENARIO=os-odl_l3-csit-noha
930 - name: 'apex-deploy-test-baremetal-danube'
931 node-parameters: false
932 current-parameters: false
933 predefined-parameters: |
934 DEPLOY_SCENARIO=os-onos-nofeature-ha
940 - name: 'apex-deploy-test-baremetal-danube'
941 node-parameters: false
942 current-parameters: false
943 predefined-parameters: |
944 DEPLOY_SCENARIO=os-ovn-nofeature-noha
953 name: 'apex-daily-master'
955 # Job template for daily build
957 # Required Variables:
958 # stream: branch with - in place of / (eg. stable)
959 # branch: branch (eg. stable)
960 project-type: 'multijob'
962 node: 'apex-baremetal-master'
970 - '{project}-defaults'
971 - '{project}-baremetal-master-defaults'
987 condition: SUCCESSFUL
989 - name: 'apex-build-master'
990 current-parameters: false
991 predefined-parameters: |
992 GERRIT_BRANCH=$GERRIT_BRANCH
993 GERRIT_REFSPEC=$GERRIT_REFSPEC
994 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
995 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
996 node-parameters: true
997 kill-phase-on: FAILURE
1001 name: 'Verify and upload ISO'
1002 condition: SUCCESSFUL
1004 - name: 'apex-verify-iso-master'
1005 current-parameters: false
1006 predefined-parameters: |
1007 BUILD_DIRECTORY=apex-build-master/.build
1008 GERRIT_BRANCH=$GERRIT_BRANCH
1009 GERRIT_REFSPEC=$GERRIT_REFSPEC
1010 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1011 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1012 node-parameters: true
1013 kill-phase-on: FAILURE
1017 name: Baremetal Deploy and Test Phase
1018 condition: SUCCESSFUL
1021 - name: 'apex-deploy-test-baremetal-master'
1022 node-parameters: false
1023 current-parameters: false
1024 predefined-parameters: |
1025 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1027 kill-phase-on: NEVER
1031 - name: 'apex-deploy-test-baremetal-master'
1032 node-parameters: false
1033 current-parameters: false
1034 predefined-parameters: |
1035 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
1037 kill-phase-on: NEVER
1041 - name: 'apex-deploy-test-baremetal-master'
1042 node-parameters: false
1043 current-parameters: false
1044 predefined-parameters: |
1045 DEPLOY_SCENARIO=os-odl-nofeature-ha
1047 kill-phase-on: NEVER
1051 - name: 'apex-deploy-test-baremetal-master'
1052 node-parameters: false
1053 current-parameters: false
1054 predefined-parameters: |
1055 DEPLOY_SCENARIO=os-odl-nofeature-noha
1057 kill-phase-on: NEVER
1065 name: 'apex-create-snapshot'
1067 # Job template for clean
1069 # Required Variables:
1070 # stream: branch with - in place of / (eg. stable)
1076 !include-raw-escape: ./apex-snapshot-create.sh
1080 name: 'apex-upload-snapshot'
1082 # Job template for clean
1084 # Required Variables:
1085 # stream: branch with - in place of / (eg. stable)
1091 properties-content: ARTIFACT_TYPE=snapshot
1092 - 'apex-upload-artifact'
1096 name: 'apex-csit-promote-daily-{stream}'
1098 # Job template for promoting CSIT Snapshots
1100 # Required Variables:
1101 # stream: branch with - in place of / (eg. stable)
1102 # branch: branch (eg. stable)
1103 node: '{virtual-slave}'
1104 project-type: 'multijob'
1111 - project-parameter:
1112 project: '{project}'
1115 gs-pathname: '{gs-pathname}'
1119 use-build-blocker: true
1129 - timed: '0 12 * * 0'
1134 condition: SUCCESSFUL
1136 - name: 'apex-build-{stream}'
1137 current-parameters: false
1138 predefined-parameters: |
1139 GERRIT_BRANCH=$GERRIT_BRANCH
1140 GERRIT_REFSPEC=$GERRIT_REFSPEC
1141 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1142 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1143 node-parameters: false
1144 kill-phase-on: FAILURE
1148 name: deploy-virtual
1149 condition: SUCCESSFUL
1151 - name: 'apex-deploy-virtual-{stream}'
1152 current-parameters: false
1153 predefined-parameters: |
1154 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1156 GERRIT_BRANCH=$GERRIT_BRANCH
1157 GERRIT_REFSPEC=$GERRIT_REFSPEC
1158 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1159 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1160 node-parameters: true
1161 kill-phase-on: FAILURE
1165 name: functest-smoke
1166 condition: SUCCESSFUL
1168 - name: 'functest-apex-virtual-suite-{stream}'
1169 current-parameters: false
1170 predefined-parameters: |
1171 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1172 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1173 GERRIT_BRANCH=$GERRIT_BRANCH
1174 GERRIT_REFSPEC=$GERRIT_REFSPEC
1175 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1176 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1177 node-parameters: true
1178 kill-phase-on: FAILURE
1182 name: create snapshot
1183 condition: SUCCESSFUL
1185 - name: 'apex-create-snapshot'
1186 current-parameters: true
1187 node-parameters: true
1188 kill-phase-on: FAILURE
1192 name: upload snapshot
1193 condition: SUCCESSFUL
1195 - name: 'apex-upload-snapshot'
1196 current-parameters: true
1197 node-parameters: true
1198 kill-phase-on: FAILURE
1204 name: 'apex-fdio-promote-daily-{stream}'
1206 # Job template for promoting CSIT Snapshots
1208 # Required Variables:
1209 # stream: branch with - in place of / (eg. stable)
1210 # branch: branch (eg. stable)
1211 node: '{virtual-slave}'
1212 project-type: 'multijob'
1219 - project-parameter:
1220 project: '{project}'
1223 gs-pathname: '{gs-pathname}'
1227 use-build-blocker: true
1239 condition: SUCCESSFUL
1241 - name: 'apex-build-{stream}'
1242 current-parameters: false
1243 predefined-parameters: |
1244 GERRIT_BRANCH=$GERRIT_BRANCH
1245 GERRIT_REFSPEC=$GERRIT_REFSPEC
1246 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1247 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1248 node-parameters: false
1249 kill-phase-on: FAILURE
1253 name: deploy-virtual
1254 condition: SUCCESSFUL
1256 - name: 'apex-deploy-virtual-{stream}'
1257 current-parameters: false
1258 predefined-parameters: |
1259 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
1261 GERRIT_BRANCH=$GERRIT_BRANCH
1262 GERRIT_REFSPEC=$GERRIT_REFSPEC
1263 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1264 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1265 node-parameters: true
1266 kill-phase-on: FAILURE
1270 name: create snapshot
1271 condition: SUCCESSFUL
1273 - name: 'apex-create-snapshot'
1274 current-parameters: true
1275 node-parameters: true
1276 kill-phase-on: FAILURE
1280 name: upload snapshot
1281 condition: SUCCESSFUL
1283 - name: 'apex-upload-snapshot'
1284 current-parameters: true
1285 node-parameters: true
1286 kill-phase-on: FAILURE
1291 name: 'apex-gs-clean-{stream}'
1293 # Job template for clean
1295 # Required Variables:
1296 # stream: branch with - in place of / (eg. stable)
1302 - project-parameter:
1303 project: '{project}'
1306 gs-pathname: '{gs-pathname}'
1312 - 'apex-gs-clean-{stream}'
1314 ########################
1316 ########################
1318 name: apex-parameter
1323 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1325 name: ARTIFACT_VERSION
1327 description: "Artifact version type"
1329 name: BUILD_DIRECTORY
1330 default: $WORKSPACE/.build
1331 description: "Directory where the build artifact will be located upon the completion of the build."
1333 name: CACHE_DIRECTORY
1334 default: $HOME/opnfv/apex-cache{gs-pathname}
1335 description: "Directory where the cache to be used during the build is located."
1338 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1339 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1342 default: '{gs-pathname}'
1343 description: "Version directory where opnfv artifacts are stored in gs repository"
1346 default: $GS_BASE{gs-pathname}
1347 description: "URL to Google Storage."
1349 ########################
1351 ########################
1353 name: 'apex-unit-test'
1356 !include-raw: ./apex-unit-test.sh
1362 !include-raw: ./apex-build.sh
1365 name: 'apex-workspace-cleanup'
1368 !include-raw: ./apex-workspace-cleanup.sh
1371 name: 'apex-iso-verify'
1374 !include-raw: ./apex-iso-verify.sh
1378 name: 'apex-upload-artifact'
1381 !include-raw: ./apex-upload-artifact.sh
1384 name: 'apex-download-artifact'
1387 !include-raw: ./apex-download-artifact.sh
1390 name: 'apex-gs-cleanup'
1393 !include-raw: ./apex-gs-cleanup.sh
1399 !include-raw: ./apex-deploy.sh
1401 #######################
1403 ########################
1407 - timed: '0 3 1 1 7'
1411 - timed: '0 12 * * *'
1413 name: 'apex-gs-clean-{stream}'
1415 - timed: '0 2 * * *'