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
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
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
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
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
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: |
378 DEPLOY_SCENARIO={verify-scenario}
379 kill-phase-on: FAILURE
386 - name: 'functest-apex-baremetal-daily-{stream}'
387 node-parameters: true
388 current-parameters: false
389 predefined-parameters:
390 DEPLOY_SCENARIO={verify-scenario}
397 name: 'apex-build-{stream}'
399 # Job template for builds
401 # Required Variables:
402 # stream: branch with - in place of / (eg. stable)
403 # branch: branch (eg. stable)
404 node: '{build-slave}'
411 - '{project}-defaults'
416 gs-pathname: '{gs-pathname}'
436 properties-content: ARTIFACT_TYPE=rpm
437 - 'apex-upload-artifact'
441 name: 'apex-verify-iso-{stream}'
443 # Job template for builds
445 # Required Variables:
446 # stream: branch with - in place of / (eg. stable)
447 # branch: branch (eg. stable)
448 node: '{virtual-slave}'
459 gs-pathname: '{gs-pathname}'
462 default: https://gerrit.opnfv.org/gerrit/$PROJECT
463 description: "Used for overriding the GIT URL coming from parameters macro."
471 use-build-blocker: true
483 properties-content: ARTIFACT_TYPE=iso
484 - 'apex-upload-artifact'
488 name: 'apex-deploy-{platform}-{stream}'
490 # Job template for virtual deployment
492 # Required Variables:
493 # stream: branch with - in place of / (eg. stable)
494 # branch: branch (eg. stable)
495 node: 'apex-{platform}-{stream}'
514 gs-pathname: '{gs-pathname}'
516 name: DEPLOY_SCENARIO
517 default: '{verify-scenario}'
518 description: "Scenario to deploy with."
522 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
527 use-build-blocker: true
537 - description-setter:
538 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
539 - 'apex-download-artifact'
541 - 'apex-workspace-cleanup'
544 # Baremetal Deploy and Test
546 name: 'apex-deploy-test-baremetal-{stream}'
548 # Job template for daily build
550 # Required Variables:
551 # stream: branch with - in place of / (eg. stable)
552 # branch: branch (eg. stable)
553 project-type: 'multijob'
561 - '{project}-defaults'
562 - '{project}-baremetal-{stream}-defaults'
567 gs-pathname: '{gs-pathname}'
569 name: DEPLOY_SCENARIO
570 default: '{verify-scenario}'
571 description: "Scenario to deploy with."
575 use-build-blocker: true
581 - 'apex-.*-promote.*'
583 - description-setter:
584 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
586 name: 'Baremetal Deploy'
589 - name: 'apex-deploy-baremetal-{stream}'
590 node-parameters: true
591 current-parameters: true
592 predefined-parameters: |
594 kill-phase-on: FAILURE
601 - name: 'functest-apex-baremetal-daily-{stream}'
602 node-parameters: true
603 current-parameters: false
604 predefined-parameters:
605 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
613 - name: 'yardstick-apex-baremetal-daily-{stream}'
614 node-parameters: true
615 current-parameters: false
616 predefined-parameters:
617 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
625 name: 'apex-daily-danube'
627 # Job template for daily build
629 # Required Variables:
630 # stream: branch with - in place of / (eg. stable)
631 # branch: branch (eg. stable)
632 project-type: 'multijob'
634 node: 'apex-baremetal-danube'
642 - '{project}-defaults'
643 - '{project}-baremetal-danube-defaults'
646 branch: 'stable/danube'
648 gs-pathname: '/danube'
659 condition: SUCCESSFUL
661 - name: 'apex-build-danube'
662 current-parameters: false
663 predefined-parameters: |
664 GERRIT_BRANCH=$GERRIT_BRANCH
665 GERRIT_REFSPEC=$GERRIT_REFSPEC
666 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
667 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
668 node-parameters: true
669 kill-phase-on: FAILURE
673 name: 'Verify and upload ISO'
674 condition: SUCCESSFUL
676 - name: 'apex-verify-iso-danube'
677 current-parameters: false
678 predefined-parameters: |
679 BUILD_DIRECTORY=apex-build-danube/.build
680 GERRIT_BRANCH=$GERRIT_BRANCH
681 GERRIT_REFSPEC=$GERRIT_REFSPEC
682 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
683 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
684 node-parameters: true
685 kill-phase-on: FAILURE
689 name: Baremetal Deploy and Test Phase
690 condition: SUCCESSFUL
693 - name: 'apex-deploy-test-baremetal-danube'
694 node-parameters: false
695 current-parameters: false
696 predefined-parameters: |
697 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
703 - name: 'apex-deploy-test-baremetal-danube'
704 node-parameters: false
705 current-parameters: false
706 predefined-parameters: |
707 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
713 - name: 'apex-deploy-test-baremetal-danube'
714 node-parameters: false
715 current-parameters: false
716 predefined-parameters: |
717 DEPLOY_SCENARIO=os-nosdn-nofeature-ha-ipv6
723 - name: 'apex-deploy-test-baremetal-danube'
724 node-parameters: false
725 current-parameters: false
726 predefined-parameters: |
727 DEPLOY_SCENARIO=os-nosdn-ovs-noha
733 - name: 'apex-deploy-test-baremetal-danube'
734 node-parameters: false
735 current-parameters: false
736 predefined-parameters: |
737 DEPLOY_SCENARIO=os-nosdn-ovs-ha
743 - name: 'apex-deploy-test-baremetal-danube'
744 node-parameters: false
745 current-parameters: false
746 predefined-parameters: |
747 DEPLOY_SCENARIO=os-nosdn-fdio-noha
753 - name: 'apex-deploy-test-baremetal-danube'
754 node-parameters: false
755 current-parameters: false
756 predefined-parameters: |
757 DEPLOY_SCENARIO=os-nosdn-fdio-ha
763 - name: 'apex-deploy-test-baremetal-danube'
764 node-parameters: false
765 current-parameters: false
766 predefined-parameters: |
767 DEPLOY_SCENARIO=os-nosdn-kvm-ha
773 - name: 'apex-deploy-test-baremetal-danube'
774 node-parameters: false
775 current-parameters: false
776 predefined-parameters: |
777 DEPLOY_SCENARIO=os-nosdn-kvm-noha
783 - name: 'apex-deploy-test-baremetal-danube'
784 node-parameters: false
785 current-parameters: false
786 predefined-parameters: |
787 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
793 - name: 'apex-deploy-test-baremetal-danube'
794 node-parameters: false
795 current-parameters: false
796 predefined-parameters: |
797 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
803 - name: 'apex-deploy-test-baremetal-danube'
804 node-parameters: false
805 current-parameters: false
806 predefined-parameters: |
807 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
813 - name: 'apex-deploy-test-baremetal-danube'
814 node-parameters: false
815 current-parameters: false
816 predefined-parameters: |
817 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
823 - name: 'apex-deploy-test-baremetal-danube'
824 node-parameters: false
825 current-parameters: false
826 predefined-parameters: |
827 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
833 - name: 'apex-deploy-test-baremetal-danube'
834 node-parameters: false
835 current-parameters: false
836 predefined-parameters: |
837 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
843 - name: 'apex-deploy-test-baremetal-danube'
844 node-parameters: false
845 current-parameters: false
846 predefined-parameters: |
847 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
853 - name: 'apex-deploy-test-baremetal-danube'
854 node-parameters: false
855 current-parameters: false
856 predefined-parameters: |
857 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
863 - name: 'apex-deploy-test-baremetal-danube'
864 node-parameters: false
865 current-parameters: false
866 predefined-parameters: |
867 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
873 - name: 'apex-deploy-test-baremetal-danube'
874 node-parameters: false
875 current-parameters: false
876 predefined-parameters: |
877 DEPLOY_SCENARIO=os-odl-gluon-noha
883 - name: 'apex-deploy-test-baremetal-danube'
884 node-parameters: false
885 current-parameters: false
886 predefined-parameters: |
887 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
893 - name: 'apex-deploy-test-baremetal-danube'
894 node-parameters: false
895 current-parameters: false
896 predefined-parameters: |
897 DEPLOY_SCENARIO=os-odl_l3-fdio-ha
903 - name: 'apex-deploy-test-baremetal-danube'
904 node-parameters: false
905 current-parameters: false
906 predefined-parameters: |
907 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-noha
913 - name: 'apex-deploy-test-baremetal-danube'
914 node-parameters: false
915 current-parameters: false
916 predefined-parameters: |
917 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-ha
923 - name: 'apex-deploy-test-baremetal-danube'
924 node-parameters: false
925 current-parameters: false
926 predefined-parameters: |
927 DEPLOY_SCENARIO=os-odl_l3-csit-noha
933 - name: 'apex-deploy-test-baremetal-danube'
934 node-parameters: false
935 current-parameters: false
936 predefined-parameters: |
937 DEPLOY_SCENARIO=os-onos-nofeature-ha
943 - name: 'apex-deploy-test-baremetal-danube'
944 node-parameters: false
945 current-parameters: false
946 predefined-parameters: |
947 DEPLOY_SCENARIO=os-ovn-nofeature-noha
956 name: 'apex-daily-master'
958 # Job template for daily build
960 # Required Variables:
961 # stream: branch with - in place of / (eg. stable)
962 # branch: branch (eg. stable)
963 project-type: 'multijob'
965 node: 'apex-baremetal-master'
973 - '{project}-defaults'
974 - '{project}-baremetal-master-defaults'
990 condition: SUCCESSFUL
992 - name: 'apex-build-master'
993 current-parameters: false
994 predefined-parameters: |
995 GERRIT_BRANCH=$GERRIT_BRANCH
996 GERRIT_REFSPEC=$GERRIT_REFSPEC
997 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
998 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
999 node-parameters: true
1000 kill-phase-on: FAILURE
1004 name: 'Verify and upload ISO'
1005 condition: SUCCESSFUL
1007 - name: 'apex-verify-iso-master'
1008 current-parameters: false
1009 predefined-parameters: |
1010 BUILD_DIRECTORY=apex-build-master/.build
1011 GERRIT_BRANCH=$GERRIT_BRANCH
1012 GERRIT_REFSPEC=$GERRIT_REFSPEC
1013 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1014 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1015 node-parameters: true
1016 kill-phase-on: FAILURE
1020 name: Baremetal Deploy and Test Phase
1021 condition: SUCCESSFUL
1024 - name: 'apex-deploy-test-baremetal-master'
1025 node-parameters: false
1026 current-parameters: false
1027 predefined-parameters: |
1028 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1030 kill-phase-on: NEVER
1034 - name: 'apex-deploy-test-baremetal-master'
1035 node-parameters: false
1036 current-parameters: false
1037 predefined-parameters: |
1038 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
1040 kill-phase-on: NEVER
1044 - name: 'apex-deploy-test-baremetal-master'
1045 node-parameters: false
1046 current-parameters: false
1047 predefined-parameters: |
1048 DEPLOY_SCENARIO=os-odl-nofeature-ha
1050 kill-phase-on: NEVER
1054 - name: 'apex-deploy-test-baremetal-master'
1055 node-parameters: false
1056 current-parameters: false
1057 predefined-parameters: |
1058 DEPLOY_SCENARIO=os-odl-nofeature-noha
1060 kill-phase-on: NEVER
1068 name: 'apex-create-snapshot'
1070 # Job template for clean
1072 # Required Variables:
1073 # stream: branch with - in place of / (eg. stable)
1079 !include-raw-escape: ./apex-snapshot-create.sh
1083 name: 'apex-upload-snapshot'
1085 # Job template for clean
1087 # Required Variables:
1088 # stream: branch with - in place of / (eg. stable)
1094 properties-content: ARTIFACT_TYPE=snapshot
1095 - 'apex-upload-artifact'
1099 name: 'apex-csit-promote-daily-{stream}'
1101 # Job template for promoting CSIT Snapshots
1103 # Required Variables:
1104 # stream: branch with - in place of / (eg. stable)
1105 # branch: branch (eg. stable)
1106 node: '{virtual-slave}'
1107 project-type: 'multijob'
1114 - project-parameter:
1115 project: '{project}'
1118 gs-pathname: '{gs-pathname}'
1122 use-build-blocker: true
1131 - timed: '0 12 * * 0'
1136 condition: SUCCESSFUL
1138 - name: 'apex-build-{stream}'
1139 current-parameters: false
1140 predefined-parameters: |
1141 GERRIT_BRANCH=$GERRIT_BRANCH
1142 GERRIT_REFSPEC=$GERRIT_REFSPEC
1143 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1144 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1145 node-parameters: false
1146 kill-phase-on: FAILURE
1150 name: deploy-virtual
1151 condition: SUCCESSFUL
1153 - name: 'apex-deploy-virtual-{stream}'
1154 current-parameters: false
1155 predefined-parameters: |
1156 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1158 GERRIT_BRANCH=$GERRIT_BRANCH
1159 GERRIT_REFSPEC=$GERRIT_REFSPEC
1160 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1161 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1162 node-parameters: true
1163 kill-phase-on: FAILURE
1167 name: functest-smoke
1168 condition: SUCCESSFUL
1170 - name: 'functest-apex-virtual-suite-{stream}'
1171 current-parameters: false
1172 predefined-parameters: |
1173 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1174 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1175 GERRIT_BRANCH=$GERRIT_BRANCH
1176 GERRIT_REFSPEC=$GERRIT_REFSPEC
1177 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1178 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1179 node-parameters: true
1180 kill-phase-on: FAILURE
1184 name: create snapshot
1185 condition: SUCCESSFUL
1187 - name: 'apex-create-snapshot'
1188 current-parameters: true
1189 node-parameters: true
1190 kill-phase-on: FAILURE
1194 name: upload snapshot
1195 condition: SUCCESSFUL
1197 - name: 'apex-upload-snapshot'
1198 current-parameters: true
1199 node-parameters: true
1200 kill-phase-on: FAILURE
1206 name: 'apex-fdio-promote-daily-{stream}'
1208 # Job template for promoting CSIT Snapshots
1210 # Required Variables:
1211 # stream: branch with - in place of / (eg. stable)
1212 # branch: branch (eg. stable)
1213 node: '{virtual-slave}'
1214 project-type: 'multijob'
1221 - project-parameter:
1222 project: '{project}'
1225 gs-pathname: '{gs-pathname}'
1229 use-build-blocker: true
1240 condition: SUCCESSFUL
1242 - name: 'apex-build-{stream}'
1243 current-parameters: false
1244 predefined-parameters: |
1245 GERRIT_BRANCH=$GERRIT_BRANCH
1246 GERRIT_REFSPEC=$GERRIT_REFSPEC
1247 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1248 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1249 node-parameters: false
1250 kill-phase-on: FAILURE
1254 name: deploy-virtual
1255 condition: SUCCESSFUL
1257 - name: 'apex-deploy-virtual-{stream}'
1258 current-parameters: false
1259 predefined-parameters: |
1260 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
1262 GERRIT_BRANCH=$GERRIT_BRANCH
1263 GERRIT_REFSPEC=$GERRIT_REFSPEC
1264 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1265 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1266 node-parameters: true
1267 kill-phase-on: FAILURE
1271 name: create snapshot
1272 condition: SUCCESSFUL
1274 - name: 'apex-create-snapshot'
1275 current-parameters: true
1276 node-parameters: true
1277 kill-phase-on: FAILURE
1281 name: upload snapshot
1282 condition: SUCCESSFUL
1284 - name: 'apex-upload-snapshot'
1285 current-parameters: true
1286 node-parameters: true
1287 kill-phase-on: FAILURE
1292 name: 'apex-gs-clean-{stream}'
1294 # Job template for clean
1296 # Required Variables:
1297 # stream: branch with - in place of / (eg. stable)
1303 - project-parameter:
1304 project: '{project}'
1307 gs-pathname: '{gs-pathname}'
1313 - 'apex-gs-clean-{stream}'
1315 ########################
1317 ########################
1319 name: apex-parameter
1324 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1326 name: ARTIFACT_VERSION
1328 description: "Artifact version type"
1330 name: BUILD_DIRECTORY
1331 default: $WORKSPACE/.build
1332 description: "Directory where the build artifact will be located upon the completion of the build."
1334 name: CACHE_DIRECTORY
1335 default: $HOME/opnfv/apex-cache{gs-pathname}
1336 description: "Directory where the cache to be used during the build is located."
1339 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1340 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1343 default: '{gs-pathname}'
1344 description: "Version directory where opnfv artifacts are stored in gs repository"
1347 default: $GS_BASE{gs-pathname}
1348 description: "URL to Google Storage."
1350 ########################
1352 ########################
1354 name: 'apex-unit-test'
1357 !include-raw: ./apex-unit-test.sh
1363 !include-raw: ./apex-build.sh
1366 name: 'apex-workspace-cleanup'
1369 !include-raw: ./apex-workspace-cleanup.sh
1372 name: 'apex-iso-verify'
1375 !include-raw: ./apex-iso-verify.sh
1379 name: 'apex-upload-artifact'
1382 !include-raw: ./apex-upload-artifact.sh
1385 name: 'apex-download-artifact'
1388 !include-raw: ./apex-download-artifact.sh
1391 name: 'apex-gs-cleanup'
1394 !include-raw: ./apex-gs-cleanup.sh
1400 !include-raw: ./apex-deploy.sh
1402 #######################
1404 ########################
1408 - timed: '0 3 1 1 7'
1412 - timed: '0 12 * * *'
1414 name: 'apex-gs-clean-{stream}'
1416 - timed: '0 2 * * *'