1 # this is the job configuration for bgs
11 - 'genesis-{installer}-verify'
12 - 'genesis-{installer}-merge'
13 - 'genesis-{installer}-daily-master'
15 # stream: branch with - in place of / (eg. stable-helium)
16 # branch: branch (eg. stable/helium)
23 ########################
25 ########################
28 name: 'genesis-{installer}-verify'
30 project-type: freestyle
37 artifactDaysToKeep: -1
43 default: $WORKSPACE/build_output
46 default: https://gerrit.opnfv.org/gerrit/genesis
54 credentials-id: '{ssh-credentials}'
55 refspec: '$GERRIT_REFSPEC'
56 choosing-strategy: 'gerrit'
59 - ssh-agent-credentials:
60 user: '{ssh-credentials}'
65 - patchset-created-event:
66 exclude-drafts: 'false'
67 exclude-trivial-rebase: 'false'
68 exclude-no-code-change: 'false'
69 - draft-published-event
70 - comment-added-contains-event:
71 comment-contains-value: 'recheck'
72 - comment-added-contains-event:
73 comment-contains-value: 'reverify'
75 - project-compare-type: 'ANT'
76 project-pattern: 'genesis'
78 - branch-compare-type: 'ANT'
79 branch-pattern: '**/master'
84 pattern: '{installer}/**'
88 - '{installer}-verify'
91 name: 'genesis-{installer}-merge'
93 # builder-merge job to run JJB update
95 # This job's purpose is to update all the JJB
97 project-type: freestyle
104 artifactDaysToKeep: -1
109 name: BUILD_DIRECTORY
110 default: $WORKSPACE/build_output
113 default: https://gerrit.opnfv.org/gerrit/genesis
120 - gerrit-trigger-scm:
121 credentials-id: '{ssh-credentials}'
123 choosing-strategy: 'default'
126 - ssh-agent-credentials:
127 user: '{ssh-credentials}'
132 - change-merged-event
133 - comment-added-contains-event:
134 comment-contains-value: 'remerge'
136 - project-compare-type: 'ANT'
137 project-pattern: 'genesis'
139 - branch-compare-type: 'ANT'
140 branch-pattern: '**/master'
145 pattern: '{installer}/**'
148 - '{installer}-merge'
151 name: 'genesis-{installer}-daily-master'
153 project-type: freestyle
159 name: BUILD_DIRECTORY
160 default: $WORKSPACE/build_output
163 default: '{installer}'
164 description: "Installer to use."
167 default: https://gerrit.opnfv.org/gerrit/genesis
170 default: origin/master
171 description: "Branch to build, deploy and test."
174 default: refs/heads/master
175 description: "Refspec to retrieve."
183 refspec: $GERRIT_REFSPEC
186 - pollscm: '@midnight'
191 artifactDaysToKeep: -1
192 artifactNumToKeep: -1
195 - '{installer}-daily-master'
197 ########################
199 ########################
217 name: foreman-daily-master
234 # set/create the cache location
235 OPNFV_FUEL_CACHE="$(dirname $WORKSPACE)/opnfv_fuel_cache"
236 [[ -d $OPNFV_FUEL_CACHE ]] || mkdir -p $OPNFV_FUEL_CACHE
239 cd $WORKSPACE/fuel/ci
240 ./build.sh -c file://$OPNFV_FUEL_CACHE $BUILD_DIRECTORY
242 # list the build artifacts
243 ls -al $BUILD_DIRECTORY
255 # set/create the cache location
256 OPNFV_FUEL_CACHE="$(dirname $WORKSPACE)/opnfv_fuel_cache"
257 [[ -d $OPNFV_FUEL_CACHE ]] || mkdir -p $OPNFV_FUEL_CACHE
260 cd $WORKSPACE/fuel/ci
261 ./build.sh -c file://$OPNFV_FUEL_CACHE $BUILD_DIRECTORY
263 # list the build artifacts
264 ls -al $BUILD_DIRECTORY
267 name: fuel-daily-master
276 # set/create the cache location
277 OPNFV_FUEL_CACHE="$(dirname $WORKSPACE)/opnfv_fuel_cache"
278 [[ -d $OPNFV_FUEL_CACHE ]] || mkdir -p $OPNFV_FUEL_CACHE
281 cd $WORKSPACE/fuel/ci
282 ./build.sh -f t -c file://$OPNFV_FUEL_CACHE $BUILD_DIRECTORY
284 # list the build artifacts
285 ls -al $BUILD_DIRECTORY
288 name: opensteak-verify
296 name: opensteak-merge
304 name: opensteak-daily-master