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
539 - description-setter:
540 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
541 - 'apex-download-artifact'
543 - 'apex-workspace-cleanup'
546 # Baremetal Deploy and Test
548 name: 'apex-deploy-test-baremetal-{stream}'
550 # Job template for daily build
552 # Required Variables:
553 # stream: branch with - in place of / (eg. stable)
554 # branch: branch (eg. stable)
555 project-type: 'multijob'
563 - '{project}-defaults'
564 - '{project}-baremetal-{stream}-defaults'
569 gs-pathname: '{gs-pathname}'
571 name: DEPLOY_SCENARIO
572 default: '{verify-scenario}'
573 description: "Scenario to deploy with."
577 use-build-blocker: true
583 - 'apex-.*-promote.*'
585 - description-setter:
586 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
588 name: 'Baremetal Deploy'
591 - name: 'apex-deploy-baremetal-{stream}'
592 node-parameters: true
593 current-parameters: true
594 predefined-parameters: |
596 kill-phase-on: FAILURE
603 - name: 'functest-apex-baremetal-daily-{stream}'
604 node-parameters: true
605 current-parameters: false
606 predefined-parameters:
607 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
615 - name: 'yardstick-apex-baremetal-daily-{stream}'
616 node-parameters: true
617 current-parameters: false
618 predefined-parameters:
619 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
627 name: 'apex-daily-danube'
629 # Job template for daily build
631 # Required Variables:
632 # stream: branch with - in place of / (eg. stable)
633 # branch: branch (eg. stable)
634 project-type: 'multijob'
636 node: 'apex-baremetal-danube'
644 - '{project}-defaults'
645 - '{project}-baremetal-danube-defaults'
648 branch: 'stable/danube'
650 gs-pathname: '/danube'
661 condition: SUCCESSFUL
663 - name: 'apex-build-danube'
664 current-parameters: false
665 predefined-parameters: |
666 GERRIT_BRANCH=$GERRIT_BRANCH
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: 'Verify and upload ISO'
676 condition: SUCCESSFUL
678 - name: 'apex-verify-iso-danube'
679 current-parameters: false
680 predefined-parameters: |
681 BUILD_DIRECTORY=apex-build-danube/.build
682 GERRIT_BRANCH=$GERRIT_BRANCH
684 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
685 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
686 node-parameters: true
687 kill-phase-on: FAILURE
691 name: Baremetal Deploy and Test Phase
692 condition: SUCCESSFUL
695 - name: 'apex-deploy-test-baremetal-danube'
696 node-parameters: false
697 current-parameters: false
698 predefined-parameters: |
699 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
705 - name: 'apex-deploy-test-baremetal-danube'
706 node-parameters: false
707 current-parameters: false
708 predefined-parameters: |
709 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
715 - name: 'apex-deploy-test-baremetal-danube'
716 node-parameters: false
717 current-parameters: false
718 predefined-parameters: |
719 DEPLOY_SCENARIO=os-nosdn-nofeature-ha-ipv6
725 - name: 'apex-deploy-test-baremetal-danube'
726 node-parameters: false
727 current-parameters: false
728 predefined-parameters: |
729 DEPLOY_SCENARIO=os-nosdn-ovs-noha
735 - name: 'apex-deploy-test-baremetal-danube'
736 node-parameters: false
737 current-parameters: false
738 predefined-parameters: |
739 DEPLOY_SCENARIO=os-nosdn-ovs-ha
745 - name: 'apex-deploy-test-baremetal-danube'
746 node-parameters: false
747 current-parameters: false
748 predefined-parameters: |
749 DEPLOY_SCENARIO=os-nosdn-fdio-noha
755 - name: 'apex-deploy-test-baremetal-danube'
756 node-parameters: false
757 current-parameters: false
758 predefined-parameters: |
759 DEPLOY_SCENARIO=os-nosdn-fdio-ha
765 - name: 'apex-deploy-test-baremetal-danube'
766 node-parameters: false
767 current-parameters: false
768 predefined-parameters: |
769 DEPLOY_SCENARIO=os-nosdn-kvm-ha
775 - name: 'apex-deploy-test-baremetal-danube'
776 node-parameters: false
777 current-parameters: false
778 predefined-parameters: |
779 DEPLOY_SCENARIO=os-nosdn-kvm-noha
785 - name: 'apex-deploy-test-baremetal-danube'
786 node-parameters: false
787 current-parameters: false
788 predefined-parameters: |
789 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
795 - name: 'apex-deploy-test-baremetal-danube'
796 node-parameters: false
797 current-parameters: false
798 predefined-parameters: |
799 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
805 - name: 'apex-deploy-test-baremetal-danube'
806 node-parameters: false
807 current-parameters: false
808 predefined-parameters: |
809 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
815 - name: 'apex-deploy-test-baremetal-danube'
816 node-parameters: false
817 current-parameters: false
818 predefined-parameters: |
819 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
825 - name: 'apex-deploy-test-baremetal-danube'
826 node-parameters: false
827 current-parameters: false
828 predefined-parameters: |
829 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
835 - name: 'apex-deploy-test-baremetal-danube'
836 node-parameters: false
837 current-parameters: false
838 predefined-parameters: |
839 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
845 - name: 'apex-deploy-test-baremetal-danube'
846 node-parameters: false
847 current-parameters: false
848 predefined-parameters: |
849 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
855 - name: 'apex-deploy-test-baremetal-danube'
856 node-parameters: false
857 current-parameters: false
858 predefined-parameters: |
859 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
865 - name: 'apex-deploy-test-baremetal-danube'
866 node-parameters: false
867 current-parameters: false
868 predefined-parameters: |
869 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
875 - name: 'apex-deploy-test-baremetal-danube'
876 node-parameters: false
877 current-parameters: false
878 predefined-parameters: |
879 DEPLOY_SCENARIO=os-odl-gluon-noha
885 - name: 'apex-deploy-test-baremetal-danube'
886 node-parameters: false
887 current-parameters: false
888 predefined-parameters: |
889 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
895 - name: 'apex-deploy-test-baremetal-danube'
896 node-parameters: false
897 current-parameters: false
898 predefined-parameters: |
899 DEPLOY_SCENARIO=os-odl_l3-fdio-ha
905 - name: 'apex-deploy-test-baremetal-danube'
906 node-parameters: false
907 current-parameters: false
908 predefined-parameters: |
909 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-noha
915 - name: 'apex-deploy-test-baremetal-danube'
916 node-parameters: false
917 current-parameters: false
918 predefined-parameters: |
919 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-ha
925 - name: 'apex-deploy-test-baremetal-danube'
926 node-parameters: false
927 current-parameters: false
928 predefined-parameters: |
929 DEPLOY_SCENARIO=os-odl_l3-csit-noha
935 - name: 'apex-deploy-test-baremetal-danube'
936 node-parameters: false
937 current-parameters: false
938 predefined-parameters: |
939 DEPLOY_SCENARIO=os-onos-nofeature-ha
945 - name: 'apex-deploy-test-baremetal-danube'
946 node-parameters: false
947 current-parameters: false
948 predefined-parameters: |
949 DEPLOY_SCENARIO=os-ovn-nofeature-noha
958 name: 'apex-daily-master'
960 # Job template for daily build
962 # Required Variables:
963 # stream: branch with - in place of / (eg. stable)
964 # branch: branch (eg. stable)
965 project-type: 'multijob'
967 node: 'apex-baremetal-master'
975 - '{project}-defaults'
976 - '{project}-baremetal-master-defaults'
992 condition: SUCCESSFUL
994 - name: 'apex-build-master'
995 current-parameters: false
996 predefined-parameters: |
997 GERRIT_BRANCH=$GERRIT_BRANCH
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: 'Verify and upload ISO'
1007 condition: SUCCESSFUL
1009 - name: 'apex-verify-iso-master'
1010 current-parameters: false
1011 predefined-parameters: |
1012 BUILD_DIRECTORY=apex-build-master/.build
1013 GERRIT_BRANCH=$GERRIT_BRANCH
1015 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1016 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1017 node-parameters: true
1018 kill-phase-on: FAILURE
1022 name: Baremetal Deploy and Test Phase
1023 condition: SUCCESSFUL
1026 - name: 'apex-deploy-test-baremetal-master'
1027 node-parameters: false
1028 current-parameters: false
1029 predefined-parameters: |
1030 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1032 kill-phase-on: NEVER
1036 - name: 'apex-deploy-test-baremetal-master'
1037 node-parameters: false
1038 current-parameters: false
1039 predefined-parameters: |
1040 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
1042 kill-phase-on: NEVER
1046 - name: 'apex-deploy-test-baremetal-master'
1047 node-parameters: false
1048 current-parameters: false
1049 predefined-parameters: |
1050 DEPLOY_SCENARIO=os-odl-nofeature-ha
1052 kill-phase-on: NEVER
1056 - name: 'apex-deploy-test-baremetal-master'
1057 node-parameters: false
1058 current-parameters: false
1059 predefined-parameters: |
1060 DEPLOY_SCENARIO=os-odl-nofeature-noha
1062 kill-phase-on: NEVER
1070 name: 'apex-create-snapshot'
1072 # Job template for clean
1074 # Required Variables:
1075 # stream: branch with - in place of / (eg. stable)
1081 !include-raw-escape: ./apex-snapshot-create.sh
1085 name: 'apex-upload-snapshot'
1087 # Job template for clean
1089 # Required Variables:
1090 # stream: branch with - in place of / (eg. stable)
1096 properties-content: ARTIFACT_TYPE=snapshot
1097 - 'apex-upload-artifact'
1101 name: 'apex-csit-promote-daily-{stream}'
1103 # Job template for promoting CSIT Snapshots
1105 # Required Variables:
1106 # stream: branch with - in place of / (eg. stable)
1107 # branch: branch (eg. stable)
1108 node: '{virtual-slave}'
1109 project-type: 'multijob'
1116 - project-parameter:
1117 project: '{project}'
1120 gs-pathname: '{gs-pathname}'
1124 use-build-blocker: true
1133 - timed: '0 12 * * 0'
1138 condition: SUCCESSFUL
1140 - name: 'apex-build-{stream}'
1141 current-parameters: false
1142 predefined-parameters: |
1143 GERRIT_BRANCH=$GERRIT_BRANCH
1144 GERRIT_REFSPEC=$GERRIT_REFSPEC
1145 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1146 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1147 node-parameters: false
1148 kill-phase-on: FAILURE
1152 name: deploy-virtual
1153 condition: SUCCESSFUL
1155 - name: 'apex-deploy-virtual-{stream}'
1156 current-parameters: false
1157 predefined-parameters: |
1158 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1160 GERRIT_BRANCH=$GERRIT_BRANCH
1161 GERRIT_REFSPEC=$GERRIT_REFSPEC
1162 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1163 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1164 node-parameters: true
1165 kill-phase-on: FAILURE
1169 name: functest-smoke
1170 condition: SUCCESSFUL
1172 - name: 'functest-apex-virtual-suite-{stream}'
1173 current-parameters: false
1174 predefined-parameters: |
1175 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1176 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1177 GERRIT_BRANCH=$GERRIT_BRANCH
1178 GERRIT_REFSPEC=$GERRIT_REFSPEC
1179 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1180 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1181 node-parameters: true
1182 kill-phase-on: FAILURE
1186 name: create snapshot
1187 condition: SUCCESSFUL
1189 - name: 'apex-create-snapshot'
1190 current-parameters: true
1191 node-parameters: true
1192 kill-phase-on: FAILURE
1196 name: upload snapshot
1197 condition: SUCCESSFUL
1199 - name: 'apex-upload-snapshot'
1200 current-parameters: true
1201 node-parameters: true
1202 kill-phase-on: FAILURE
1208 name: 'apex-fdio-promote-daily-{stream}'
1210 # Job template for promoting CSIT Snapshots
1212 # Required Variables:
1213 # stream: branch with - in place of / (eg. stable)
1214 # branch: branch (eg. stable)
1215 node: '{virtual-slave}'
1216 project-type: 'multijob'
1223 - project-parameter:
1224 project: '{project}'
1227 gs-pathname: '{gs-pathname}'
1231 use-build-blocker: true
1242 condition: SUCCESSFUL
1244 - name: 'apex-build-{stream}'
1245 current-parameters: false
1246 predefined-parameters: |
1247 GERRIT_BRANCH=$GERRIT_BRANCH
1248 GERRIT_REFSPEC=$GERRIT_REFSPEC
1249 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1250 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1251 node-parameters: false
1252 kill-phase-on: FAILURE
1256 name: deploy-virtual
1257 condition: SUCCESSFUL
1259 - name: 'apex-deploy-virtual-{stream}'
1260 current-parameters: false
1261 predefined-parameters: |
1262 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
1264 GERRIT_BRANCH=$GERRIT_BRANCH
1265 GERRIT_REFSPEC=$GERRIT_REFSPEC
1266 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1267 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1268 node-parameters: true
1269 kill-phase-on: FAILURE
1273 name: create snapshot
1274 condition: SUCCESSFUL
1276 - name: 'apex-create-snapshot'
1277 current-parameters: true
1278 node-parameters: true
1279 kill-phase-on: FAILURE
1283 name: upload snapshot
1284 condition: SUCCESSFUL
1286 - name: 'apex-upload-snapshot'
1287 current-parameters: true
1288 node-parameters: true
1289 kill-phase-on: FAILURE
1294 name: 'apex-gs-clean-{stream}'
1296 # Job template for clean
1298 # Required Variables:
1299 # stream: branch with - in place of / (eg. stable)
1305 - project-parameter:
1306 project: '{project}'
1309 gs-pathname: '{gs-pathname}'
1315 - 'apex-gs-clean-{stream}'
1317 ########################
1319 ########################
1321 name: apex-parameter
1326 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1328 name: ARTIFACT_VERSION
1330 description: "Artifact version type"
1332 name: BUILD_DIRECTORY
1333 default: $WORKSPACE/.build
1334 description: "Directory where the build artifact will be located upon the completion of the build."
1336 name: CACHE_DIRECTORY
1337 default: $HOME/opnfv/apex-cache{gs-pathname}
1338 description: "Directory where the cache to be used during the build is located."
1341 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1342 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1345 default: '{gs-pathname}'
1346 description: "Version directory where opnfv artifacts are stored in gs repository"
1349 default: $GS_BASE{gs-pathname}
1350 description: "URL to Google Storage."
1352 ########################
1354 ########################
1356 name: 'apex-unit-test'
1359 !include-raw: ./apex-unit-test.sh
1365 !include-raw: ./apex-build.sh
1368 name: 'apex-workspace-cleanup'
1371 !include-raw: ./apex-workspace-cleanup.sh
1374 name: 'apex-iso-verify'
1377 !include-raw: ./apex-iso-verify.sh
1381 name: 'apex-upload-artifact'
1384 !include-raw: ./apex-upload-artifact.sh
1387 name: 'apex-download-artifact'
1390 !include-raw: ./apex-download-artifact.sh
1393 name: 'apex-gs-cleanup'
1396 !include-raw: ./apex-gs-cleanup.sh
1402 !include-raw: ./apex-deploy.sh
1404 #######################
1406 ########################
1410 - timed: '0 3 1 1 7'
1414 - timed: '0 12 * * *'
1416 name: 'apex-gs-clean-{stream}'
1418 - timed: '0 2 * * *'