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}'
427 properties-content: ARTIFACT_TYPE=rpm
428 - 'apex-upload-artifact'
432 name: 'apex-verify-iso-{stream}'
434 # Job template for builds
436 # Required Variables:
437 # stream: branch with - in place of / (eg. stable)
438 # branch: branch (eg. stable)
439 node: '{virtual-slave}'
450 gs-pathname: '{gs-pathname}'
453 default: https://gerrit.opnfv.org/gerrit/$PROJECT
454 description: "Used for overriding the GIT URL coming from parameters macro."
462 use-build-blocker: true
474 properties-content: ARTIFACT_TYPE=iso
475 - 'apex-upload-artifact'
479 name: 'apex-deploy-{platform}-{stream}'
481 # Job template for virtual deployment
483 # Required Variables:
484 # stream: branch with - in place of / (eg. stable)
485 # branch: branch (eg. stable)
486 node: 'apex-{platform}-{stream}'
500 gs-pathname: '{gs-pathname}'
502 name: DEPLOY_SCENARIO
503 default: '{verify-scenario}'
504 description: "Scenario to deploy with."
508 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
513 use-build-blocker: true
523 - description-setter:
524 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
525 - 'apex-download-artifact'
527 - 'apex-workspace-cleanup'
530 # Baremetal Deploy and Test
532 name: 'apex-deploy-test-baremetal-{stream}'
534 # Job template for daily build
536 # Required Variables:
537 # stream: branch with - in place of / (eg. stable)
538 # branch: branch (eg. stable)
539 project-type: 'multijob'
547 - '{project}-defaults'
548 - '{project}-baremetal-{stream}-defaults'
553 gs-pathname: '{gs-pathname}'
555 name: DEPLOY_SCENARIO
556 default: '{verify-scenario}'
557 description: "Scenario to deploy with."
561 use-build-blocker: true
567 - 'apex-.*-promote.*'
569 - description-setter:
570 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
572 name: 'Baremetal Deploy'
575 - name: 'apex-deploy-baremetal-{stream}'
576 node-parameters: true
577 current-parameters: true
578 predefined-parameters: |
580 kill-phase-on: FAILURE
587 - name: 'functest-apex-baremetal-daily-{stream}'
588 node-parameters: true
589 current-parameters: false
590 predefined-parameters:
591 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
599 - name: 'yardstick-apex-baremetal-daily-{stream}'
600 node-parameters: true
601 current-parameters: false
602 predefined-parameters:
603 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
611 name: 'apex-daily-danube'
613 # Job template for daily build
615 # Required Variables:
616 # stream: branch with - in place of / (eg. stable)
617 # branch: branch (eg. stable)
618 project-type: 'multijob'
620 node: 'apex-baremetal-danube'
628 - '{project}-defaults'
629 - '{project}-baremetal-danube-defaults'
632 branch: 'stable/danube'
634 gs-pathname: '/danube'
645 condition: SUCCESSFUL
647 - name: 'apex-build-danube'
648 current-parameters: false
649 predefined-parameters: |
650 GERRIT_BRANCH=$GERRIT_BRANCH
651 GERRIT_REFSPEC=$GERRIT_REFSPEC
652 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
653 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
654 node-parameters: true
655 kill-phase-on: FAILURE
659 name: 'Verify and upload ISO'
660 condition: SUCCESSFUL
662 - name: 'apex-verify-iso-danube'
663 current-parameters: false
664 predefined-parameters: |
665 BUILD_DIRECTORY=apex-build-danube/.build
666 GERRIT_BRANCH=$GERRIT_BRANCH
667 GERRIT_REFSPEC=$GERRIT_REFSPEC
668 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
669 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
670 node-parameters: true
671 kill-phase-on: FAILURE
675 name: Baremetal Deploy and Test Phase
676 condition: SUCCESSFUL
679 - name: 'apex-deploy-test-baremetal-danube'
680 node-parameters: false
681 current-parameters: false
682 predefined-parameters: |
683 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
689 - name: 'apex-deploy-test-baremetal-danube'
690 node-parameters: false
691 current-parameters: false
692 predefined-parameters: |
693 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
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-ipv6
709 - name: 'apex-deploy-test-baremetal-danube'
710 node-parameters: false
711 current-parameters: false
712 predefined-parameters: |
713 DEPLOY_SCENARIO=os-nosdn-ovs-noha
719 - name: 'apex-deploy-test-baremetal-danube'
720 node-parameters: false
721 current-parameters: false
722 predefined-parameters: |
723 DEPLOY_SCENARIO=os-nosdn-ovs-ha
729 - name: 'apex-deploy-test-baremetal-danube'
730 node-parameters: false
731 current-parameters: false
732 predefined-parameters: |
733 DEPLOY_SCENARIO=os-nosdn-fdio-noha
739 - name: 'apex-deploy-test-baremetal-danube'
740 node-parameters: false
741 current-parameters: false
742 predefined-parameters: |
743 DEPLOY_SCENARIO=os-nosdn-fdio-ha
749 - name: 'apex-deploy-test-baremetal-danube'
750 node-parameters: false
751 current-parameters: false
752 predefined-parameters: |
753 DEPLOY_SCENARIO=os-nosdn-kvm-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-noha
769 - name: 'apex-deploy-test-baremetal-danube'
770 node-parameters: false
771 current-parameters: false
772 predefined-parameters: |
773 DEPLOY_SCENARIO=os-odl_l2-fdio-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-ha
789 - name: 'apex-deploy-test-baremetal-danube'
790 node-parameters: false
791 current-parameters: false
792 predefined-parameters: |
793 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
799 - name: 'apex-deploy-test-baremetal-danube'
800 node-parameters: false
801 current-parameters: false
802 predefined-parameters: |
803 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
809 - name: 'apex-deploy-test-baremetal-danube'
810 node-parameters: false
811 current-parameters: false
812 predefined-parameters: |
813 DEPLOY_SCENARIO=os-odl_l3-nofeature-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-ha
829 - name: 'apex-deploy-test-baremetal-danube'
830 node-parameters: false
831 current-parameters: false
832 predefined-parameters: |
833 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
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-ha
849 - name: 'apex-deploy-test-baremetal-danube'
850 node-parameters: false
851 current-parameters: false
852 predefined-parameters: |
853 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
859 - name: 'apex-deploy-test-baremetal-danube'
860 node-parameters: false
861 current-parameters: false
862 predefined-parameters: |
863 DEPLOY_SCENARIO=os-odl-gluon-noha
869 - name: 'apex-deploy-test-baremetal-danube'
870 node-parameters: false
871 current-parameters: false
872 predefined-parameters: |
873 DEPLOY_SCENARIO=os-odl_l3-fdio-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-ha
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_dvr-noha
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-ha
909 - name: 'apex-deploy-test-baremetal-danube'
910 node-parameters: false
911 current-parameters: false
912 predefined-parameters: |
913 DEPLOY_SCENARIO=os-odl_l3-csit-noha
919 - name: 'apex-deploy-test-baremetal-danube'
920 node-parameters: false
921 current-parameters: false
922 predefined-parameters: |
923 DEPLOY_SCENARIO=os-onos-nofeature-ha
929 - name: 'apex-deploy-test-baremetal-danube'
930 node-parameters: false
931 current-parameters: false
932 predefined-parameters: |
933 DEPLOY_SCENARIO=os-ovn-nofeature-noha
942 name: 'apex-daily-master'
944 # Job template for daily build
946 # Required Variables:
947 # stream: branch with - in place of / (eg. stable)
948 # branch: branch (eg. stable)
949 project-type: 'multijob'
951 node: 'apex-baremetal-master'
959 - '{project}-defaults'
960 - '{project}-baremetal-master-defaults'
976 condition: SUCCESSFUL
978 - name: 'apex-build-master'
979 current-parameters: false
980 predefined-parameters: |
981 GERRIT_BRANCH=$GERRIT_BRANCH
982 GERRIT_REFSPEC=$GERRIT_REFSPEC
983 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
984 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
985 node-parameters: true
986 kill-phase-on: FAILURE
990 name: 'Verify and upload ISO'
991 condition: SUCCESSFUL
993 - name: 'apex-verify-iso-master'
994 current-parameters: false
995 predefined-parameters: |
996 BUILD_DIRECTORY=apex-build-master/.build
997 GERRIT_BRANCH=$GERRIT_BRANCH
998 GERRIT_REFSPEC=$GERRIT_REFSPEC
999 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1000 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1001 node-parameters: true
1002 kill-phase-on: FAILURE
1006 name: Baremetal Deploy and Test Phase
1007 condition: SUCCESSFUL
1010 - name: 'apex-deploy-test-baremetal-master'
1011 node-parameters: false
1012 current-parameters: false
1013 predefined-parameters: |
1014 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1016 kill-phase-on: NEVER
1020 - name: 'apex-deploy-test-baremetal-master'
1021 node-parameters: false
1022 current-parameters: false
1023 predefined-parameters: |
1024 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
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-odl-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-noha
1046 kill-phase-on: NEVER
1054 name: 'apex-create-snapshot'
1056 # Job template for clean
1058 # Required Variables:
1059 # stream: branch with - in place of / (eg. stable)
1065 !include-raw-escape: ./apex-snapshot-create.sh
1069 name: 'apex-upload-snapshot'
1071 # Job template for clean
1073 # Required Variables:
1074 # stream: branch with - in place of / (eg. stable)
1080 properties-content: ARTIFACT_TYPE=snapshot
1081 - 'apex-upload-artifact'
1085 name: 'apex-csit-promote-daily-{stream}'
1087 # Job template for promoting CSIT Snapshots
1089 # Required Variables:
1090 # stream: branch with - in place of / (eg. stable)
1091 # branch: branch (eg. stable)
1092 node: '{virtual-slave}'
1093 project-type: 'multijob'
1100 - project-parameter:
1101 project: '{project}'
1104 gs-pathname: '{gs-pathname}'
1108 use-build-blocker: true
1118 - timed: '0 12 * * 0'
1123 condition: SUCCESSFUL
1125 - name: 'apex-build-{stream}'
1126 current-parameters: false
1127 predefined-parameters: |
1128 GERRIT_BRANCH=$GERRIT_BRANCH
1129 GERRIT_REFSPEC=$GERRIT_REFSPEC
1130 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1131 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1132 node-parameters: false
1133 kill-phase-on: FAILURE
1137 name: deploy-virtual
1138 condition: SUCCESSFUL
1140 - name: 'apex-deploy-virtual-{stream}'
1141 current-parameters: false
1142 predefined-parameters: |
1143 DEPLOY_SCENARIO=os-odl_l3-csit-noha
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: true
1150 kill-phase-on: FAILURE
1154 name: functest-smoke
1155 condition: SUCCESSFUL
1157 - name: 'functest-apex-virtual-suite-{stream}'
1158 current-parameters: false
1159 predefined-parameters: |
1160 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1161 FUNCTEST_SUITE_NAME=tempest_smoke_serial
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: create snapshot
1172 condition: SUCCESSFUL
1174 - name: 'apex-create-snapshot'
1175 current-parameters: true
1176 node-parameters: true
1177 kill-phase-on: FAILURE
1181 name: upload snapshot
1182 condition: SUCCESSFUL
1184 - name: 'apex-upload-snapshot'
1185 current-parameters: true
1186 node-parameters: true
1187 kill-phase-on: FAILURE
1193 name: 'apex-fdio-promote-daily-{stream}'
1195 # Job template for promoting CSIT Snapshots
1197 # Required Variables:
1198 # stream: branch with - in place of / (eg. stable)
1199 # branch: branch (eg. stable)
1200 node: '{virtual-slave}'
1201 project-type: 'multijob'
1208 - project-parameter:
1209 project: '{project}'
1212 gs-pathname: '{gs-pathname}'
1216 use-build-blocker: true
1228 condition: SUCCESSFUL
1230 - name: 'apex-build-{stream}'
1231 current-parameters: false
1232 predefined-parameters: |
1233 GERRIT_BRANCH=$GERRIT_BRANCH
1234 GERRIT_REFSPEC=$GERRIT_REFSPEC
1235 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1236 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1237 node-parameters: false
1238 kill-phase-on: FAILURE
1242 name: deploy-virtual
1243 condition: SUCCESSFUL
1245 - name: 'apex-deploy-virtual-{stream}'
1246 current-parameters: false
1247 predefined-parameters: |
1248 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
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: true
1255 kill-phase-on: FAILURE
1259 name: create snapshot
1260 condition: SUCCESSFUL
1262 - name: 'apex-create-snapshot'
1263 current-parameters: true
1264 node-parameters: true
1265 kill-phase-on: FAILURE
1269 name: upload snapshot
1270 condition: SUCCESSFUL
1272 - name: 'apex-upload-snapshot'
1273 current-parameters: true
1274 node-parameters: true
1275 kill-phase-on: FAILURE
1280 name: 'apex-gs-clean-{stream}'
1282 # Job template for clean
1284 # Required Variables:
1285 # stream: branch with - in place of / (eg. stable)
1291 - project-parameter:
1292 project: '{project}'
1295 gs-pathname: '{gs-pathname}'
1301 - 'apex-gs-clean-{stream}'
1303 ########################
1305 ########################
1307 name: apex-parameter
1312 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1314 name: ARTIFACT_VERSION
1316 description: "Artifact version type"
1318 name: BUILD_DIRECTORY
1319 default: $WORKSPACE/.build
1320 description: "Directory where the build artifact will be located upon the completion of the build."
1322 name: CACHE_DIRECTORY
1323 default: $HOME/opnfv/cache{gs-pathname}
1324 description: "Directory where the cache to be used during the build is located."
1327 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1328 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1331 default: '{gs-pathname}'
1332 description: "Version directory where opnfv artifacts are stored in gs repository"
1335 default: $GS_BASE{gs-pathname}
1336 description: "URL to Google Storage."
1338 ########################
1340 ########################
1342 name: 'apex-unit-test'
1345 !include-raw: ./apex-unit-test.sh
1351 !include-raw: ./apex-build.sh
1354 name: 'apex-workspace-cleanup'
1357 !include-raw: ./apex-workspace-cleanup.sh
1360 name: 'apex-iso-verify'
1363 !include-raw: ./apex-iso-verify.sh
1367 name: 'apex-upload-artifact'
1370 !include-raw: ./apex-upload-artifact.sh
1373 name: 'apex-download-artifact'
1376 !include-raw: ./apex-download-artifact.sh
1379 name: 'apex-gs-cleanup'
1382 !include-raw: ./apex-gs-cleanup.sh
1388 !include-raw: ./apex-deploy.sh
1390 #######################
1392 ########################
1396 - timed: '0 3 1 1 7'
1400 - timed: '0 12 * * *'
1402 name: 'apex-gs-clean-{stream}'
1404 - timed: '0 2 * * *'