2 ###################################
3 # job configuration for dovetail
4 ###################################
10 # --------------------------------------
12 # --------------------------------------
13 # 1)the stream/branch here represents the SUT(System Under Test) stream/branch
14 # 2)docker-tag is the docker tag of dovetail(only master by now, then all latest used)
15 # the dovetail stream is one-to-one mapping with dovetail docker-tag
16 # the dovetail is not sync with A/B/C release
20 dovetail-branch: '{stream}'
26 branch: 'stable/{stream}'
27 dovetail-branch: 'master'
28 gs-pathname: '/{stream}'
31 # ----------------------------------
32 # POD, PLATFORM, AND BRANCH MAPPING
33 # ----------------------------------
35 # This section should only contain the SUTs
36 # that have been switched using labels for slaves
37 # -----------------------------------------------
38 # the pods, SUTs listed here are just examples to
39 # let the dovetail tool run, there can be more ways beside CI to
40 # run the dovetail tool.
41 # pods, SUTs will be added/adjusted when needed
45 slave-label: fuel-baremetal
47 auto-trigger-name: 'daily-trigger-disabled'
50 slave-label: fuel-virtual
52 auto-trigger-name: 'daily-trigger-disabled'
55 slave-label: fuel-baremetal
57 auto-trigger-name: 'daily-trigger-disabled'
60 slave-label: fuel-virtual
62 auto-trigger-name: 'daily-trigger-disabled'
64 # -------------------------------
65 # Installers not using labels
67 # This section should only contain the installers
68 # that have not been switched using labels for slaves
69 # -------------------------------
72 slave-label: apex-virtual-master
74 auto-trigger-name: 'daily-trigger-disabled'
77 slave-label: apex-baremetal-master
79 auto-trigger-name: 'daily-trigger-disabled'
82 slave-label: apex-virtual-master
84 auto-trigger-name: 'daily-trigger-disabled'
87 slave-label: apex-baremetal-master
89 auto-trigger-name: 'daily-trigger-disabled'
93 slave-label: armband-baremetal
95 auto-trigger-name: 'daily-trigger-disabled'
98 slave-label: armband-virtual
100 auto-trigger-name: 'daily-trigger-disabled'
102 # -------------------------------
104 # -------------------------------
106 slave-label: zte-pod1
108 auto-trigger-name: 'daily-trigger-disabled'
111 slave-label: zte-pod2
113 auto-trigger-name: 'daily-trigger-disabled'
116 slave-label: zte-pod3
118 auto-trigger-name: 'daily-trigger-disabled'
121 # -------------------------------
131 - 'dovetail-{SUT}-{pod}-{testsuite}-{stream}'
132 - 'dovetail-{SUT}-{pod}-{testsuite}-{testarea}-{stream}'
134 ################################
136 ################################
138 name: 'dovetail-{SUT}-{pod}-{testsuite}-{stream}'
153 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
157 - fix-workspace-permissions
160 - '{auto-trigger-name}'
165 branch: '{dovetail-branch}'
167 - '{slave-label}-defaults'
169 name: DEPLOY_SCENARIO
170 default: 'os-nosdn-nofeature-ha'
173 default: '{docker-tag}'
174 description: 'Tag to pull dovetail docker image'
178 description: "Show debug output information"
181 default: '{testsuite}'
182 description: "dovetail testsuite to run"
186 description: "dovetail testarea to run"
188 name: DOVETAIL_REPO_DIR
189 default: "/home/opnfv/dovetail"
190 description: "Directory where the dovetail repository is cloned"
194 description: "SUT branch"
200 - description-setter:
201 description: "POD: $NODE_NAME"
207 artifacts: 'results/**/*'
210 - email-jenkins-admins-on-failure
213 name: 'dovetail-{SUT}-{pod}-{testsuite}-{testarea}-{stream}'
228 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
232 - fix-workspace-permissions
235 - '{auto-trigger-name}'
240 branch: '{dovetail-branch}'
242 - '{slave-label}-defaults'
244 name: DEPLOY_SCENARIO
245 default: 'os-nosdn-nofeature-ha'
248 default: '{docker-tag}'
249 description: 'Tag to pull dovetail docker image'
253 description: "Show debug output information"
256 default: '{testsuite}'
257 description: "dovetail testsuite to run"
260 default: '{testarea}'
261 description: "dovetail testarea to run"
263 name: DOVETAIL_REPO_DIR
264 default: "/home/opnfv/dovetail"
265 description: "Directory where the dovetail repository is cloned"
269 description: "SUT branch"
275 - description-setter:
276 description: "POD: $NODE_NAME"
282 artifacts: 'results/**/*'
285 - email-jenkins-admins-on-failure
287 # -------------------------
289 # -------------------------
294 !include-raw: ./dovetail-run.sh
297 name: dovetail-cleanup
300 !include-raw: ./dovetail-cleanup.sh