1 # this is the job configuration for bgs
12 - 'genesis-{installer}-verify'
13 - 'genesis-{installer}-merge'
14 - 'genesis-{installer}-daily-master'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
24 ########################
26 ########################
29 name: 'genesis-{installer}-verify'
31 project-type: freestyle
38 artifactDaysToKeep: -1
44 default: $WORKSPACE/build_output
47 default: https://gerrit.opnfv.org/gerrit/genesis
55 credentials-id: '{ssh-credentials}'
56 refspec: '$GERRIT_REFSPEC'
57 choosing-strategy: 'gerrit'
60 - ssh-agent-credentials:
61 user: '{ssh-credentials}'
66 - patchset-created-event:
67 exclude-drafts: 'false'
68 exclude-trivial-rebase: 'false'
69 exclude-no-code-change: 'false'
70 - draft-published-event
71 - comment-added-contains-event:
72 comment-contains-value: 'recheck'
73 - comment-added-contains-event:
74 comment-contains-value: 'reverify'
76 - project-compare-type: 'ANT'
77 project-pattern: 'genesis'
79 - branch-compare-type: 'ANT'
80 branch-pattern: '**/master'
85 pattern: '{installer}/**'
89 - '{installer}-verify'
92 name: 'genesis-{installer}-merge'
94 # builder-merge job to run JJB update
96 # This job's purpose is to update all the JJB
98 project-type: freestyle
105 artifactDaysToKeep: -1
110 name: BUILD_DIRECTORY
111 default: $WORKSPACE/build_output
114 default: https://gerrit.opnfv.org/gerrit/genesis
121 - gerrit-trigger-scm:
122 credentials-id: '{ssh-credentials}'
124 choosing-strategy: 'default'
127 - ssh-agent-credentials:
128 user: '{ssh-credentials}'
133 - change-merged-event
134 - comment-added-contains-event:
135 comment-contains-value: 'remerge'
137 - project-compare-type: 'ANT'
138 project-pattern: 'genesis'
140 - branch-compare-type: 'ANT'
141 branch-pattern: '**/master'
146 pattern: '{installer}/**'
149 - '{installer}-merge'
152 name: 'genesis-{installer}-daily-master'
154 project-type: freestyle
160 name: BUILD_DIRECTORY
161 default: $WORKSPACE/build_output
164 default: '{installer}'
165 description: "Installer to use."
168 default: https://gerrit.opnfv.org/gerrit/genesis
171 default: origin/master
172 description: "Branch to build, deploy and test."
175 default: refs/heads/master
176 description: "Refspec to retrieve."
184 refspec: $GERRIT_REFSPEC
187 - pollscm: '@midnight'
192 artifactDaysToKeep: -1
193 artifactNumToKeep: -1
196 - '{installer}-daily-master'
198 ########################
200 ########################
218 name: foreman-daily-master
235 # set/create the cache location
236 OPNFV_FUEL_CACHE="$(dirname $WORKSPACE)/opnfv_fuel_cache"
237 [[ -d $OPNFV_FUEL_CACHE ]] || mkdir -p $OPNFV_FUEL_CACHE
240 cd $WORKSPACE/fuel/ci
241 ./build.sh -c file://$OPNFV_FUEL_CACHE $BUILD_DIRECTORY
243 # list the build artifacts
244 ls -al $BUILD_DIRECTORY
256 # set/create the cache location
257 OPNFV_FUEL_CACHE="$(dirname $WORKSPACE)/opnfv_fuel_cache"
258 [[ -d $OPNFV_FUEL_CACHE ]] || mkdir -p $OPNFV_FUEL_CACHE
261 cd $WORKSPACE/fuel/ci
262 ./build.sh -c file://$OPNFV_FUEL_CACHE $BUILD_DIRECTORY
264 # list the build artifacts
265 ls -al $BUILD_DIRECTORY
268 name: fuel-daily-master
277 # set/create the cache location
278 OPNFV_FUEL_CACHE="$(dirname $WORKSPACE)/opnfv_fuel_cache"
279 [[ -d $OPNFV_FUEL_CACHE ]] || mkdir -p $OPNFV_FUEL_CACHE
282 cd $WORKSPACE/fuel/ci
283 ./build.sh -f t -c file://$OPNFV_FUEL_CACHE $BUILD_DIRECTORY
285 # list the build artifacts
286 ls -al $BUILD_DIRECTORY
289 name: opensteak-verify
297 name: opensteak-merge
305 name: opensteak-daily-master
328 name: juju-daily-master