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-run-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'
32 branch: 'stable/danube'
33 gs-pathname: '/danube'
34 build-slave: 'apex-build-danube'
35 virtual-slave: 'apex-virtual-danube'
36 baremetal-slave: 'apex-baremetal-danube'
37 verify-scenario: 'os-odl_l3-nofeature-ha'
47 name: 'apex-verify-unit-tests-{stream}'
55 gs-pathname: '{gs-pathname}'
65 server-name: 'gerrit.opnfv.org'
67 - patchset-created-event:
68 exclude-drafts: 'false'
69 exclude-trivial-rebase: 'false'
70 exclude-no-code-change: 'true'
71 - draft-published-event
72 - comment-added-contains-event:
73 comment-contains-value: 'recheck'
74 - comment-added-contains-event:
75 comment-contains-value: 'reverify'
77 - project-compare-type: 'ANT'
78 project-pattern: 'apex'
80 - branch-compare-type: 'ANT'
81 branch-pattern: '**/{branch}'
94 !include-raw-escape: ./apex-unit-test.sh
98 name: 'apex-verify-{stream}'
100 node: '{virtual-slave}'
104 project-type: 'multijob'
108 gs-pathname: '{gs-pathname}/dev'
113 name: ARTIFACT_VERSION
115 description: "Used for overriding the ARTIFACT_VERSION"
121 server-name: 'gerrit.opnfv.org'
123 - patchset-created-event:
124 exclude-drafts: 'false'
125 exclude-trivial-rebase: 'false'
126 exclude-no-code-change: 'true'
127 - draft-published-event
128 - comment-added-contains-event:
129 comment-contains-value: 'recheck'
130 - comment-added-contains-event:
131 comment-contains-value: 'reverify'
133 - project-compare-type: 'ANT'
134 project-pattern: 'apex'
136 - branch-compare-type: 'ANT'
137 branch-pattern: '**/{branch}'
156 - description-setter:
157 description: "Built on $NODE_NAME"
160 condition: SUCCESSFUL
162 - name: 'apex-verify-unit-tests-{stream}'
163 current-parameters: false
164 predefined-parameters: |
165 GERRIT_BRANCH=$GERRIT_BRANCH
166 GERRIT_REFSPEC=$GERRIT_REFSPEC
167 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
168 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
169 node-parameters: false
170 kill-phase-on: FAILURE
175 condition: SUCCESSFUL
177 - name: 'apex-build-{stream}'
178 current-parameters: false
179 predefined-parameters: |
180 ARTIFACT_VERSION=$ARTIFACT_VERSION
181 GERRIT_BRANCH=$GERRIT_BRANCH
182 GERRIT_REFSPEC=$GERRIT_REFSPEC
183 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
184 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
185 node-parameters: false
186 kill-phase-on: FAILURE
191 condition: SUCCESSFUL
193 - name: 'apex-deploy-virtual-{stream}'
194 current-parameters: false
195 predefined-parameters: |
196 ARTIFACT_VERSION=$ARTIFACT_VERSION
197 DEPLOY_SCENARIO={verify-scenario}
199 GERRIT_BRANCH=$GERRIT_BRANCH
200 GERRIT_REFSPEC=$GERRIT_REFSPEC
201 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
202 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
203 node-parameters: true
204 kill-phase-on: FAILURE
208 # name: functest-smoke
209 # condition: SUCCESSFUL
211 # - name: 'functest-apex-virtual-suite-{stream}'
212 # current-parameters: false
213 # predefined-parameters: |
214 # DEPLOY_SCENARIO={verify-scenario}
215 # FUNCTEST_SUITE_NAME=healthcheck
216 # GERRIT_BRANCH=$GERRIT_BRANCH
217 # GERRIT_REFSPEC=$GERRIT_REFSPEC
218 # GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
219 # GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
220 # node-parameters: true
221 # kill-phase-on: FAILURE
222 # abort-all-job: true
223 # git-revision: false
225 # Verify Scenario Gate
227 name: 'apex-verify-gate-{stream}'
229 node: '{virtual-slave}'
233 project-type: 'multijob'
237 gs-pathname: '{gs-pathname}/dev'
243 default: https://gerrit.opnfv.org/gerrit/$PROJECT
244 description: "Used for overriding the GIT URL coming from parameters macro."
246 name: ARTIFACT_VERSION
248 description: "Used for overriding the ARTIFACT_VERSION"
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}'
285 condition: SUCCESSFUL
287 - name: 'apex-deploy-virtual-{stream}'
288 current-parameters: false
289 predefined-parameters: |
290 ARTIFACT_VERSION=$ARTIFACT_VERSION
293 GERRIT_BRANCH=$GERRIT_BRANCH
294 GERRIT_REFSPEC=$GERRIT_REFSPEC
295 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
296 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
297 node-parameters: true
298 kill-phase-on: FAILURE
302 # name: functest-smoke
303 # condition: SUCCESSFUL
305 # - name: 'functest-apex-virtual-suite-{stream}'
306 # current-parameters: false
307 # predefined-parameters: |
308 # DEPLOY_SCENARIO={verify-scenario}
309 # FUNCTEST_SUITE_NAME=healthcheck
310 # GERRIT_BRANCH=$GERRIT_BRANCH
311 # GERRIT_REFSPEC=$GERRIT_REFSPEC
312 # GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
313 # GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
314 # node-parameters: true
315 # kill-phase-on: FAILURE
316 # abort-all-job: true
317 # git-revision: false
320 name: 'apex-runner-cperf-{stream}'
323 project-type: 'multijob'
330 gs-pathname: '{gs-pathname}'
336 default: https://gerrit.opnfv.org/gerrit/$PROJECT
337 description: "Used for overriding the GIT URL coming from parameters macro."
345 use-build-blocker: false
355 - description-setter:
356 description: "Deployed on $NODE_NAME"
358 name: 'Baremetal Deploy'
361 - name: 'apex-deploy-baremetal-{stream}'
362 node-parameters: false
363 current-parameters: true
364 predefined-parameters: |
365 GERRIT_BRANCH=$GERRIT_BRANCH
368 DEPLOY_SCENARIO={verify-scenario}
369 kill-phase-on: FAILURE
374 condition: SUCCESSFUL
376 - name: 'cperf-apex-intel-pod2-daily-master'
377 node-parameters: true
378 current-parameters: false
379 predefined-parameters:
380 DEPLOY_SCENARIO={verify-scenario}
387 name: 'apex-build-{stream}'
389 # Job template for builds
391 # Required Variables:
392 # stream: branch with - in place of / (eg. stable)
393 # branch: branch (eg. stable)
394 node: '{build-slave}'
401 - '{project}-defaults'
406 gs-pathname: '{gs-pathname}'
419 max-per-node: {concurrent-builds}
423 use-build-blocker: true
426 - 'apex-verify-iso-{stream}'
431 properties-content: ARTIFACT_TYPE=rpm
432 - 'apex-upload-artifact'
436 name: 'apex-verify-iso-{stream}'
438 # Job template for builds
440 # Required Variables:
441 # stream: branch with - in place of / (eg. stable)
442 # branch: branch (eg. stable)
443 node: '{virtual-slave}'
454 gs-pathname: '{gs-pathname}'
457 default: https://gerrit.opnfv.org/gerrit/$PROJECT
458 description: "Used for overriding the GIT URL coming from parameters macro."
473 properties-content: ARTIFACT_TYPE=iso
474 - 'apex-upload-artifact'
478 name: 'apex-deploy-{platform}-{stream}'
480 # Job template for virtual deployment
482 # Required Variables:
483 # stream: branch with - in place of / (eg. stable)
484 # branch: branch (eg. stable)
485 node: 'apex-{platform}-{stream}'
504 gs-pathname: '{gs-pathname}'
506 name: DEPLOY_SCENARIO
507 default: '{verify-scenario}'
508 description: "Scenario to deploy with."
512 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
517 use-build-blocker: true
529 - description-setter:
530 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
531 - 'apex-download-artifact'
533 - 'apex-workspace-cleanup'
536 # Baremetal Deploy and Test
538 name: 'apex-run-deploy-test-baremetal-{stream}'
540 # Job template for daily build
542 # Required Variables:
543 # stream: branch with - in place of / (eg. stable)
544 # branch: branch (eg. stable)
545 project-type: 'multijob'
553 - '{project}-defaults'
554 - '{project}-baremetal-{stream}-defaults'
559 gs-pathname: '{gs-pathname}'
561 name: DEPLOY_SCENARIO
562 default: '{verify-scenario}'
563 description: "Scenario to deploy with."
567 use-build-blocker: true
572 - 'apex-.*-promote.*'
575 - description-setter:
576 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
578 name: 'Baremetal Deploy'
581 - name: 'apex-deploy-baremetal-{stream}'
582 node-parameters: true
583 current-parameters: true
584 predefined-parameters: |
586 GERRIT_BRANCH=$GERRIT_BRANCH
588 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
589 kill-phase-on: FAILURE
596 - name: 'functest-apex-baremetal-daily-{stream}'
597 node-parameters: true
598 current-parameters: false
599 predefined-parameters:
600 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
608 - name: 'yardstick-apex-baremetal-daily-{stream}'
609 node-parameters: true
610 current-parameters: false
611 predefined-parameters:
612 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
620 name: 'apex-daily-danube'
622 # Job template for daily build
624 # Required Variables:
625 # stream: branch with - in place of / (eg. stable)
626 # branch: branch (eg. stable)
627 project-type: 'multijob'
629 node: 'apex-baremetal-danube'
637 - '{project}-defaults'
638 - '{project}-baremetal-danube-defaults'
641 branch: 'stable/danube'
643 gs-pathname: '/danube'
654 condition: SUCCESSFUL
656 - name: 'apex-build-danube'
657 current-parameters: false
658 predefined-parameters: |
659 GERRIT_BRANCH=$GERRIT_BRANCH
661 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
662 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
663 node-parameters: true
664 kill-phase-on: FAILURE
668 name: 'Verify and upload ISO'
669 condition: SUCCESSFUL
671 - name: 'apex-verify-iso-danube'
672 current-parameters: false
673 predefined-parameters: |
674 BUILD_DIRECTORY=$WORKSPACE/../apex-build-danube/.build
675 GERRIT_BRANCH=$GERRIT_BRANCH
677 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
678 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
679 node-parameters: true
680 kill-phase-on: FAILURE
684 name: Baremetal Deploy and Test Phase
685 condition: SUCCESSFUL
688 - name: 'apex-run-deploy-test-baremetal-danube'
689 node-parameters: false
690 current-parameters: false
691 predefined-parameters: |
692 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
698 - name: 'apex-run-deploy-test-baremetal-danube'
699 node-parameters: false
700 current-parameters: false
701 predefined-parameters: |
702 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
708 - name: 'apex-run-deploy-test-baremetal-danube'
709 node-parameters: false
710 current-parameters: false
711 predefined-parameters: |
712 DEPLOY_SCENARIO=os-nosdn-nofeature-ha-ipv6
718 - name: 'apex-run-deploy-test-baremetal-danube'
719 node-parameters: false
720 current-parameters: false
721 predefined-parameters: |
722 DEPLOY_SCENARIO=os-nosdn-ovs-noha
728 - name: 'apex-run-deploy-test-baremetal-danube'
729 node-parameters: false
730 current-parameters: false
731 predefined-parameters: |
732 DEPLOY_SCENARIO=os-nosdn-ovs-ha
738 - name: 'apex-run-deploy-test-baremetal-danube'
739 node-parameters: false
740 current-parameters: false
741 predefined-parameters: |
742 DEPLOY_SCENARIO=os-nosdn-fdio-noha
748 - name: 'apex-run-deploy-test-baremetal-danube'
749 node-parameters: false
750 current-parameters: false
751 predefined-parameters: |
752 DEPLOY_SCENARIO=os-nosdn-fdio-ha
758 - name: 'apex-run-deploy-test-baremetal-danube'
759 node-parameters: false
760 current-parameters: false
761 predefined-parameters: |
762 DEPLOY_SCENARIO=os-nosdn-kvm-ha
768 - name: 'apex-run-deploy-test-baremetal-danube'
769 node-parameters: false
770 current-parameters: false
771 predefined-parameters: |
772 DEPLOY_SCENARIO=os-nosdn-kvm-noha
778 - name: 'apex-run-deploy-test-baremetal-danube'
779 node-parameters: false
780 current-parameters: false
781 predefined-parameters: |
782 DEPLOY_SCENARIO=os-odl_l2-fdio-noha
788 - name: 'apex-run-deploy-test-baremetal-danube'
789 node-parameters: false
790 current-parameters: false
791 predefined-parameters: |
792 DEPLOY_SCENARIO=os-odl_l2-fdio-ha
798 - name: 'apex-run-deploy-test-baremetal-danube'
799 node-parameters: false
800 current-parameters: false
801 predefined-parameters: |
802 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
808 - name: 'apex-run-deploy-test-baremetal-danube'
809 node-parameters: false
810 current-parameters: false
811 predefined-parameters: |
812 DEPLOY_SCENARIO=os-odl_l2-sfc-noha
818 - name: 'apex-run-deploy-test-baremetal-danube'
819 node-parameters: false
820 current-parameters: false
821 predefined-parameters: |
822 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
828 - name: 'apex-run-deploy-test-baremetal-danube'
829 node-parameters: false
830 current-parameters: false
831 predefined-parameters: |
832 DEPLOY_SCENARIO=os-odl_l3-nofeature-ha
838 - name: 'apex-run-deploy-test-baremetal-danube'
839 node-parameters: false
840 current-parameters: false
841 predefined-parameters: |
842 DEPLOY_SCENARIO=os-odl_l3-ovs-noha
848 - name: 'apex-run-deploy-test-baremetal-danube'
849 node-parameters: false
850 current-parameters: false
851 predefined-parameters: |
852 DEPLOY_SCENARIO=os-odl_l3-ovs-ha
858 - name: 'apex-run-deploy-test-baremetal-danube'
859 node-parameters: false
860 current-parameters: false
861 predefined-parameters: |
862 DEPLOY_SCENARIO=os-odl-bgpvpn-ha
868 - name: 'apex-run-deploy-test-baremetal-danube'
869 node-parameters: false
870 current-parameters: false
871 predefined-parameters: |
872 DEPLOY_SCENARIO=os-odl-gluon-noha
878 - name: 'apex-run-deploy-test-baremetal-danube'
879 node-parameters: false
880 current-parameters: false
881 predefined-parameters: |
882 DEPLOY_SCENARIO=os-odl_l3-fdio-noha
888 - name: 'apex-run-deploy-test-baremetal-danube'
889 node-parameters: false
890 current-parameters: false
891 predefined-parameters: |
892 DEPLOY_SCENARIO=os-odl_l3-fdio-ha
898 - name: 'apex-run-deploy-test-baremetal-danube'
899 node-parameters: false
900 current-parameters: false
901 predefined-parameters: |
902 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-noha
908 - name: 'apex-run-deploy-test-baremetal-danube'
909 node-parameters: false
910 current-parameters: false
911 predefined-parameters: |
912 DEPLOY_SCENARIO=os-odl_l3-fdio_dvr-ha
918 - name: 'apex-run-deploy-test-baremetal-danube'
919 node-parameters: false
920 current-parameters: false
921 predefined-parameters: |
922 DEPLOY_SCENARIO=os-odl_l3-csit-noha
928 - name: 'apex-run-deploy-test-baremetal-danube'
929 node-parameters: false
930 current-parameters: false
931 predefined-parameters: |
932 DEPLOY_SCENARIO=os-onos-nofeature-ha
938 - name: 'apex-run-deploy-test-baremetal-danube'
939 node-parameters: false
940 current-parameters: false
941 predefined-parameters: |
942 DEPLOY_SCENARIO=os-ovn-nofeature-noha
951 name: 'apex-daily-master'
953 # Job template for daily build
955 # Required Variables:
956 # stream: branch with - in place of / (eg. stable)
957 # branch: branch (eg. stable)
958 project-type: 'multijob'
960 node: 'apex-baremetal-master'
968 - '{project}-defaults'
969 - '{project}-baremetal-master-defaults'
985 condition: SUCCESSFUL
987 - name: 'apex-build-master'
988 current-parameters: false
989 predefined-parameters: |
990 GERRIT_BRANCH=$GERRIT_BRANCH
992 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
993 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
994 node-parameters: true
995 kill-phase-on: FAILURE
999 name: 'Verify and upload ISO'
1000 condition: SUCCESSFUL
1002 - name: 'apex-verify-iso-master'
1003 current-parameters: false
1004 predefined-parameters: |
1005 BUILD_DIRECTORY=$WORKSPACE/../apex-build-master/.build
1006 GERRIT_BRANCH=$GERRIT_BRANCH
1008 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1009 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1010 node-parameters: true
1011 kill-phase-on: FAILURE
1015 name: Baremetal Deploy and Test Phase
1016 condition: SUCCESSFUL
1019 - name: 'apex-run-deploy-test-baremetal-master'
1020 node-parameters: false
1021 current-parameters: false
1022 predefined-parameters: |
1023 DEPLOY_SCENARIO=os-nosdn-nofeature-noha
1025 kill-phase-on: NEVER
1029 - name: 'apex-run-deploy-test-baremetal-master'
1030 node-parameters: false
1031 current-parameters: false
1032 predefined-parameters: |
1033 DEPLOY_SCENARIO=os-nosdn-nofeature-ha
1035 kill-phase-on: NEVER
1039 - name: 'apex-run-deploy-test-baremetal-master'
1040 node-parameters: false
1041 current-parameters: false
1042 predefined-parameters: |
1043 DEPLOY_SCENARIO=os-odl-nofeature-ha
1045 kill-phase-on: NEVER
1049 - name: 'apex-run-deploy-test-baremetal-master'
1050 node-parameters: false
1051 current-parameters: false
1052 predefined-parameters: |
1053 DEPLOY_SCENARIO=os-odl-nofeature-noha
1055 kill-phase-on: NEVER
1063 name: 'apex-create-snapshot'
1065 # Job template for clean
1067 # Required Variables:
1068 # stream: branch with - in place of / (eg. stable)
1074 !include-raw-escape: ./apex-snapshot-create.sh
1078 name: 'apex-upload-snapshot'
1080 # Job template for clean
1082 # Required Variables:
1083 # stream: branch with - in place of / (eg. stable)
1089 properties-content: ARTIFACT_TYPE=snapshot
1090 - 'apex-upload-artifact'
1094 name: 'apex-csit-promote-daily-{stream}'
1096 # Job template for promoting CSIT Snapshots
1098 # Required Variables:
1099 # stream: branch with - in place of / (eg. stable)
1100 # branch: branch (eg. stable)
1101 node: '{virtual-slave}'
1102 project-type: 'multijob'
1109 - project-parameter:
1110 project: '{project}'
1113 gs-pathname: '{gs-pathname}'
1117 use-build-blocker: true
1126 - timed: '0 12 * * 0'
1131 condition: SUCCESSFUL
1133 - name: 'apex-build-{stream}'
1134 current-parameters: false
1135 predefined-parameters: |
1136 GERRIT_BRANCH=$GERRIT_BRANCH
1137 GERRIT_REFSPEC=$GERRIT_REFSPEC
1138 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1139 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1140 node-parameters: false
1141 kill-phase-on: FAILURE
1145 name: deploy-virtual
1146 condition: SUCCESSFUL
1148 - name: 'apex-deploy-virtual-{stream}'
1149 current-parameters: false
1150 predefined-parameters: |
1151 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1153 GERRIT_BRANCH=$GERRIT_BRANCH
1154 GERRIT_REFSPEC=$GERRIT_REFSPEC
1155 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1156 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1158 node-parameters: true
1159 kill-phase-on: FAILURE
1163 name: functest-smoke
1164 condition: SUCCESSFUL
1166 - name: 'functest-apex-virtual-suite-{stream}'
1167 current-parameters: false
1168 predefined-parameters: |
1169 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
1170 FUNCTEST_SUITE_NAME=tempest_smoke_serial
1171 GERRIT_BRANCH=$GERRIT_BRANCH
1172 GERRIT_REFSPEC=$GERRIT_REFSPEC
1173 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1174 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1175 node-parameters: true
1176 kill-phase-on: FAILURE
1180 name: create snapshot
1181 condition: SUCCESSFUL
1183 - name: 'apex-create-snapshot'
1184 current-parameters: true
1185 node-parameters: true
1186 kill-phase-on: FAILURE
1190 name: upload snapshot
1191 condition: SUCCESSFUL
1193 - name: 'apex-upload-snapshot'
1194 current-parameters: true
1195 node-parameters: true
1196 kill-phase-on: FAILURE
1202 name: 'apex-fdio-promote-daily-{stream}'
1204 # Job template for promoting CSIT Snapshots
1206 # Required Variables:
1207 # stream: branch with - in place of / (eg. stable)
1208 # branch: branch (eg. stable)
1209 node: '{virtual-slave}'
1210 project-type: 'multijob'
1217 - project-parameter:
1218 project: '{project}'
1221 gs-pathname: '{gs-pathname}'
1225 use-build-blocker: true
1236 condition: SUCCESSFUL
1238 - name: 'apex-build-{stream}'
1239 current-parameters: false
1240 predefined-parameters: |
1241 GERRIT_BRANCH=$GERRIT_BRANCH
1242 GERRIT_REFSPEC=$GERRIT_REFSPEC
1243 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1244 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1245 node-parameters: false
1246 kill-phase-on: FAILURE
1250 name: deploy-virtual
1251 condition: SUCCESSFUL
1253 - name: 'apex-deploy-virtual-{stream}'
1254 current-parameters: false
1255 predefined-parameters: |
1256 DEPLOY_SCENARIO=os-odl_l2-netvirt_gbp_fdio-noha
1258 GERRIT_BRANCH=$GERRIT_BRANCH
1259 GERRIT_REFSPEC=$GERRIT_REFSPEC
1260 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1261 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1263 node-parameters: true
1264 kill-phase-on: FAILURE
1268 name: create snapshot
1269 condition: SUCCESSFUL
1271 - name: 'apex-create-snapshot'
1272 current-parameters: true
1273 node-parameters: true
1274 kill-phase-on: FAILURE
1278 name: upload snapshot
1279 condition: SUCCESSFUL
1281 - name: 'apex-upload-snapshot'
1282 current-parameters: true
1283 node-parameters: true
1284 kill-phase-on: FAILURE
1288 ########################
1290 ########################
1292 name: apex-parameter
1297 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1299 name: ARTIFACT_VERSION
1301 description: "Artifact version type"
1303 name: BUILD_DIRECTORY
1304 default: $WORKSPACE/.build
1305 description: "Directory where the build artifact will be located upon the completion of the build."
1307 name: CACHE_DIRECTORY
1308 default: $HOME/opnfv/apex-cache{gs-pathname}
1309 description: "Directory where the cache to be used during the build is located."
1312 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1313 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1316 default: '{gs-pathname}'
1317 description: "Version directory where opnfv artifacts are stored in gs repository"
1320 default: $GS_BASE{gs-pathname}
1321 description: "URL to Google Storage."
1325 description: "Flag to know if we should promote/upload snapshot artifacts."
1327 ########################
1329 ########################
1331 name: 'apex-unit-test'
1334 !include-raw: ./apex-unit-test.sh
1340 !include-raw: ./apex-build.sh
1343 name: 'apex-workspace-cleanup'
1346 !include-raw: ./apex-workspace-cleanup.sh
1349 name: 'apex-iso-verify'
1352 !include-raw: ./apex-iso-verify.sh
1356 name: 'apex-upload-artifact'
1359 !include-raw: ./apex-upload-artifact.sh
1362 name: 'apex-download-artifact'
1365 !include-raw: ./apex-download-artifact.sh
1371 !include-raw: ./apex-deploy.sh
1373 #######################
1375 ########################
1379 - timed: '0 3 1 1 7'
1383 - timed: '0 12 * * *'