5 - 'apex-verify-{stream}'
6 - 'apex-verify-gate-{stream}'
7 - 'apex-verify-unit-tests-{stream}'
8 - 'apex-runner-cperf-{stream}'
9 - 'apex-virtual-{stream}'
10 - 'apex-deploy-{platform}-{stream}'
11 - 'apex-daily-{stream}'
12 - 'apex-csit-promote-daily-{stream}'
13 - 'apex-fdio-promote-daily-{stream}'
14 - 'apex-{scenario}-baremetal-{scenario_stream}'
15 - 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
16 - 'apex-upload-snapshot'
17 - 'apex-create-snapshot'
18 - 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
19 - 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
20 # stream: branch with - in place of / (eg. stable-arno)
21 # branch: branch (eg. stable/arno)
26 build-slave: 'apex-build-master'
27 virtual-slave: 'apex-virtual-master'
28 baremetal-slave: 'apex-baremetal-master'
29 verify-scenario: 'os-odl-nofeature-ha'
30 scenario_stream: 'master'
31 - euphrates: &euphrates
32 branch: 'stable/euphrates'
33 gs-pathname: '/euphrates'
34 build-slave: 'apex-build-master'
35 virtual-slave: 'apex-virtual-master'
36 baremetal-slave: 'apex-baremetal-master'
37 verify-scenario: 'os-odl-nofeature-ha'
38 scenario_stream: 'euphrates'
40 branch: 'stable/danube'
41 gs-pathname: '/danube'
42 build-slave: 'apex-build-danube'
43 virtual-slave: 'apex-virtual-danube'
44 baremetal-slave: 'apex-baremetal-danube'
45 verify-scenario: 'os-odl_l3-nofeature-ha'
46 scenario_stream: 'danube'
50 {%- for stream in scenarios %}
51 {%- for scenario in scenarios[stream] %}
63 name: 'apex-verify-unit-tests-{stream}'
71 gs-pathname: '{gs-pathname}'
81 server-name: 'gerrit.opnfv.org'
83 - patchset-created-event:
84 exclude-drafts: 'false'
85 exclude-trivial-rebase: 'false'
86 exclude-no-code-change: 'true'
87 - draft-published-event
88 - comment-added-contains-event:
89 comment-contains-value: 'recheck'
90 - comment-added-contains-event:
91 comment-contains-value: 'reverify'
93 - project-compare-type: 'ANT'
94 project-pattern: 'apex'
96 - branch-compare-type: 'ANT'
97 branch-pattern: '**/{branch}'
98 disable-strict-forbidden-file-verification: 'false'
101 pattern: 'apex/tests/**'
102 forbidden-file-paths:
114 pattern: 'apex/build/**'
116 pattern: 'apex/common/**'
118 pattern: 'apex/inventory/**'
120 pattern: 'apex/network/**'
122 pattern: 'apex/overcloud/**'
124 pattern: 'apex/settings/**'
126 pattern: 'apex/undercloud/**'
128 pattern: 'apex/virtual/**'
138 !include-raw-escape: ./apex-unit-test.sh
142 name: 'apex-verify-{stream}'
144 node: '{virtual-slave}'
148 project-type: 'multijob'
152 gs-pathname: '{gs-pathname}/dev'
157 name: ARTIFACT_VERSION
159 description: "Used for overriding the ARTIFACT_VERSION"
165 server-name: 'gerrit.opnfv.org'
167 - patchset-created-event:
168 exclude-drafts: 'false'
169 exclude-trivial-rebase: 'false'
170 exclude-no-code-change: 'true'
171 - draft-published-event
172 - comment-added-contains-event:
173 comment-contains-value: 'recheck'
174 - comment-added-contains-event:
175 comment-contains-value: 'reverify'
177 - project-compare-type: 'ANT'
178 project-pattern: 'apex'
180 - branch-compare-type: 'ANT'
181 branch-pattern: '**/{branch}'
182 disable-strict-forbidden-file-verification: 'true'
195 pattern: 'apex/build/**'
197 pattern: 'apex/common/**'
199 pattern: 'apex/inventory/**'
201 pattern: 'apex/network/**'
203 pattern: 'apex/overcloud/**'
205 pattern: 'apex/settings/**'
207 pattern: 'apex/undercloud/**'
209 pattern: 'apex/virtual/**'
210 forbidden-file-paths:
212 pattern: 'apex/tests/**'
224 - description-setter:
225 description: "Built on $NODE_NAME"
228 condition: SUCCESSFUL
230 - name: 'apex-verify-unit-tests-{stream}'
231 current-parameters: false
232 predefined-parameters: |
233 GERRIT_BRANCH=$GERRIT_BRANCH
234 GERRIT_REFSPEC=$GERRIT_REFSPEC
235 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
236 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
237 node-parameters: false
238 kill-phase-on: FAILURE
243 condition: SUCCESSFUL
245 - name: 'apex-build-{stream}'
246 current-parameters: false
247 predefined-parameters: |
248 ARTIFACT_VERSION=$ARTIFACT_VERSION
249 GERRIT_BRANCH=$GERRIT_BRANCH
250 GERRIT_REFSPEC=$GERRIT_REFSPEC
251 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
252 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
253 node-parameters: false
254 kill-phase-on: FAILURE
259 condition: SUCCESSFUL
261 - name: 'apex-virtual-{stream}'
262 current-parameters: false
263 predefined-parameters: |
264 ARTIFACT_VERSION=$ARTIFACT_VERSION
265 DEPLOY_SCENARIO={verify-scenario}
267 GERRIT_BRANCH=$GERRIT_BRANCH
268 GERRIT_REFSPEC=$GERRIT_REFSPEC
269 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
270 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
271 node-parameters: true
272 kill-phase-on: FAILURE
276 # Verify Scenario Gate
278 name: 'apex-verify-gate-{stream}'
280 node: '{virtual-slave}'
284 project-type: 'multijob'
288 gs-pathname: '{gs-pathname}/dev'
294 default: https://gerrit.opnfv.org/gerrit/$PROJECT
295 description: "Used for overriding the GIT URL coming from parameters macro."
297 name: ARTIFACT_VERSION
299 description: "Used for overriding the ARTIFACT_VERSION"
306 server-name: 'gerrit.opnfv.org'
308 - comment-added-contains-event:
309 comment-contains-value: '^Patch Set [0-9]+: Code-Review\+2.*start-gate-scenario:.*'
311 - project-compare-type: 'ANT'
312 project-pattern: 'apex'
314 - branch-compare-type: 'ANT'
315 branch-pattern: '**/{branch}'
331 use-build-blocker: true
344 condition: SUCCESSFUL
346 - name: 'apex-deploy-virtual-{stream}'
347 current-parameters: false
348 predefined-parameters: |
349 ARTIFACT_VERSION=$ARTIFACT_VERSION
352 GERRIT_BRANCH=$GERRIT_BRANCH
353 GERRIT_REFSPEC=$GERRIT_REFSPEC
354 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
355 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
356 GERRIT_EVENT_COMMENT_TEXT=$GERRIT_EVENT_COMMENT_TEXT
357 node-parameters: true
358 kill-phase-on: FAILURE
362 echo DEPLOY_SCENARIO=$(echo $GERRIT_EVENT_COMMENT_TEXT | grep start-gate-scenario | grep -Eo 'os-.*') > detected_scenario
364 properties-file: detected_scenario
367 condition: SUCCESSFUL
369 - name: 'functest-apex-virtual-suite-{stream}'
370 current-parameters: false
371 predefined-parameters: |
372 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
374 FUNCTEST_TIER=healthcheck
375 GERRIT_BRANCH=$GERRIT_BRANCH
376 GERRIT_REFSPEC=$GERRIT_REFSPEC
377 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
378 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
379 node-parameters: true
385 name: 'apex-runner-cperf-{stream}'
388 project-type: 'multijob'
395 gs-pathname: '{gs-pathname}'
401 default: https://gerrit.opnfv.org/gerrit/$PROJECT
402 description: "Used for overriding the GIT URL coming from parameters macro."
410 use-build-blocker: false
420 - description-setter:
421 description: "Deployed on $NODE_NAME"
423 name: 'Baremetal Deploy'
426 - name: 'apex-deploy-baremetal-{stream}'
427 node-parameters: false
428 current-parameters: true
429 predefined-parameters: |
430 GERRIT_BRANCH=$GERRIT_BRANCH
433 DEPLOY_SCENARIO={verify-scenario}
434 kill-phase-on: FAILURE
439 condition: SUCCESSFUL
441 - name: 'cperf-apex-intel-pod2-daily-master'
442 node-parameters: true
443 current-parameters: false
444 predefined-parameters:
445 DEPLOY_SCENARIO={verify-scenario}
452 name: 'apex-deploy-{platform}-{stream}'
454 node: 'apex-{platform}-{stream}'
469 - '{project}-{platform}-{stream}-defaults'
474 gs-pathname: '{gs-pathname}'
476 name: DEPLOY_SCENARIO
477 default: '{verify-scenario}'
478 description: "Scenario to deploy with."
482 description: "Use yes in lower case to invoke clean. Indicates if the deploy environment should be cleaned before deployment"
487 use-build-blocker: true
501 - description-setter:
502 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
503 - 'apex-download-artifact'
508 # Virtual Deploy and Test
510 name: 'apex-virtual-{stream}'
512 project-type: 'multijob'
520 - '{project}-defaults'
521 - '{project}-virtual-{stream}-defaults'
526 gs-pathname: '{gs-pathname}'
528 name: DEPLOY_SCENARIO
529 default: '{verify-scenario}'
530 description: "Scenario to deploy with."
532 name: ARTIFACT_VERSION
534 description: "Used for overriding the ARTIFACT_VERSION"
538 use-build-blocker: true
542 - 'apex-.*-promote.*'
545 - 'apex-verify-gate-.*'
551 - description-setter:
552 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
555 condition: SUCCESSFUL
557 - name: 'apex-deploy-virtual-{stream}'
558 current-parameters: false
559 predefined-parameters: |
560 ARTIFACT_VERSION=$ARTIFACT_VERSION
561 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
563 GERRIT_BRANCH=$GERRIT_BRANCH
564 GERRIT_REFSPEC=$GERRIT_REFSPEC
565 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
566 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
567 node-parameters: true
568 kill-phase-on: FAILURE
573 condition: SUCCESSFUL
575 - name: 'functest-apex-virtual-suite-{stream}'
576 current-parameters: false
577 predefined-parameters: |
578 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
579 FUNCTEST_SUITE_NAME=healthcheck
580 GERRIT_BRANCH=$GERRIT_BRANCH
581 GERRIT_REFSPEC=$GERRIT_REFSPEC
582 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
583 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
584 node-parameters: true
589 # Baremetal Deploy and Test
591 name: 'apex-{scenario}-baremetal-{scenario_stream}'
593 project-type: 'multijob'
601 - '{project}-defaults'
602 - '{project}-baremetal-{scenario_stream}-defaults'
607 gs-pathname: '{gs-pathname}'
609 name: DEPLOY_SCENARIO
610 default: '{scenario}'
611 description: "Scenario to deploy with."
615 use-build-blocker: true
620 - 'apex-.*-promote.*'
622 - 'apex-.+-baremetal-.+'
628 - description-setter:
629 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
631 name: 'Baremetal Deploy'
632 condition: SUCCESSFUL
634 - name: 'apex-deploy-baremetal-{scenario_stream}'
635 node-parameters: true
636 current-parameters: true
637 predefined-parameters: |
639 GERRIT_BRANCH=$GERRIT_BRANCH
641 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
642 kill-phase-on: FAILURE
646 name: 'OPNFV Test Suite'
648 - name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
649 node-parameters: true
650 current-parameters: false
651 predefined-parameters:
652 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
660 !include-raw-escape: ./update-build-result.groovy
664 name: 'apex-testsuite-{scenario}-baremetal-{scenario_stream}'
666 project-type: 'multijob'
671 - '{project}-defaults'
672 - '{project}-baremetal-{scenario_stream}-defaults'
677 gs-pathname: '{gs-pathname}'
679 name: DEPLOY_SCENARIO
680 default: '{scenario}'
681 description: "Scenario to deploy with."
685 use-build-blocker: true
690 - 'apex-.*-promote.*'
692 - 'apex-testsuite-.+-baremetal-.+'
698 - description-setter:
699 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
704 - name: 'functest-apex-baremetal-daily-{scenario_stream}'
705 node-parameters: true
706 current-parameters: false
707 predefined-parameters:
708 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
716 - name: 'yardstick-apex-baremetal-daily-{scenario_stream}'
717 node-parameters: true
718 current-parameters: false
719 predefined-parameters:
720 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
728 - name: 'dovetail-apex-baremetal-proposed_tests-{scenario_stream}'
729 node-parameters: true
730 current-parameters: false
731 predefined-parameters:
732 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
734 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|nosdn-kvm|odl_l3-fdio)-ha/"
741 - name: 'storperf-apex-baremetal-daily-{scenario_stream}'
742 node-parameters: true
743 current-parameters: false
744 predefined-parameters:
745 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
746 enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-nosdn-nofeature-ha/"
750 # Build status is always success due conditional plugin prefetching
751 # build status before multijob phases execute
752 # - conditional-step:
753 # condition-kind: current-status
754 # condition-worst: SUCCESS
755 # condtion-best: SUCCESS
756 # on-evaluation-failure: mark-unstable
758 # - shell: 'echo "Tests Passed"'
761 name: 'apex-daily-{stream}'
763 # Job template for daily build
765 # Required Variables:
766 # stream: branch with - in place of / (eg. stable)
767 # branch: branch (eg. stable)
768 project-type: 'multijob'
770 node: '{baremetal-slave}'
778 - '{project}-defaults'
779 - '{project}-baremetal-{stream}-defaults'
784 gs-pathname: '{gs-pathname}'
795 condition: SUCCESSFUL
797 - name: 'apex-build-{stream}'
798 current-parameters: false
799 predefined-parameters: |
800 GERRIT_BRANCH=$GERRIT_BRANCH
802 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
803 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
804 node-parameters: true
805 kill-phase-on: FAILURE
809 name: 'Verify and upload ISO'
810 condition: SUCCESSFUL
812 - name: 'apex-verify-iso-{stream}'
813 current-parameters: false
814 predefined-parameters: |
815 BUILD_DIRECTORY=$WORKSPACE/../apex-build-{stream}/.build
816 GERRIT_BRANCH=$GERRIT_BRANCH
818 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
819 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
820 node-parameters: true
821 kill-phase-on: FAILURE
824 - apex-builder-{stream}
828 name: 'apex-create-snapshot'
830 # Job template for clean
832 # Required Variables:
833 # stream: branch with - in place of / (eg. stable)
839 !include-raw-escape: ./apex-snapshot-create.sh
843 name: 'apex-upload-snapshot'
845 # Job template for clean
847 # Required Variables:
848 # stream: branch with - in place of / (eg. stable)
854 properties-content: ARTIFACT_TYPE=snapshot
855 - 'apex-upload-artifact'
859 name: 'apex-csit-promote-daily-{stream}'
861 # Job template for promoting CSIT Snapshots
863 # Required Variables:
864 # stream: branch with - in place of / (eg. stable)
865 # branch: branch (eg. stable)
866 node: '{virtual-slave}'
867 project-type: 'multijob'
878 gs-pathname: '{gs-pathname}'
882 use-build-blocker: true
891 - timed: '0 12 * * 0'
896 condition: SUCCESSFUL
898 - name: 'apex-build-{stream}'
899 current-parameters: false
900 predefined-parameters: |
901 GERRIT_BRANCH=$GERRIT_BRANCH
902 GERRIT_REFSPEC=$GERRIT_REFSPEC
903 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
904 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
905 node-parameters: false
906 kill-phase-on: FAILURE
911 condition: SUCCESSFUL
913 - name: 'apex-deploy-virtual-{stream}'
914 current-parameters: false
915 predefined-parameters: |
916 DEPLOY_SCENARIO=os-odl_l3-csit-noha
918 GERRIT_BRANCH=$GERRIT_BRANCH
919 GERRIT_REFSPEC=$GERRIT_REFSPEC
920 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
921 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
923 node-parameters: true
924 kill-phase-on: FAILURE
929 condition: SUCCESSFUL
931 - name: 'functest-apex-virtual-suite-{stream}'
932 current-parameters: false
933 predefined-parameters: |
934 DEPLOY_SCENARIO=os-odl_l3-nofeature-noha
935 FUNCTEST_SUITE_NAME=tempest_smoke_serial
936 GERRIT_BRANCH=$GERRIT_BRANCH
937 GERRIT_REFSPEC=$GERRIT_REFSPEC
938 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
939 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
940 node-parameters: true
941 kill-phase-on: FAILURE
945 name: create snapshot
946 condition: SUCCESSFUL
948 - name: 'apex-create-snapshot'
949 current-parameters: false
950 predefined-parameters: |
952 node-parameters: true
953 kill-phase-on: FAILURE
957 name: upload snapshot
958 condition: SUCCESSFUL
960 - name: 'apex-upload-snapshot'
961 current-parameters: false
962 predefined-parameters: |
964 node-parameters: true
965 kill-phase-on: FAILURE
971 name: 'apex-fdio-promote-daily-{stream}'
973 # Job template for promoting CSIT Snapshots
975 # Required Variables:
976 # stream: branch with - in place of / (eg. stable)
977 # branch: branch (eg. stable)
978 node: '{virtual-slave}'
979 project-type: 'multijob'
990 gs-pathname: '{gs-pathname}'
994 use-build-blocker: true
1005 condition: SUCCESSFUL
1007 - name: 'apex-build-{stream}'
1008 current-parameters: false
1009 predefined-parameters: |
1010 GERRIT_BRANCH=$GERRIT_BRANCH
1011 GERRIT_REFSPEC=$GERRIT_REFSPEC
1012 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1013 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1014 node-parameters: false
1015 kill-phase-on: FAILURE
1019 name: deploy-virtual
1020 condition: SUCCESSFUL
1022 - name: 'apex-deploy-virtual-{stream}'
1023 current-parameters: false
1024 predefined-parameters: |
1025 DEPLOY_SCENARIO=os-odl_netvirt-fdio-noha
1027 GERRIT_BRANCH=$GERRIT_BRANCH
1028 GERRIT_REFSPEC=$GERRIT_REFSPEC
1029 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
1030 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
1032 node-parameters: true
1033 kill-phase-on: FAILURE
1037 name: create snapshot
1038 condition: SUCCESSFUL
1040 - name: 'apex-create-snapshot'
1041 current-parameters: false
1042 predefined-parameters: |
1044 node-parameters: true
1045 kill-phase-on: FAILURE
1049 name: upload snapshot
1050 condition: SUCCESSFUL
1052 - name: 'apex-upload-snapshot'
1053 current-parameters: false
1054 predefined-parameters: |
1056 node-parameters: true
1057 kill-phase-on: FAILURE
1063 name: 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
1065 project-type: 'multijob'
1076 - '{project}-defaults'
1077 - project-parameter:
1078 project: '{project}'
1081 gs-pathname: '{gs-pathname}'
1083 name: DEPLOY_SCENARIO
1084 default: 'os-nosdn-nofeature-ha'
1085 description: "Scenario to deploy with."
1088 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1089 description: 'Git URL to use on this Jenkins Slave'
1092 default: /root/.ssh/id_rsa
1093 description: 'SSH key to use for Apex'
1097 use-build-blocker: true
1102 - 'apex-.*-promote.*'
1104 - 'apex-.+-baremetal-.+'
1110 - description-setter:
1111 description: "Deployed on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1113 name: 'Baremetal Deploy'
1114 condition: SUCCESSFUL
1116 - name: 'apex-deploy-baremetal-{stream}'
1117 node-parameters: true
1118 current-parameters: true
1119 predefined-parameters: |
1121 GERRIT_BRANCH=$GERRIT_BRANCH
1123 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1124 kill-phase-on: FAILURE
1131 - name: 'yardstick-apex-baremetal-daily-{stream}'
1132 node-parameters: true
1133 current-parameters: false
1134 predefined-parameters:
1135 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1136 kill-phase-on: NEVER
1137 abort-all-job: false
1140 # Dovetail Danube test job
1142 name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
1144 project-type: 'multijob'
1151 - '{project}-defaults'
1152 - project-parameter:
1153 project: '{project}'
1154 branch: 'stable/danube'
1156 gs-pathname: '/danube'
1158 name: DEPLOY_SCENARIO
1159 default: 'os-nosdn-nofeature-ha'
1160 description: "Scenario to deploy with."
1165 use-build-blocker: true
1170 - 'apex-.*-promote.*'
1174 - timed: '0 1 * * *'
1177 - description-setter:
1178 description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
1180 name: 'Baremetal Deploy'
1181 condition: SUCCESSFUL
1183 - name: 'apex-deploy-baremetal-danube'
1184 node-parameters: true
1185 current-parameters: true
1186 predefined-parameters: |
1188 GERRIT_BRANCH=$GERRIT_BRANCH
1190 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1191 kill-phase-on: FAILURE
1198 - name: 'dovetail-apex-baremetal-proposed_tests-danube'
1199 node-parameters: true
1200 current-parameters: false
1201 predefined-parameters:
1202 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
1203 kill-phase-on: NEVER
1204 abort-all-job: false
1207 ########################
1209 ########################
1211 name: apex-parameter
1216 description: "RPM Artifact name that will be appended to GS_URL to deploy a specific artifact"
1218 name: ARTIFACT_VERSION
1220 description: "Artifact version type"
1222 name: BUILD_DIRECTORY
1223 default: $WORKSPACE/.build
1224 description: "Directory where the build artifact will be located upon the completion of the build."
1226 name: CACHE_DIRECTORY
1227 default: $HOME/opnfv/apex-cache{gs-pathname}
1228 description: "Directory where the cache to be used during the build is located."
1231 default: https://gerrit.opnfv.org/gerrit/$PROJECT
1232 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
1235 default: '{gs-pathname}'
1236 description: "Version directory where opnfv artifacts are stored in gs repository"
1239 default: $GS_BASE{gs-pathname}
1240 description: "URL to Google Storage."
1244 description: "Flag to know if we should promote/upload snapshot artifacts."
1246 ########################
1248 ########################
1249 {% for stream in scenarios %}
1250 # {{ stream }} Builder
1252 name: apex-builder-{{ stream }}
1255 name: Baremetal Deploy and Test Phase
1256 condition: SUCCESSFUL
1258 {% for scenario in scenarios[stream] %}
1259 - name: 'apex-{{ scenario }}-baremetal-{{ stream }}'
1260 node-parameters: false
1261 current-parameters: false
1262 predefined-parameters: |
1264 kill-phase-on: NEVER
1271 name: 'apex-unit-test'
1274 !include-raw: ./apex-unit-test.sh
1277 name: 'apex-upload-artifact'
1280 !include-raw: ./apex-upload-artifact.sh
1283 name: 'apex-download-artifact'
1286 !include-raw: ./apex-download-artifact.sh
1292 !include-raw: ./apex-deploy.sh
1294 #######################
1296 ########################
1300 - timed: '0 3 1 1 7'
1302 name: 'apex-euphrates'
1304 - timed: '0 12 * * *'
1308 - timed: '0 3 1 1 7'