13 branch: 'stable/{stream}'
14 gs-pathname: '/{stream}'
16 #####################################
17 # patch verification phases
18 #####################################
21 slave-label: 'opnfv-build-ubuntu'
23 slave-label: 'intel-pod10'
24 #####################################
25 # patch verification phases
26 #####################################
31 #####################################
32 # patch verification phases
33 #####################################
35 - 'kvmfornfv-verify-{stream}'
36 - 'kvmfornfv-verify-{phase}-{stream}'
37 - 'kvmfornfv-merge-{stream}'
38 - 'kvmfornfv-daily-{stream}'
39 - 'kvmfornfv-daily-build-{stream}'
40 - 'kvmfornfv-{testname}-daily-test-{stream}'
42 #####################################
44 #####################################
46 name: 'kvmfornfv-verify-{stream}'
48 project-type: multijob
50 disabled: '{obj:disabled}'
65 - 'opnfv-build-ubuntu-defaults'
69 server-name: 'gerrit.opnfv.org'
71 - patchset-created-event:
72 exclude-drafts: 'false'
73 exclude-trivial-rebase: 'false'
74 exclude-no-code-change: 'false'
75 - draft-published-event
76 - comment-added-contains-event:
77 comment-contains-value: 'recheck'
78 - comment-added-contains-event:
79 comment-contains-value: 'reverify'
81 - project-compare-type: 'ANT'
82 project-pattern: '{project}'
84 - branch-compare-type: 'ANT'
85 branch-pattern: '**/{branch}'
86 disable-strict-forbidden-file-verification: 'true'
93 description: "Built on $NODE_NAME"
98 - name: 'kvmfornfv-verify-build-{stream}'
99 current-parameters: false
100 predefined-parameters: |
102 GERRIT_REFSPEC=$GERRIT_REFSPEC
103 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
104 node-parameters: false
105 kill-phase-on: FAILURE
109 condition: SUCCESSFUL
111 - name: 'kvmfornfv-verify-test-{stream}'
112 current-parameters: false
113 predefined-parameters: |
115 GERRIT_REFSPEC=$GERRIT_REFSPEC
116 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
117 node-parameters: false
118 kill-phase-on: FAILURE
122 name: 'kvmfornfv-verify-{phase}-{stream}'
124 disabled: '{obj:disabled}'
141 - '{slave-label}-defaults'
142 - 'kvmfornfv-defaults':
143 gs-pathname: '{gs-pathname}'
147 description: "Execution of kvmfornfv daily '{phase}' job ."
150 - description-setter:
151 description: "Built on $NODE_NAME"
152 - '{project}-verify-{phase}-macro'
155 name: 'kvmfornfv-merge-{stream}'
157 disabled: '{obj:disabled}'
163 - 'opnfv-build-ubuntu-defaults'
164 - 'kvmfornfv-defaults':
165 gs-pathname: '{gs-pathname}'
172 server-name: 'gerrit.opnfv.org'
174 - change-merged-event
175 - comment-added-contains-event:
176 comment-contains-value: 'remerge'
178 - project-compare-type: 'ANT'
179 project-pattern: '{project}'
181 - branch-compare-type: 'ANT'
182 branch-pattern: '**/{branch}'
186 !include-raw: ./kvmfornfv-build.sh
189 name: 'kvmfornfv-daily-{stream}'
191 project-type: multijob
193 disabled: '{obj:disabled}'
201 - 'opnfv-build-ubuntu-defaults'
202 - 'kvmfornfv-defaults':
203 gs-pathname: '{gs-pathname}'
212 - description-setter:
213 description: "Built on $NODE_NAME"
215 name: cyclictest-build
216 condition: SUCCESSFUL
218 - name: 'kvmfornfv-daily-build-{stream}'
219 current-parameters: false
220 node-parameters: false
222 kill-phase-on: FAILURE
225 name: cyclictest-test
226 condition: SUCCESSFUL
228 - name: 'kvmfornfv-cyclictest-daily-test-{stream}'
229 current-parameters: false
230 node-parameters: false
232 kill-phase-on: FAILURE
235 name: packetforward-test
236 condition: SUCCESSFUL
238 - name: 'kvmfornfv-packet_forward-daily-test-{stream}'
239 current-parameters: false
240 node-parameters: false
242 kill-phase-on: FAILURE
245 name: livemigration-test
246 condition: SUCCESSFUL
248 - name: 'kvmfornfv-livemigration-daily-test-{stream}'
249 current-parameters: false
250 node-parameters: false
252 kill-phase-on: FAILURE
256 name: 'kvmfornfv-daily-build-{stream}'
258 disabled: '{obj:disabled}'
274 - 'opnfv-build-ubuntu-defaults'
275 - 'kvmfornfv-defaults':
276 gs-pathname: '{gs-pathname}'
280 description: "Execution of kvmfornfv daily 'build' job ."
283 - description-setter:
284 description: "Built on $NODE_NAME"
285 - '{project}-daily-build-macro'
288 name: 'kvmfornfv-{testname}-daily-test-{stream}'
290 disabled: '{obj:disabled}'
307 - 'intel-pod10-defaults'
308 - 'kvmfornfv-defaults':
309 gs-pathname: '{gs-pathname}'
312 default: '{testname}'
313 description: "Daily job to execute kvmfornfv '{testname}' testcase."
317 description: "Execution of kvmfornfv daily 'test' job ."
320 - description-setter:
321 description: "Built on $NODE_NAME"
322 - '{project}-{testname}-daily-test-macro'
324 #####################################
326 #####################################
328 name: 'kvmfornfv-verify-build-macro'
331 !include-raw: ./kvmfornfv-build.sh
333 !include-raw: ./kvmfornfv-upload-artifact.sh
336 name: 'kvmfornfv-verify-test-macro'
339 !include-raw: ./kvmfornfv-download-artifact.sh
341 !include-raw: ./kvmfornfv-test.sh
344 name: 'kvmfornfv-daily-build-macro'
347 !include-raw: ./kvmfornfv-build.sh
349 !include-raw: ./kvmfornfv-upload-artifact.sh
352 name: 'kvmfornfv-cyclictest-daily-test-macro'
355 !include-raw: ./kvmfornfv-download-artifact.sh
357 !include-raw: ./kvmfornfv-test.sh
359 !include-raw: ./kvmfornfv-upload-artifact.sh
362 name: 'kvmfornfv-packet_forward-daily-test-macro'
365 !include-raw: ./kvmfornfv-download-artifact.sh
367 !include-raw: ./kvmfornfv-test.sh
370 name: 'kvmfornfv-livemigration-daily-test-macro'
373 !include-raw: ./kvmfornfv-download-artifact.sh
375 !include-raw: ./kvmfornfv-test.sh
377 #####################################
379 #####################################
381 name: 'kvmfornfv-defaults'
385 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
386 description: "URL to Google Storage."