1 ########################
2 # Job configuration for fuel
3 ########################
13 - 'fuel-verify-build-{stream}'
14 - 'fuel-merge-build-{stream}'
15 - 'fuel-merge-virtual-deploy-{stream}'
16 - 'fuel-daily-{stream}'
17 - 'fuel-build-{stream}'
18 - 'fuel-deploy-{stream}'
19 - 'fuel-lab-reconfig-{stream}'
26 ########################
28 ########################
31 name: 'fuel-verify-build-{stream}'
33 project-type: freestyle
47 artifactDaysToKeep: -1
56 installer: '{installer}'
57 gs-pathname: '{gs-pathname}'
61 credentials-id: '{ssh-credentials}'
62 refspec: '$GERRIT_REFSPEC'
63 choosing-strategy: 'gerrit'
66 - ssh-agent-credentials:
67 user: '{ssh-credentials}'
75 - patchset-created-event:
76 exclude-drafts: 'false'
77 exclude-trivial-rebase: 'false'
78 exclude-no-code-change: 'false'
79 - draft-published-event
80 - comment-added-contains-event:
81 comment-contains-value: 'recheck'
82 - comment-added-contains-event:
83 comment-contains-value: 'reverify'
85 - project-compare-type: 'ANT'
86 project-pattern: '{project}'
88 - branch-compare-type: 'ANT'
89 branch-pattern: '**/{branch}'
93 !include-raw ./fuel-build.sh
95 !include-raw ./fuel-workspace-cleanup.sh
98 name: 'fuel-merge-build-{stream}'
100 project-type: freestyle
114 artifactDaysToKeep: -1
123 installer: '{installer}'
126 - gerrit-trigger-scm:
127 credentials-id: '{ssh-credentials}'
129 choosing-strategy: 'default'
132 - ssh-agent-credentials:
133 user: '{ssh-credentials}'
141 - change-merged-event
142 - comment-added-contains-event:
143 comment-contains-value: 'remerge'
145 - project-compare-type: 'ANT'
146 project-pattern: '{project}'
148 - branch-compare-type: 'ANT'
149 branch-pattern: '**/{branch}'
153 !include-raw ./fuel-build.sh
155 !include-raw ./fuel-upload-artifact.sh
157 !include-raw ./fuel-workspace-cleanup.sh
160 name: 'fuel-merge-virtual-deploy-{stream}'
162 project-type: freestyle
177 artifactDaysToKeep: -1
186 installer: '{installer}'
189 - gerrit-trigger-scm:
190 credentials-id: '{ssh-credentials}'
192 choosing-strategy: 'default'
195 - ssh-agent-credentials:
196 user: '{ssh-credentials}'
201 - change-merged-event
202 - comment-added-contains-event:
203 comment-contains-value: 'remerge'
205 - project-compare-type: 'ANT'
206 project-pattern: '{project}'
208 - branch-compare-type: 'ANT'
209 branch-pattern: '**/{branch}'
210 dependency-jobs: 'fuel-merge-build-{stream}'
214 !include-raw ./fuel-download-artifact.sh
216 !include-raw ./fuel-virtual-deploy.sh
218 !include-raw ./fuel-workspace-cleanup.sh
221 name: 'fuel-daily-{stream}'
223 project-type: freestyle
230 - 'fuel-{strem}-trigger'
236 installer: '{installer}'
237 gs-pathname: '{gs-pathname}'
241 credentials-id: '{ssh-credentials}'
246 daysToKeep: '{build-days-to-keep}'
247 numToKeep: '{build-num-to-keep}'
248 artifactDaysToKeep: '{build-artifact-days-to-keep}'
249 artifactNumToKeep: '{build-artifact-num-to-keep}'
253 - project: 'fuel-build-{stream}'
257 - project: 'fuel-deploy-{stream}'
261 - project: 'functest-fuel-{stream}'
264 build-step-failure-threshold: 'never'
265 failure-threshold: 'never'
266 unstable-threshold: 'FAILURE'
268 - project: 'yardstick-fuel-lf-{stream}'
271 build-step-failure-threshold: 'never'
272 failure-threshold: 'never'
273 unstable-threshold: 'FAILURE'
276 - 'fuel-{stream}-daily-trigger'
279 name: 'fuel-build-{stream}'
281 project-type: freestyle
288 artifactDaysToKeep: -1
289 artifactNumToKeep: -1
295 installer: '{installer}'
296 gs-pathname: '{gs-pathname}'
300 credentials-id: '{ssh-credentials}'
311 !include-raw ./fuel-build.sh
313 !include-raw ./fuel-upload-artifact.sh
315 !include-raw ./fuel-workspace-cleanup.sh
319 recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
322 name: 'fuel-deploy-{stream}'
324 project-type: freestyle
334 installer: '{installer}'
335 gs-pathname: '{gs-pathname}'
338 default: ssh://gerrit.opnfv.org:29418/$PROJECT
339 description: "POD2 has some issues with cloning using https so that's why GIT_BASE is overriden here again."
343 credentials-id: '{ssh-credentials}'
350 artifactDaysToKeep: -1
351 artifactNumToKeep: -1
355 !include-raw ./fuel-download-artifact.sh
357 !include-raw ./fuel-deploy.sh
361 recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
364 name: 'fuel-lab-reconfig-{stream}'
366 project-type: freestyle
375 artifactDaysToKeep: -1
376 artifactNumToKeep: -1
382 installer: '{installer}'
383 gs-pathname: '{gs-pathname}'
386 default: ssh://gerrit.opnfv.org:29418/$PROJECT
387 description: "Used for overriding the GIT URL coming from parameters macro."
391 credentials-id: '{ssh-credentials}'
397 use-build-blocker: true
403 !include-raw ./fuel-lab-reconfig.sh
405 ########################
407 ########################
413 default: '{installer}'
414 description: "Installer to use."
416 name: BUILD_DIRECTORY
417 default: $WORKSPACE/build_output
418 description: "Directory where the build artifact will be located upon the completion of the build."
420 name: CACHE_DIRECTORY
421 default: $HOME/opnfv/cache/$INSTALLER
422 description: "Directory where the cache to be used during the build is located."
425 default: https://gerrit.opnfv.org/gerrit/$PROJECT
426 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
429 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
430 description: "URL to Google Storage."
432 ########################
434 ########################
436 name: 'fuel-master-daily-trigger'