12 branch: 'stable/{stream}'
13 gs-pathname: '/{stream}'
15 #####################################
16 # patch verification phases
17 #####################################
20 slave-label: 'opnfv-build-ubuntu'
22 slave-label: 'intel-pod10'
23 #####################################
24 # patch verification phases
25 #####################################
30 #####################################
31 # patch verification phases
32 #####################################
34 - 'kvmfornfv-verify-{stream}'
35 - 'kvmfornfv-verify-{phase}-{stream}'
36 - 'kvmfornfv-merge-{stream}'
37 - 'kvmfornfv-daily-{stream}'
38 - 'kvmfornfv-daily-build-{stream}'
39 - 'kvmfornfv-{testname}-daily-test-{stream}'
40 #####################################
42 #####################################
44 name: 'kvmfornfv-verify-{stream}'
46 project-type: multijob
48 disabled: '{obj:disabled}'
63 - 'opnfv-build-ubuntu-defaults'
67 server-name: 'gerrit.opnfv.org'
69 - patchset-created-event:
70 exclude-drafts: 'false'
71 exclude-trivial-rebase: 'false'
72 exclude-no-code-change: 'false'
73 - draft-published-event
74 - comment-added-contains-event:
75 comment-contains-value: 'recheck'
76 - comment-added-contains-event:
77 comment-contains-value: 'reverify'
79 - project-compare-type: 'ANT'
80 project-pattern: '{project}'
82 - branch-compare-type: 'ANT'
83 branch-pattern: '**/{branch}'
84 disable-strict-forbidden-file-verification: 'true'
91 description: "Built on $NODE_NAME"
96 - name: 'kvmfornfv-verify-build-{stream}'
97 current-parameters: false
98 predefined-parameters: |
100 GERRIT_REFSPEC=$GERRIT_REFSPEC
101 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
102 node-parameters: false
103 kill-phase-on: FAILURE
107 condition: SUCCESSFUL
109 - name: 'kvmfornfv-verify-test-{stream}'
110 current-parameters: false
111 predefined-parameters: |
113 GERRIT_REFSPEC=$GERRIT_REFSPEC
114 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
115 node-parameters: false
116 kill-phase-on: FAILURE
119 name: 'kvmfornfv-verify-{phase}-{stream}'
121 disabled: '{obj:disabled}'
137 - '{slave-label}-defaults'
138 - 'kvmfornfv-defaults':
139 gs-pathname: '{gs-pathname}'
143 description: "Execution of kvmfornfv daily '{phase}' job ."
146 - description-setter:
147 description: "Built on $NODE_NAME"
148 - '{project}-verify-{phase}-macro'
151 name: 'kvmfornfv-merge-{stream}'
153 disabled: '{obj:disabled}'
159 - 'opnfv-build-ubuntu-defaults'
160 - 'kvmfornfv-defaults':
161 gs-pathname: '{gs-pathname}'
168 server-name: 'gerrit.opnfv.org'
170 - change-merged-event
171 - comment-added-contains-event:
172 comment-contains-value: 'remerge'
174 - project-compare-type: 'ANT'
175 project-pattern: '{project}'
177 - branch-compare-type: 'ANT'
178 branch-pattern: '**/{branch}'
182 !include-raw: ./kvmfornfv-build.sh
185 name: 'kvmfornfv-daily-{stream}'
187 project-type: multijob
189 disabled: '{obj:disabled}'
197 - 'opnfv-build-ubuntu-defaults'
198 - 'kvmfornfv-defaults':
199 gs-pathname: '{gs-pathname}'
208 - description-setter:
209 description: "Built on $NODE_NAME"
211 name: cyclictest-build
212 condition: SUCCESSFUL
214 - name: 'kvmfornfv-daily-build-{stream}'
215 current-parameters: false
216 node-parameters: false
218 kill-phase-on: FAILURE
221 name: cyclictest-test
222 condition: SUCCESSFUL
224 - name: 'kvmfornfv-cyclictest-daily-test-{stream}'
225 current-parameters: false
226 node-parameters: false
228 kill-phase-on: FAILURE
231 name: packetforward-test
232 condition: SUCCESSFUL
234 - name: 'kvmfornfv-packet_forward-daily-test-{stream}'
235 current-parameters: false
236 node-parameters: false
238 kill-phase-on: FAILURE
241 name: livemigration-test
242 condition: SUCCESSFUL
244 - name: 'kvmfornfv-livemigration-daily-test-{stream}'
245 current-parameters: false
246 node-parameters: false
248 kill-phase-on: FAILURE
253 name: 'kvmfornfv-daily-build-{stream}'
255 disabled: '{obj:disabled}'
271 - 'opnfv-build-ubuntu-defaults'
272 - 'kvmfornfv-defaults':
273 gs-pathname: '{gs-pathname}'
277 description: "Execution of kvmfornfv daily 'build' job ."
280 - description-setter:
281 description: "Built on $NODE_NAME"
282 - '{project}-daily-build-macro'
285 name: 'kvmfornfv-{testname}-daily-test-{stream}'
287 disabled: '{obj:disabled}'
303 - 'intel-pod10-defaults'
304 - 'kvmfornfv-defaults':
305 gs-pathname: '{gs-pathname}'
308 default: '{testname}'
309 description: "Daily job to execute kvmfornfv '{testname}' testcase."
313 description: "Execution of kvmfornfv daily 'test' job ."
316 - description-setter:
317 description: "Built on $NODE_NAME"
318 - '{project}-{testname}-daily-test-macro'
319 #####################################
321 #####################################
323 name: 'kvmfornfv-verify-build-macro'
326 !include-raw: ./kvmfornfv-build.sh
328 !include-raw: ./kvmfornfv-upload-artifact.sh
330 name: 'kvmfornfv-verify-test-macro'
333 !include-raw: ./kvmfornfv-download-artifact.sh
335 !include-raw: ./kvmfornfv-test.sh
337 name: 'kvmfornfv-daily-build-macro'
340 !include-raw: ./kvmfornfv-build.sh
342 !include-raw: ./kvmfornfv-upload-artifact.sh
344 name: 'kvmfornfv-cyclictest-daily-test-macro'
347 !include-raw: ./kvmfornfv-download-artifact.sh
349 !include-raw: ./kvmfornfv-test.sh
351 !include-raw: ./kvmfornfv-upload-artifact.sh
353 name: 'kvmfornfv-packet_forward-daily-test-macro'
356 !include-raw: ./kvmfornfv-download-artifact.sh
358 !include-raw: ./kvmfornfv-test.sh
360 name: 'kvmfornfv-livemigration-daily-test-macro'
363 !include-raw: ./kvmfornfv-download-artifact.sh
365 !include-raw: ./kvmfornfv-test.sh
367 #####################################
369 #####################################
371 name: 'kvmfornfv-defaults'
375 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
376 description: "URL to Google Storage."