1 ########################
2 # Job configuration for fuel
3 ########################
5 name: fuel-project-jobs
17 branch: 'stable/{stream}'
18 gs-pathname: '/{stream}'
22 - 'fuel-build-daily-{stream}'
23 - 'fuel-merge-build-{stream}'
24 - 'fuel-merge-deploy-virtual-{stream}'
25 - 'fuel-deploy-generic-daily-{stream}'
27 ########################
29 ########################
31 name: 'fuel-build-daily-{stream}'
33 disabled: '{obj:disabled}'
47 - 'opnfv-build-ubuntu-defaults'
48 - '{installer}-defaults'
54 description: "Force build even if there is no changes in fuel repo. Default false"
55 - fuel-project-parameter:
56 gs-pathname: '{gs-pathname}'
60 credentials-id: '{ssh-credentials}'
65 - timed: '0 H/4 * * *'
74 !include-raw-escape: ./fuel-build.sh
76 !include-raw-escape: ./fuel-upload-artifact.sh
78 !include-raw-escape: ./fuel-workspace-cleanup.sh
82 recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
85 name: 'fuel-merge-build-{stream}'
87 disabled: '{obj:disabled}'
96 - 'opnfv-build-ubuntu-defaults'
97 - '{installer}-defaults'
98 - fuel-project-parameter:
99 gs-pathname: '{gs-pathname}'
102 - gerrit-trigger-scm:
103 credentials-id: '{ssh-credentials}'
105 choosing-strategy: 'default'
108 - ssh-agent-credentials:
110 - '{ssh-credentials}'
118 - change-merged-event
119 - comment-added-contains-event:
120 comment-contains-value: 'remerge'
122 - project-compare-type: 'ANT'
123 project-pattern: '{project}'
125 - branch-compare-type: 'ANT'
126 branch-pattern: '**/{branch}'
134 forbidden-file-paths:
140 !include-raw-escape: ./fuel-build.sh
142 !include-raw-escape: ./fuel-upload-artifact.sh
144 !include-raw-escape: ./fuel-workspace-cleanup.sh
147 name: 'fuel-merge-deploy-virtual-{stream}'
160 use-build-blocker: true
162 - 'fuel-os-.*?-virtual-daily-.*'
163 - 'fuel-merge-deploy-virtual-.*'
171 - 'fuel-virtual-defaults':
172 installer: '{installer}'
173 - '{installer}-defaults'
174 - fuel-project-parameter:
175 gs-pathname: '{gs-pathname}'
177 - gerrit-trigger-scm:
178 credentials-id: '{ssh-credentials}'
180 choosing-strategy: 'default'
183 - ssh-agent-credentials:
185 - '{ssh-credentials}'
190 - change-merged-event
191 - comment-added-contains-event:
192 comment-contains-value: 'remerge'
194 - project-compare-type: 'ANT'
195 project-pattern: '{project}'
197 - branch-compare-type: 'ANT'
198 branch-pattern: '**/{branch}'
206 forbidden-file-paths:
209 dependency-jobs: 'fuel-merge-build-{stream}'
213 !include-raw-escape: ./fuel-download-artifact.sh
215 !include-raw-escape: ./fuel-deploy.sh
217 !include-raw-escape: ./fuel-workspace-cleanup.sh
221 recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
224 name: 'fuel-deploy-generic-daily-{stream}'
228 disabled: '{obj:disabled}'
236 use-build-blocker: true
238 - 'fuel-os-.*?-daily-.*'
239 - 'fuel-deploy-generic-daily-.*'
245 - '{installer}-defaults'
248 default: https://gerrit.opnfv.org/gerrit/$PROJECT
249 description: 'Git URL to use on this Jenkins Slave'
251 name: DEPLOY_SCENARIO
252 default: 'os-odl_l2-nofeature-ha'
255 description: 'Slave name on Jenkins'
262 - fuel-project-parameter:
263 gs-pathname: '{gs-pathname}'
267 credentials-id: '{ssh-credentials}'
273 name: '$BUILD_NUMBER - POD: $NODE_NAME Scenario: $DEPLOY_SCENARIO'
277 !include-raw-escape: ./fuel-download-artifact.sh
279 !include-raw-escape: ./fuel-deploy.sh
281 ########################
283 ########################
285 name: fuel-project-parameter
288 name: BUILD_DIRECTORY
289 default: $WORKSPACE/build_output
290 description: "Directory where the build artifact will be located upon the completion of the build."
292 name: CACHE_DIRECTORY
293 default: $HOME/opnfv/cache/$INSTALLER_TYPE
294 description: "Directory where the cache to be used during the build is located."
297 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
298 description: "URL to Google Storage."