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 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 DEPLOY_SCENARIO={verify-scenario}
203 GERRIT_BRANCH=$GERRIT_BRANCH
204 GERRIT_REFSPEC=$GERRIT_REFSPEC
205 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
206 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
207 node-parameters: false
208 kill-phase-on: FAILURE
213 condition: SUCCESSFUL
215 - name: 'functest-apex-virtual-suite-{stream}'
216 current-parameters: false
217 predefined-parameters: |
218 DEPLOY_SCENARIO={verify-scenario}
219 FUNCTEST_SUITE_NAME=healthcheck
220 GERRIT_BRANCH=$GERRIT_BRANCH
221 GERRIT_REFSPEC=$GERRIT_REFSPEC
222 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
223 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
224 node-parameters: false
225 kill-phase-on: FAILURE
229 # Verify Scenario Gate
231 name: 'apex-verify-gate-{stream}'
233 node: '{virtual-slave}'
237 project-type: 'multijob'
241 gs-pathname: '{gs-pathname}/dev'
247 default: https://gerrit.opnfv.org/gerrit/$PROJECT
248 description: "Used for overriding the GIT URL coming from parameters macro."
255 server-name: 'gerrit.opnfv.org'
257 - comment-added-contains-event:
258 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
260 - project-compare-type: 'ANT'
261 project-pattern: 'apex'
263 - branch-compare-type: 'ANT'
264 branch-pattern: '**/{branch}'
278 use-build-blocker: true
294 condition: SUCCESSFUL
296 - name: 'apex-deploy-virtual-{stream}'
297 current-parameters: false
298 predefined-parameters: |
301 GERRIT_BRANCH=$GERRIT_BRANCH
302 GERRIT_REFSPEC=$GERRIT_REFSPEC
303 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
304 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
305 node-parameters: false
306 kill-phase-on: FAILURE
311 condition: SUCCESSFUL
313 - name: 'functest-apex-virtual-suite-{stream}'
314 current-parameters: false
315 predefined-parameters: |
316 DEPLOY_SCENARIO={verify-scenario}
317 FUNCTEST_SUITE_NAME=healthcheck
318 GERRIT_BRANCH=$GERRIT_BRANCH
319 GERRIT_REFSPEC=$GERRIT_REFSPEC
320 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
321 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
322 node-parameters: false
323 kill-phase-on: FAILURE
328 name: 'apex-runner-cperf-{stream}'
331 project-type: 'multijob'
338 gs-pathname: '{gs-pathname}'
344 default: https://gerrit.opnfv.org/gerrit/$PROJECT
345 description: "Used for overriding the GIT URL coming from parameters macro."
353 use-build-blocker: false
363 - description-setter:
364 description: "Deployed on $NODE_NAME"
366 name: 'Baremetal Deploy'
369 - name: 'apex-deploy-baremetal-{stream}'
370 node-parameters: false
371 current-parameters: true
372 predefined-parameters: |
374 DEPLOY_SCENARIO={verify-scenario}
375 kill-phase-on: FAILURE
382 - name: 'functest-apex-baremetal-daily-{stream}'
383 node-parameters: true
384 current-parameters: false
385 predefined-parameters:
386 DEPLOY_SCENARIO={verify-scenario}
393 name: 'apex-build-{stream}'
395 # Job template for builds
397 # Required Variables:
398 # stream: branch with - in place of / (eg. stable)
399 # branch: branch (eg. stable)
400 node: '{build-slave}'
407 - '{project}-defaults'
412 gs-pathname: '{gs-pathname}'
432 properties-content: ARTIFACT_TYPE=rpm
433 - 'apex-upload-artifact'
437 name: 'apex-verify-iso-{stream}'
439 # Job template for builds
441 # Required Variables:
442 # stream: branch with - in place of / (eg. stable)
443 # branch: branch (eg. stable)
444 node: '{virtual-slave}'
455 gs-pathname: '{gs-pathname}'
458 default: https://gerrit.opnfv.org/gerrit/$PROJECT
459 description: "Used for overriding the GIT URL coming from parameters macro."
467 use-build-blocker: true
479 properties-content: ARTIFACT_TYPE=iso
480 - 'apex-upload-artifact'
484 name: 'apex-deploy-{platform}-{stream}'
486 # Job template for virtual deployment
488 # Required Variables:
489 # stream: branch with - in place of / (eg. stable)
490 # branch: branch (eg. stable)
491 node: 'apex-{platform}-{stream}'
510 gs-pathname: '{gs-pathname}'
512 name: DEPLOY_SCENARIO
513 default: '{verify-scenario}'
514 description: "Scenario to deploy with."
518 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
523 use-build-blocker: true
533 - description-setter:
534 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
535 - 'apex-download-artifact'
537 - 'apex-workspace-cleanup'
540 # Baremetal Deploy and Test
542 name: 'apex-deploy-test-baremetal-{stream}'
544 # Job template for daily build
546 # Required Variables:
547 # stream: branch with - in place of / (eg. stable)
548 # branch: branch (eg. stable)
549 project-type: 'multijob'
557 - '{project}-defaults'
558 - '{project}-baremetal-{stream}-defaults'
563 gs-pathname: '{gs-pathname}'
565 name: DEPLOY_SCENARIO
566 default: '{verify-scenario}'
567 description: "Scenario to deploy with."
571 use-build-blocker: true
577 - 'apex-.*-promote.*'
579 - description-setter:
580 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
582 name: 'Baremetal Deploy'
585 - name: 'apex-deploy-baremetal-{stream}'
586 node-parameters: true
587 current-parameters: true
588 predefined-parameters: |
590 kill-phase-on: FAILURE
597 - name: 'functest-apex-baremetal-daily-{stream}'
598 node-parameters: true
599 current-parameters: false
600 predefined-parameters:
601 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
609 - name: 'yardstick-apex-baremetal-daily-{stream}'
610 node-parameters: true
611 current-parameters: false
612 predefined-parameters:
613 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
621 name: 'apex-daily-danube'
623 # Job template for daily build
625 # Required Variables:
626 # stream: branch with - in place of / (eg. stable)
627 # branch: branch (eg. stable)
628 project-type: 'multijob'
630 node: 'apex-baremetal-danube'
638 - '{project}-defaults'
639 - '{project}-baremetal-danube-defaults'
642 branch: 'stable/danube'
644 gs-pathname: '/danube'
655 condition: SUCCESSFUL
657 - name: 'apex-build-danube'
658 current-parameters: false
659 predefined-parameters: |
660 GERRIT_BRANCH=$GERRIT_BRANCH
661 GERRIT_REFSPEC=$GERRIT_REFSPEC
662 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
663 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
664 node-parameters: true
665 kill-phase-on: FAILURE
669 name: 'Verify and upload ISO'
670 condition: SUCCESSFUL
672 - name: 'apex-verify-iso-danube'
673 current-parameters: false
674 predefined-parameters: |
675 BUILD_DIRECTORY=apex-build-danube/.build
676 GERRIT_BRANCH=$GERRIT_BRANCH
677 GERRIT_REFSPEC=$GERRIT_REFSPEC
678 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
679 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
680 node-parameters: true
681 kill-phase-on: FAILURE
685 name: Baremetal Deploy and Test Phase
686 condition: SUCCESSFUL
689 - name: 'apex-deploy-test-baremetal-danube'
690 node-parameters: false
691 current-parameters: false
692 predefined-parameters: |
693 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
699 - name: 'apex-deploy-test-baremetal-danube'
700 node-parameters: false
701 current-parameters: false
702 predefined-parameters: |
703 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
709 - name: 'apex-deploy-test-baremetal-danube'
710 node-parameters: false
711 current-parameters: false
712 predefined-parameters: |
713 DEPLOY_SCENARIO=os-nosdn-nofeature-ha-ipv6
719 - name: 'apex-deploy-test-baremetal-danube'
720 node-parameters: false
721 current-parameters: false
722 predefined-parameters: |
723 DEPLOY_SCENARIO=os-nosdn-ovs-noha
729 - name: 'apex-deploy-test-baremetal-danube'
730 node-parameters: false
731 current-parameters: false
732 predefined-parameters: |
733 DEPLOY_SCENARIO=os-nosdn-ovs-ha
739 - name: 'apex-deploy-test-baremetal-danube'
740 node-parameters: false
741 current-parameters: false
742 predefined-parameters: |
743 DEPLOY_SCENARIO=os-nosdn-fdio-noha
749 - name: 'apex-deploy-test-baremetal-danube'
750 node-parameters: false
751 current-parameters: false
752 predefined-parameters: |
753 DEPLOY_SCENARIO=os-nosdn-fdio-ha
759 - name: 'apex-deploy-test-baremetal-danube'
760 node-parameters: false
761 current-parameters: false
762 predefined-parameters: |
763 DEPLOY_SCENARIO=os-nosdn-kvm-ha
769 - name: 'apex-deploy-test-baremetal-danube'
770 node-parameters: false
771 current-parameters: false
772 predefined-parameters: |
773 DEPLOY_SCENARIO=os-nosdn-kvm-noha
779 - name: 'apex-deploy-test-baremetal-danube'
780 node-parameters: false
781 current-parameters: false
782 predefined-parameters: |
783 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
789 - name: 'apex-deploy-test-baremetal-danube'
790 node-parameters: false
791 current-parameters: false
792 predefined-parameters: |
793 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
799 - name: 'apex-deploy-test-baremetal-danube'
800 node-parameters: false
801 current-parameters: false
802 predefined-parameters: |
803 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
809 - name: 'apex-deploy-test-baremetal-danube'
810 node-parameters: false
811 current-parameters: false
812 predefined-parameters: |
813 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
819 - name: 'apex-deploy-test-baremetal-danube'
820 node-parameters: false
821 current-parameters: false
822 predefined-parameters: |
823 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
829 - name: 'apex-deploy-test-baremetal-danube'
830 node-parameters: false
831 current-parameters: false
832 predefined-parameters: |
833 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
839 - name: 'apex-deploy-test-baremetal-danube'
840 node-parameters: false
841 current-parameters: false
842 predefined-parameters: |
843 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
849 - name: 'apex-deploy-test-baremetal-danube'
850 node-parameters: false
851 current-parameters: false
852 predefined-parameters: |
853 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
859 - name: 'apex-deploy-test-baremetal-danube'
860 node-parameters: false
861 current-parameters: false
862 predefined-parameters: |
863 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
869 - name: 'apex-deploy-test-baremetal-danube'
870 node-parameters: false
871 current-parameters: false
872 predefined-parameters: |
873 DEPLOY_SCENARIO=os-odl-gluon-noha
879 - name: 'apex-deploy-test-baremetal-danube'
880 node-parameters: false
881 current-parameters: false
882 predefined-parameters: |
883 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
889 - name: 'apex-deploy-test-baremetal-danube'
890 node-parameters: false
891 current-parameters: false
892 predefined-parameters: |
893 DEPLOY_SCENARIO=os-odl_l3-fdio-ha
899 - name: 'apex-deploy-test-baremetal-danube'
900 node-parameters: false
901 current-parameters: false
902 predefined-parameters: |
903 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-noha
909 - name: 'apex-deploy-test-baremetal-danube'
910 node-parameters: false
911 current-parameters: false
912 predefined-parameters: |
913 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-ha
919 - name: 'apex-deploy-test-baremetal-danube'
920 node-parameters: false
921 current-parameters: false
922 predefined-parameters: |
923 DEPLOY_SCENARIO=os-odl_l3-csit-noha
929 - name: 'apex-deploy-test-baremetal-danube'
930 node-parameters: false
931 current-parameters: false
932 predefined-parameters: |
933 DEPLOY_SCENARIO=os-onos-nofeature-ha
939 - name: 'apex-deploy-test-baremetal-danube'
940 node-parameters: false
941 current-parameters: false
942 predefined-parameters: |
943 DEPLOY_SCENARIO=os-ovn-nofeature-noha
952 name: 'apex-daily-master'
954 # Job template for daily build
956 # Required Variables:
957 # stream: branch with - in place of / (eg. stable)
958 # branch: branch (eg. stable)
959 project-type: 'multijob'
961 node: 'apex-baremetal-master'
969 - '{project}-defaults'
970 - '{project}-baremetal-master-defaults'
986 condition: SUCCESSFUL
988 - name: 'apex-build-master'
989 current-parameters: false
990 predefined-parameters: |
991 GERRIT_BRANCH=$GERRIT_BRANCH
992 GERRIT_REFSPEC=$GERRIT_REFSPEC
993 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
994 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
995 node-parameters: true
996 kill-phase-on: FAILURE
1000 name: 'Verify and upload ISO'
1001 condition: SUCCESSFUL
1003 - name: 'apex-verify-iso-master'
1004 current-parameters: false
1005 predefined-parameters: |
1006 BUILD_DIRECTORY=apex-build-master/.build
1007 GERRIT_BRANCH=$GERRIT_BRANCH
1008 GERRIT_REFSPEC=$GERRIT_REFSPEC
1009 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1010 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1011 node-parameters: true
1012 kill-phase-on: FAILURE
1016 name: Baremetal Deploy and Test Phase
1017 condition: SUCCESSFUL
1020 - name: 'apex-deploy-test-baremetal-master'
1021 node-parameters: false
1022 current-parameters: false
1023 predefined-parameters: |
1024 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1026 kill-phase-on: NEVER
1030 - name: 'apex-deploy-test-baremetal-master'
1031 node-parameters: false
1032 current-parameters: false
1033 predefined-parameters: |
1034 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
1036 kill-phase-on: NEVER
1040 - name: 'apex-deploy-test-baremetal-master'
1041 node-parameters: false
1042 current-parameters: false
1043 predefined-parameters: |
1044 DEPLOY_SCENARIO=os-odl-nofeature-ha
1046 kill-phase-on: NEVER
1050 - name: 'apex-deploy-test-baremetal-master'
1051 node-parameters: false
1052 current-parameters: false
1053 predefined-parameters: |
1054 DEPLOY_SCENARIO=os-odl-nofeature-noha
1056 kill-phase-on: NEVER
1064 name: 'apex-create-snapshot'
1066 # Job template for clean
1068 # Required Variables:
1069 # stream: branch with - in place of / (eg. stable)
1075 !include-raw-escape: ./apex-snapshot-create.sh
1079 name: 'apex-upload-snapshot'
1081 # Job template for clean
1083 # Required Variables:
1084 # stream: branch with - in place of / (eg. stable)
1090 properties-content: ARTIFACT_TYPE=snapshot
1091 - 'apex-upload-artifact'
1095 name: 'apex-csit-promote-daily-{stream}'
1097 # Job template for promoting CSIT Snapshots
1099 # Required Variables:
1100 # stream: branch with - in place of / (eg. stable)
1101 # branch: branch (eg. stable)
1102 node: '{virtual-slave}'
1103 project-type: 'multijob'
1110 - project-parameter:
1111 project: '{project}'
1114 gs-pathname: '{gs-pathname}'
1118 use-build-blocker: true
1128 - timed: '0 12 * * 0'
1133 condition: SUCCESSFUL
1135 - name: 'apex-build-{stream}'
1136 current-parameters: false
1137 predefined-parameters: |
1138 GERRIT_BRANCH=$GERRIT_BRANCH
1139 GERRIT_REFSPEC=$GERRIT_REFSPEC
1140 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1141 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1142 node-parameters: false
1143 kill-phase-on: FAILURE
1147 name: deploy-virtual
1148 condition: SUCCESSFUL
1150 - name: 'apex-deploy-virtual-{stream}'
1151 current-parameters: false
1152 predefined-parameters: |
1153 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1155 GERRIT_BRANCH=$GERRIT_BRANCH
1156 GERRIT_REFSPEC=$GERRIT_REFSPEC
1157 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1158 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1159 node-parameters: true
1160 kill-phase-on: FAILURE
1164 name: functest-smoke
1165 condition: SUCCESSFUL
1167 - name: 'functest-apex-virtual-suite-{stream}'
1168 current-parameters: false
1169 predefined-parameters: |
1170 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1171 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1172 GERRIT_BRANCH=$GERRIT_BRANCH
1173 GERRIT_REFSPEC=$GERRIT_REFSPEC
1174 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1175 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1176 node-parameters: true
1177 kill-phase-on: FAILURE
1181 name: create snapshot
1182 condition: SUCCESSFUL
1184 - name: 'apex-create-snapshot'
1185 current-parameters: true
1186 node-parameters: true
1187 kill-phase-on: FAILURE
1191 name: upload snapshot
1192 condition: SUCCESSFUL
1194 - name: 'apex-upload-snapshot'
1195 current-parameters: true
1196 node-parameters: true
1197 kill-phase-on: FAILURE
1203 name: 'apex-fdio-promote-daily-{stream}'
1205 # Job template for promoting CSIT Snapshots
1207 # Required Variables:
1208 # stream: branch with - in place of / (eg. stable)
1209 # branch: branch (eg. stable)
1210 node: '{virtual-slave}'
1211 project-type: 'multijob'
1218 - project-parameter:
1219 project: '{project}'
1222 gs-pathname: '{gs-pathname}'
1226 use-build-blocker: true
1238 condition: SUCCESSFUL
1240 - name: 'apex-build-{stream}'
1241 current-parameters: false
1242 predefined-parameters: |
1243 GERRIT_BRANCH=$GERRIT_BRANCH
1244 GERRIT_REFSPEC=$GERRIT_REFSPEC
1245 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1246 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1247 node-parameters: false
1248 kill-phase-on: FAILURE
1252 name: deploy-virtual
1253 condition: SUCCESSFUL
1255 - name: 'apex-deploy-virtual-{stream}'
1256 current-parameters: false
1257 predefined-parameters: |
1258 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
1260 GERRIT_BRANCH=$GERRIT_BRANCH
1261 GERRIT_REFSPEC=$GERRIT_REFSPEC
1262 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1263 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1264 node-parameters: true
1265 kill-phase-on: FAILURE
1269 name: create snapshot
1270 condition: SUCCESSFUL
1272 - name: 'apex-create-snapshot'
1273 current-parameters: true
1274 node-parameters: true
1275 kill-phase-on: FAILURE
1279 name: upload snapshot
1280 condition: SUCCESSFUL
1282 - name: 'apex-upload-snapshot'
1283 current-parameters: true
1284 node-parameters: true
1285 kill-phase-on: FAILURE
1290 name: 'apex-gs-clean-{stream}'
1292 # Job template for clean
1294 # Required Variables:
1295 # stream: branch with - in place of / (eg. stable)
1301 - project-parameter:
1302 project: '{project}'
1305 gs-pathname: '{gs-pathname}'
1311 - 'apex-gs-clean-{stream}'
1313 ########################
1315 ########################
1317 name: apex-parameter
1322 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1324 name: ARTIFACT_VERSION
1326 description: "Artifact version type"
1328 name: BUILD_DIRECTORY
1329 default: $WORKSPACE/.build
1330 description: "Directory where the build artifact will be located upon the completion of the build."
1332 name: CACHE_DIRECTORY
1333 default: $HOME/opnfv/cache{gs-pathname}
1334 description: "Directory where the cache to be used during the build is located."
1337 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1338 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1341 default: '{gs-pathname}'
1342 description: "Version directory where opnfv artifacts are stored in gs repository"
1345 default: $GS_BASE{gs-pathname}
1346 description: "URL to Google Storage."
1348 ########################
1350 ########################
1352 name: 'apex-unit-test'
1355 !include-raw: ./apex-unit-test.sh
1361 !include-raw: ./apex-build.sh
1364 name: 'apex-workspace-cleanup'
1367 !include-raw: ./apex-workspace-cleanup.sh
1370 name: 'apex-iso-verify'
1373 !include-raw: ./apex-iso-verify.sh
1377 name: 'apex-upload-artifact'
1380 !include-raw: ./apex-upload-artifact.sh
1383 name: 'apex-download-artifact'
1386 !include-raw: ./apex-download-artifact.sh
1389 name: 'apex-gs-cleanup'
1392 !include-raw: ./apex-gs-cleanup.sh
1398 !include-raw: ./apex-deploy.sh
1400 #######################
1402 ########################
1406 - timed: '0 3 1 1 7'
1410 - timed: '0 12 * * *'
1412 name: 'apex-gs-clean-{stream}'
1414 - timed: '0 2 * * *'