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
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
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 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
298 node-parameters: true
299 kill-phase-on: FAILURE
304 condition: SUCCESSFUL
306 - name: 'functest-apex-virtual-suite-{stream}'
307 current-parameters: false
308 predefined-parameters: |
309 DEPLOY_SCENARIO={verify-scenario}
310 FUNCTEST_SUITE_NAME=healthcheck
311 GERRIT_BRANCH=$GERRIT_BRANCH
312 GERRIT_REFSPEC=$GERRIT_REFSPEC
313 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
314 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
315 node-parameters: true
321 name: 'apex-runner-cperf-{stream}'
324 project-type: 'multijob'
331 gs-pathname: '{gs-pathname}'
337 default: https://gerrit.opnfv.org/gerrit/$PROJECT
338 description: "Used for overriding the GIT URL coming from parameters macro."
346 use-build-blocker: false
356 - description-setter:
357 description: "Deployed on $NODE_NAME"
359 name: 'Baremetal Deploy'
362 - name: 'apex-deploy-baremetal-{stream}'
363 node-parameters: false
364 current-parameters: true
365 predefined-parameters: |
366 GERRIT_BRANCH=$GERRIT_BRANCH
369 DEPLOY_SCENARIO={verify-scenario}
370 kill-phase-on: FAILURE
375 condition: SUCCESSFUL
377 - name: 'cperf-apex-intel-pod2-daily-master'
378 node-parameters: true
379 current-parameters: false
380 predefined-parameters:
381 DEPLOY_SCENARIO={verify-scenario}
388 name: 'apex-build-{stream}'
390 # Job template for builds
392 # Required Variables:
393 # stream: branch with - in place of / (eg. stable)
394 # branch: branch (eg. stable)
395 node: '{build-slave}'
402 - '{project}-defaults'
407 gs-pathname: '{gs-pathname}'
420 max-per-node: {concurrent-builds}
424 use-build-blocker: true
427 - 'apex-verify-iso-{stream}'
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."
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}'
505 gs-pathname: '{gs-pathname}'
507 name: DEPLOY_SCENARIO
508 default: '{verify-scenario}'
509 description: "Scenario to deploy with."
513 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
518 use-build-blocker: true
530 - description-setter:
531 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
532 - 'apex-download-artifact'
534 - 'apex-workspace-cleanup'
537 # Baremetal Deploy and Test
539 name: 'apex-run-deploy-test-baremetal-{stream}'
541 # Job template for daily build
543 # Required Variables:
544 # stream: branch with - in place of / (eg. stable)
545 # branch: branch (eg. stable)
546 project-type: 'multijob'
554 - '{project}-defaults'
555 - '{project}-baremetal-{stream}-defaults'
560 gs-pathname: '{gs-pathname}'
562 name: DEPLOY_SCENARIO
563 default: '{verify-scenario}'
564 description: "Scenario to deploy with."
568 use-build-blocker: true
573 - 'apex-.*-promote.*'
576 - description-setter:
577 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
579 name: 'Baremetal Deploy'
582 - name: 'apex-deploy-baremetal-{stream}'
583 node-parameters: true
584 current-parameters: true
585 predefined-parameters: |
587 GERRIT_BRANCH=$GERRIT_BRANCH
589 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
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
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=$WORKSPACE/../apex-build-danube/.build
676 GERRIT_BRANCH=$GERRIT_BRANCH
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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-deploy-test-baremetal-danube'
800 node-parameters: false
801 current-parameters: false
802 predefined-parameters: |
803 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
809 - name: 'apex-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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-run-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
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=$WORKSPACE/../apex-build-master/.build
1007 GERRIT_BRANCH=$GERRIT_BRANCH
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-run-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-run-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-run-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-run-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
1127 - timed: '0 12 * * 0'
1132 condition: SUCCESSFUL
1134 - name: 'apex-build-{stream}'
1135 current-parameters: false
1136 predefined-parameters: |
1137 GERRIT_BRANCH=$GERRIT_BRANCH
1138 GERRIT_REFSPEC=$GERRIT_REFSPEC
1139 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1140 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1141 node-parameters: false
1142 kill-phase-on: FAILURE
1146 name: deploy-virtual
1147 condition: SUCCESSFUL
1149 - name: 'apex-deploy-virtual-{stream}'
1150 current-parameters: false
1151 predefined-parameters: |
1152 DEPLOY_SCENARIO=os-odl_l3-csit-noha
1154 GERRIT_BRANCH=$GERRIT_BRANCH
1155 GERRIT_REFSPEC=$GERRIT_REFSPEC
1156 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1157 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: false
1186 predefined-parameters: |
1188 node-parameters: true
1189 kill-phase-on: FAILURE
1193 name: upload snapshot
1194 condition: SUCCESSFUL
1196 - name: 'apex-upload-snapshot'
1197 current-parameters: false
1198 predefined-parameters: |
1200 node-parameters: true
1201 kill-phase-on: FAILURE
1207 name: 'apex-fdio-promote-daily-{stream}'
1209 # Job template for promoting CSIT Snapshots
1211 # Required Variables:
1212 # stream: branch with - in place of / (eg. stable)
1213 # branch: branch (eg. stable)
1214 node: '{virtual-slave}'
1215 project-type: 'multijob'
1222 - project-parameter:
1223 project: '{project}'
1226 gs-pathname: '{gs-pathname}'
1230 use-build-blocker: true
1241 condition: SUCCESSFUL
1243 - name: 'apex-build-{stream}'
1244 current-parameters: false
1245 predefined-parameters: |
1246 GERRIT_BRANCH=$GERRIT_BRANCH
1247 GERRIT_REFSPEC=$GERRIT_REFSPEC
1248 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1249 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1250 node-parameters: false
1251 kill-phase-on: FAILURE
1255 name: deploy-virtual
1256 condition: SUCCESSFUL
1258 - name: 'apex-deploy-virtual-{stream}'
1259 current-parameters: false
1260 predefined-parameters: |
1261 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1263 GERRIT_BRANCH=$GERRIT_BRANCH
1264 GERRIT_REFSPEC=$GERRIT_REFSPEC
1265 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1266 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: false
1278 predefined-parameters: |
1280 node-parameters: true
1281 kill-phase-on: FAILURE
1285 name: upload snapshot
1286 condition: SUCCESSFUL
1288 - name: 'apex-upload-snapshot'
1289 current-parameters: false
1290 predefined-parameters: |
1292 node-parameters: true
1293 kill-phase-on: FAILURE
1297 ########################
1299 ########################
1301 name: apex-parameter
1306 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1308 name: ARTIFACT_VERSION
1310 description: "Artifact version type"
1312 name: BUILD_DIRECTORY
1313 default: $WORKSPACE/.build
1314 description: "Directory where the build artifact will be located upon the completion of the build."
1316 name: CACHE_DIRECTORY
1317 default: $HOME/opnfv/apex-cache{gs-pathname}
1318 description: "Directory where the cache to be used during the build is located."
1321 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1322 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1325 default: '{gs-pathname}'
1326 description: "Version directory where opnfv artifacts are stored in gs repository"
1329 default: $GS_BASE{gs-pathname}
1330 description: "URL to Google Storage."
1334 description: "Flag to know if we should promote/upload snapshot artifacts."
1336 ########################
1338 ########################
1340 name: 'apex-unit-test'
1343 !include-raw: ./apex-unit-test.sh
1349 !include-raw: ./apex-build.sh
1352 name: 'apex-workspace-cleanup'
1355 !include-raw: ./apex-workspace-cleanup.sh
1358 name: 'apex-iso-verify'
1361 !include-raw: ./apex-iso-verify.sh
1365 name: 'apex-upload-artifact'
1368 !include-raw: ./apex-upload-artifact.sh
1371 name: 'apex-download-artifact'
1374 !include-raw: ./apex-download-artifact.sh
1380 !include-raw: ./apex-deploy.sh
1382 #######################
1384 ########################
1388 - timed: '0 3 1 1 7'
1392 - timed: '0 12 * * *'