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}'
24 ########################
26 ########################
29 name: 'fuel-verify-build-{stream}'
31 project-type: freestyle
45 artifactDaysToKeep: -1
54 installer: '{installer}'
55 gs-pathname: '{gs-pathname}'
59 credentials-id: '{ssh-credentials}'
60 refspec: '$GERRIT_REFSPEC'
61 choosing-strategy: 'gerrit'
64 - ssh-agent-credentials:
65 user: '{ssh-credentials}'
70 - patchset-created-event:
71 exclude-drafts: 'false'
72 exclude-trivial-rebase: 'false'
73 exclude-no-code-change: 'false'
74 - draft-published-event
75 - comment-added-contains-event:
76 comment-contains-value: 'recheck'
77 - comment-added-contains-event:
78 comment-contains-value: 'reverify'
80 - project-compare-type: 'ANT'
81 project-pattern: '{project}'
83 - branch-compare-type: 'ANT'
84 branch-pattern: '**/{branch}'
88 !include-raw ./fuel-build.sh
90 !include-raw ./fuel-upload-artifact.sh
92 # !include-raw ./fuel-workspace-cleanup.sh
95 name: 'fuel-verify-virtual-deploy-{stream}'
97 project-type: freestyle
112 artifactDaysToKeep: -1
113 artifactNumToKeep: -1
121 installer: '{installer}'
122 gs-pathname: '{gs-pathname}'
125 - gerrit-trigger-scm:
126 credentials-id: '{ssh-credentials}'
127 refspec: '$GERRIT_REFSPEC'
128 choosing-strategy: 'gerrit'
131 - ssh-agent-credentials:
132 user: '{ssh-credentials}'
137 - patchset-created-event:
138 exclude-drafts: 'false'
139 exclude-trivial-rebase: 'false'
140 exclude-no-code-change: 'false'
141 - draft-published-event
142 - comment-added-contains-event:
143 comment-contains-value: 'recheck'
144 - comment-added-contains-event:
145 comment-contains-value: 'reverify'
147 - project-compare-type: 'ANT'
148 project-pattern: '{project}'
150 - branch-compare-type: 'ANT'
151 branch-pattern: '**/{branch}'
152 dependency-jobs: 'fuel-verify-build-{stream}'
156 !include-raw ./fuel-download-artifact.sh
158 !include-raw ./fuel-virtual-deploy.sh
160 # !include-raw ./fuel-workspace-cleanup.sh
163 name: 'fuel-merge-build-{stream}'
165 project-type: freestyle
179 artifactDaysToKeep: -1
188 installer: '{installer}'
191 - gerrit-trigger-scm:
192 credentials-id: '{ssh-credentials}'
194 choosing-strategy: 'default'
197 - ssh-agent-credentials:
198 user: '{ssh-credentials}'
203 - change-merged-event
204 - comment-added-contains-event:
205 comment-contains-value: 'remerge'
207 - project-compare-type: 'ANT'
208 project-pattern: '{project}'
210 - branch-compare-type: 'ANT'
211 branch-pattern: '**/{branch}'
215 !include-raw ./fuel-build.sh
217 !include-raw ./fuel-upload-artifact.sh
219 # !include-raw ./fuel-workspace-cleanup.sh
222 name: 'fuel-merge-virtual-deploy-{stream}'
224 project-type: freestyle
239 artifactDaysToKeep: -1
248 installer: '{installer}'
251 - gerrit-trigger-scm:
252 credentials-id: '{ssh-credentials}'
254 choosing-strategy: 'default'
257 - ssh-agent-credentials:
258 user: '{ssh-credentials}'
263 - change-merged-event
264 - comment-added-contains-event:
265 comment-contains-value: 'remerge'
267 - project-compare-type: 'ANT'
268 project-pattern: '{project}'
270 - branch-compare-type: 'ANT'
271 branch-pattern: '**/{branch}'
272 dependency-jobs: 'fuel-merge-build-{stream}'
276 !include-raw ./fuel-download-artifact.sh
278 !include-raw ./fuel-virtual-deploy.sh
280 # !include-raw ./fuel-workspace-cleanup.sh
283 name: 'fuel-daily-{stream}'
289 project-type: freestyle
292 daysToKeep: '{build-days-to-keep}'
293 numToKeep: '{build-num-to-keep}'
294 artifactDaysToKeep: '{build-artifact-days-to-keep}'
295 artifactNumToKeep: '{build-artifact-num-to-keep}'
303 credentials-id: '{ssh-credentials}'
308 - ssh-agent-credentials:
309 user: '{ssh-credentials}'
318 ########################
320 ########################
326 default: '{installer}'
327 description: "Installer to use."
329 name: BUILD_DIRECTORY
330 default: $WORKSPACE/build_output
331 description: "Directory where the build artifact will be located upon the completion of the build."
333 name: CACHE_DIRECTORY
334 default: $HOME/opnfv/cache/$INSTALLER
335 description: "Directory where the cache to be used during the build is located."
338 default: https://gerrit.opnfv.org/gerrit/$PROJECT
339 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
342 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
343 description: "URL to Google Storage."