4 - 'genesis-daily-master'
7 - 'genesis-foreman-daily-master'
8 - 'genesis-fuel-daily-master'
9 - 'genesis-opensteak-daily-master'
14 # stream: branch with - in place of / (eg. stable-helium)
15 # branch: branch (eg. stable/helium)
23 name: 'genesis-daily-master'
25 # Job template for daily builders
28 # stream: branch with - in place of / (eg. stable)
29 # branch: branch (eg. stable)
31 project-type: freestyle
35 daysToKeep: '{build-days-to-keep}'
36 numToKeep: '{build-num-to-keep}'
37 artifactDaysToKeep: '{build-artifact-days-to-keep}'
38 artifactNumToKeep: '{build-artifact-num-to-keep}'
46 credentials-id: '{ssh-credentials}'
51 - ssh-agent-credentials:
52 user: '{ssh-credentials}'
71 if [[ -d /var/www/genesis-fuel/daily ]]; then sudo rm /var/www/genesis-fuel/daily; fi
72 sudo ln -s /home/jenkins-ci/workspace/genesis-daily-master/fuel-build/release/ /var/www/genesis-fuel/daily
75 name: 'genesis-verify'
77 project-type: freestyle
83 artifactDaysToKeep: -1
93 credentials-id: '{ssh-credentials}'
94 refspec: '$GERRIT_REFSPEC'
95 choosing-strategy: 'gerrit'
98 - ssh-agent-credentials:
99 user: '{ssh-credentials}'
104 - patchset-created-event:
105 exclude-drafts: 'false'
106 exclude-trivial-rebase: 'false'
107 exclude-no-code-change: 'false'
108 - draft-published-event
109 - comment-added-contains-event:
110 comment-contains-value: 'recheck'
111 - comment-added-contains-event:
112 comment-contains-value: 'reverify'
114 - project-compare-type: 'ANT'
115 project-pattern: 'genesis'
117 - branch-compare-type: 'ANT'
118 branch-pattern: '**/master'
130 echo "what tests can we run here?"
133 name: 'genesis-merge'
135 # builder-merge job to run JJB update
137 # This job's purpose is to update all the JJB
139 project-type: freestyle
145 artifactDaysToKeep: -1
155 - gerrit-trigger-scm:
156 credentials-id: '{ssh-credentials}'
158 choosing-strategy: 'default'
161 - ssh-agent-credentials:
162 user: '{ssh-credentials}'
167 - change-merged-event
168 - comment-added-contains-event:
169 comment-contains-value: 'remerge'
171 - project-compare-type: 'ANT'
172 project-pattern: 'genesis'
174 - branch-compare-type: 'ANT'
175 branch-pattern: '**/master'
193 name: genesis-foreman-daily-master
195 project-type: freestyle
205 description: "Installer to use."
208 default: origin/master
209 description: "Branch to build, deploy and test."
212 default: refs/heads/master
213 description: "Refspec to retrieve."
218 url: https://gerrit.opnfv.org/gerrit/genesis
221 refspec: $GERRIT_REFSPEC
224 - pollscm: '@midnight'
229 artifactDaysToKeep: -1
230 artifactNumToKeep: -1
234 - project: genesis-build
235 current-parameters: true
236 predefined-parameters: GERRIT_BRANCH=$GIT_COMMIT
239 - project: genesis-deploy
240 current-parameters: true
241 predefined-parameters: GERRIT_BRANCH=$GIT_COMMIT
244 - project: genesis-test
245 current-parameters: true
246 predefined-parameters: GERRIT_BRANCH=$GIT_COMMIT
250 name: genesis-fuel-daily-master
252 project-type: freestyle
262 description: "Installer to use."
265 default: origin/master
266 description: "Branch to build, deploy and test."
269 default: refs/heads/master
270 description: "Refspec to retrieve."
275 url: https://gerrit.opnfv.org/gerrit/genesis
278 refspec: $GERRIT_REFSPEC
281 - pollscm: '@midnight'
286 artifactDaysToKeep: -1
287 artifactNumToKeep: -1
291 - project: genesis-build
292 current-parameters: true
293 predefined-parameters: GERRIT_BRANCH=$GIT_COMMIT
296 - project: genesis-deploy
297 current-parameters: true
298 predefined-parameters: GERRIT_BRANCH=$GIT_COMMIT
301 - project: genesis-test
302 current-parameters: true
303 predefined-parameters: GERRIT_BRANCH=$GIT_COMMIT
307 name: genesis-opensteak-daily-master
309 project-type: freestyle
319 description: "Installer to use."
322 default: origin/master
323 description: "Branch to build, deploy and test."
326 default: refs/heads/master
327 description: "Refspec to retrieve."
332 url: https://gerrit.opnfv.org/gerrit/genesis
335 refspec: $GERRIT_REFSPEC
338 - pollscm: '@midnight'
343 artifactDaysToKeep: -1
344 artifactNumToKeep: -1
348 - project: genesis-build
349 current-parameters: true
350 predefined-parameters: GERRIT_BRANCH=$GIT_COMMIT
353 - project: genesis-deploy
354 current-parameters: true
355 predefined-parameters: GERRIT_BRANCH=$GIT_COMMIT
358 - project: genesis-test
359 current-parameters: true
360 predefined-parameters: GERRIT_BRANCH=$GIT_COMMIT
369 project-type: freestyle
376 artifactDaysToKeep: -1
377 artifactNumToKeep: -1
382 description: "Installer to use. Mandatory parameter."
386 description: "Branch to build, deploy and test."
389 default: refs/heads/master
390 description: "Refspec to retrieve."
395 url: https://gerrit.opnfv.org/gerrit/genesis
398 refspec: $GERRIT_REFSPEC
411 cd $WORKSPACE/fuel-build/docker
426 project-type: freestyle
433 artifactDaysToKeep: -1
434 artifactNumToKeep: -1
439 description: "Installer to use. Mandatory parameter."
443 description: "Branch to build, deploy and test."
446 default: refs/heads/master
447 description: "Refspec to retrieve."
452 url: https://gerrit.opnfv.org/gerrit/genesis
455 refspec: $GERRIT_REFSPEC
465 echo cd $WORKSPACE/$INSTALLER/ci
473 project-type: freestyle
480 artifactDaysToKeep: -1
481 artifactNumToKeep: -1
486 description: "Installer to use. Mandatory parameter."
490 description: "Branch to build, deploy and test."
493 default: refs/heads/master
494 description: "Refspec to retrieve."
499 url: https://gerrit.opnfv.org/gerrit/genesis
502 refspec: $GERRIT_REFSPEC
512 echo cd $WORKSPACE/$INSTALLER/ci