1 ########################
2 # Job configuration for fuel
3 ########################
13 - 'fuel-verify-build-{stream}'
14 - 'fuel-verify-virtual-deploy-{stream}'
15 - 'fuel-merge-build-{stream}'
16 - 'fuel-merge-virtual-deploy-{stream}'
17 - 'fuel-daily-{stream}'
18 - 'fuel-build-{stream}'
19 - 'fuel-deploy-{stream}'
20 - 'fuel-lab-reconfig-{stream}'
27 ########################
29 ########################
32 name: 'fuel-verify-build-{stream}'
34 project-type: freestyle
48 artifactDaysToKeep: -1
57 installer: '{installer}'
58 gs-pathname: '{gs-pathname}'
62 credentials-id: '{ssh-credentials}'
63 refspec: '$GERRIT_REFSPEC'
64 choosing-strategy: 'gerrit'
67 - ssh-agent-credentials:
68 user: '{ssh-credentials}'
73 - patchset-created-event:
74 exclude-drafts: 'false'
75 exclude-trivial-rebase: 'false'
76 exclude-no-code-change: 'false'
77 - draft-published-event
78 - comment-added-contains-event:
79 comment-contains-value: 'recheck'
80 - comment-added-contains-event:
81 comment-contains-value: 'reverify'
83 - project-compare-type: 'ANT'
84 project-pattern: '{project}'
86 - branch-compare-type: 'ANT'
87 branch-pattern: '**/{branch}'
91 !include-raw ./fuel-build.sh
93 # !include-raw ./fuel-upload-artifact.sh
95 # !include-raw ./fuel-workspace-cleanup.sh
98 name: 'fuel-verify-virtual-deploy-{stream}'
100 project-type: freestyle
115 artifactDaysToKeep: -1
116 artifactNumToKeep: -1
124 installer: '{installer}'
125 gs-pathname: '{gs-pathname}'
128 - gerrit-trigger-scm:
129 credentials-id: '{ssh-credentials}'
130 refspec: '$GERRIT_REFSPEC'
131 choosing-strategy: 'gerrit'
134 - ssh-agent-credentials:
135 user: '{ssh-credentials}'
140 - patchset-created-event:
141 exclude-drafts: 'false'
142 exclude-trivial-rebase: 'false'
143 exclude-no-code-change: 'false'
144 - draft-published-event
145 - comment-added-contains-event:
146 comment-contains-value: 'recheck'
147 - comment-added-contains-event:
148 comment-contains-value: 'reverify'
150 - project-compare-type: 'ANT'
151 project-pattern: '{project}'
153 - branch-compare-type: 'ANT'
154 branch-pattern: '**/{branch}'
155 dependency-jobs: 'fuel-verify-build-{stream}'
159 # !include-raw ./fuel-download-artifact.sh
161 !include-raw ./fuel-virtual-deploy.sh
163 # !include-raw ./fuel-workspace-cleanup.sh
166 name: 'fuel-merge-build-{stream}'
168 project-type: freestyle
182 artifactDaysToKeep: -1
191 installer: '{installer}'
194 - gerrit-trigger-scm:
195 credentials-id: '{ssh-credentials}'
197 choosing-strategy: 'default'
200 - ssh-agent-credentials:
201 user: '{ssh-credentials}'
206 - change-merged-event
207 - comment-added-contains-event:
208 comment-contains-value: 'remerge'
210 - project-compare-type: 'ANT'
211 project-pattern: '{project}'
213 - branch-compare-type: 'ANT'
214 branch-pattern: '**/{branch}'
218 !include-raw ./fuel-build.sh
220 # !include-raw ./fuel-upload-artifact.sh
222 # !include-raw ./fuel-workspace-cleanup.sh
225 name: 'fuel-merge-virtual-deploy-{stream}'
227 project-type: freestyle
242 artifactDaysToKeep: -1
251 installer: '{installer}'
254 - gerrit-trigger-scm:
255 credentials-id: '{ssh-credentials}'
257 choosing-strategy: 'default'
260 - ssh-agent-credentials:
261 user: '{ssh-credentials}'
266 - change-merged-event
267 - comment-added-contains-event:
268 comment-contains-value: 'remerge'
270 - project-compare-type: 'ANT'
271 project-pattern: '{project}'
273 - branch-compare-type: 'ANT'
274 branch-pattern: '**/{branch}'
275 dependency-jobs: 'fuel-merge-build-{stream}'
279 # !include-raw ./fuel-download-artifact.sh
281 !include-raw ./fuel-virtual-deploy.sh
283 # !include-raw ./fuel-workspace-cleanup.sh
286 name: 'fuel-daily-{stream}'
288 project-type: freestyle
295 - 'fuel-{strem}-trigger'
301 installer: '{installer}'
302 gs-pathname: '{gs-pathname}'
306 credentials-id: '{ssh-credentials}'
311 daysToKeep: '{build-days-to-keep}'
312 numToKeep: '{build-num-to-keep}'
313 artifactDaysToKeep: '{build-artifact-days-to-keep}'
314 artifactNumToKeep: '{build-artifact-num-to-keep}'
318 - project: 'fuel-build-{stream}'
322 - project: 'fuel-lab-reconfig-{stream}'
326 - project: 'fuel-deploy-{stream}'
330 - project: 'functest-fuel-{stream}'
333 build-step-failure-threshold: 'never'
334 failure-threshold: 'never'
335 unstable-threshold: 'FAILURE'
338 - 'fuel-{stream}-daily-trigger'
341 name: 'fuel-build-{stream}'
343 project-type: freestyle
350 artifactDaysToKeep: -1
351 artifactNumToKeep: -1
357 installer: '{installer}'
358 gs-pathname: '{gs-pathname}'
362 credentials-id: '{ssh-credentials}'
368 !include-raw ./fuel-build.sh
370 !include-raw ./fuel-upload-artifact.sh
372 !include-raw ./fuel-workspace-cleanup.sh
376 recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
379 name: 'fuel-deploy-{stream}'
381 project-type: freestyle
391 installer: '{installer}'
392 gs-pathname: '{gs-pathname}'
395 default: ssh://gerrit.opnfv.org:29418/$PROJECT
396 description: "POD2 has some issues with cloning using https so that's why GIT_BASE is overriden here again."
400 credentials-id: '{ssh-credentials}'
407 artifactDaysToKeep: -1
408 artifactNumToKeep: -1
412 !include-raw ./fuel-download-artifact.sh
414 !include-raw ./fuel-deploy.sh
418 recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
421 name: 'fuel-lab-reconfig-{stream}'
423 project-type: freestyle
432 artifactDaysToKeep: -1
433 artifactNumToKeep: -1
439 installer: '{installer}'
440 gs-pathname: '{gs-pathname}'
443 default: ssh://gerrit.opnfv.org:29418/$PROJECT
444 description: "Used for overriding the GIT URL coming from parameters macro."
448 credentials-id: '{ssh-credentials}'
454 use-build-blocker: true
460 !include-raw ./fuel-lab-reconfig.sh
462 ########################
464 ########################
470 default: '{installer}'
471 description: "Installer to use."
473 name: BUILD_DIRECTORY
474 default: $WORKSPACE/build_output
475 description: "Directory where the build artifact will be located upon the completion of the build."
477 name: CACHE_DIRECTORY
478 default: $HOME/opnfv/cache/$INSTALLER
479 description: "Directory where the cache to be used during the build is located."
482 default: https://gerrit.opnfv.org/gerrit/$PROJECT
483 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
486 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
487 description: "URL to Google Storage."
489 ########################
491 ########################
493 name: 'fuel-master-daily-trigger'