5 - '{project-name}-ci-jobs':
6 build-node: centos7-builder-2c-2g
8 - builder-copy-sandbox-logs
9 - builder-openstack-cron
12 - 'builder-delete-orphaned-nodes'
13 - 'builder-delete-stale-nodes'
14 # Automation for docs and jobs
15 - 'builder-update-image-list'
17 # The following values are only specified here
18 # so that code blocks look similar to other projects.
19 project: 'releng/builder'
23 build-node: centos7-builder-2c-1g
24 archive-artifacts: '**/*.log'
28 https://jenkins.opendaylight.org/releng
29 https://jenkins.opendaylight.org/sandbox
33 # packer jobs templates are defined in global-jjb
35 - '{project-name}-packer-jobs'
36 project: 'releng/builder'
39 archive-artifacts: '**/*.log'
40 build-node: centos7-builder-2c-1g
49 - devstack-pre-pip-newton:
51 - devstack-pre-pip-ocata:
53 - devstack-pre-pip-pike:
65 templates: mininet-ovs-2.5
67 templates: mininet-ovs-2.6
68 - platforms: ubuntu-14.04
69 templates: devstack-pre-pip-newton
70 - platforms: ubuntu-14.04
71 templates: devstack-pre-pip-ocata
72 - platforms: ubuntu-14.04
73 templates: devstack-pre-pip-pike
74 - platforms: ubuntu-14.04
76 - platforms: ubuntu-14.04
77 templates: mininet-ovs-2.5
78 - platforms: ubuntu-14.04
79 templates: mininet-ovs-2.6
80 - platforms: ubuntu-16.04
81 templates: devstack-pre-pip-newton
82 - platforms: ubuntu-16.04
83 templates: devstack-pre-pip-ocata
84 - platforms: ubuntu-16.04
85 templates: devstack-pre-pip-pike
86 - platforms: ubuntu-16.04
90 name: builder-check-poms
91 node: centos7-builder-2c-1g
93 project-type: freestyle
96 - opendaylight-infra-properties:
97 build-days-to-keep: 14
100 - opendaylight-infra-parameters:
101 os-cloud: '{os-cloud}'
104 refspec: 'refs/heads/{branch}'
105 artifacts: '{archive-artifacts}'
108 - opendaylight-infra-wrappers:
109 build-timeout: '{build-timeout}'
115 - shell: !include-raw-escape: check-poms.sh
118 - email-notification:
119 email-recipients: '{email-recipients}'
120 email-prefix: '[releng]'
124 name: builder-copy-sandbox-logs
125 node: centos7-builder-2c-1g
127 project-type: freestyle
130 - opendaylight-infra-properties:
131 build-days-to-keep: 1
134 - opendaylight-infra-parameters:
142 - opendaylight-infra-wrappers:
147 server-name: '{gerrit-server-name}'
149 - comment-added-contains-event:
150 comment-contains-value: 'copy-logs:'
152 - project-compare-type: ANT
153 project-pattern: '**'
155 - branch-compare-type: ANT
159 - shell: !include-raw-escape: copy-sandbox-logs.sh
166 name: builder-openstack-cron
167 project-type: freestyle
171 - lf-infra-properties:
172 build-days-to-keep: 7
175 - lf-infra-parameters:
179 lftools-version: '{lftools-version}'
182 default: '{os-cloud}'
183 description: Artifacts to archive to the logs server.
185 name: ARCHIVE_ARTIFACTS
186 default: '{archive-artifacts}'
187 description: Artifacts to archive to the logs server.
190 default: '{jenkins-urls}'
191 description: 'Space separated list of Jenkins URLs to check for active builds'
199 build-timeout: '{build-timeout}'
200 jenkins-ssh-credential: '{jenkins-ssh-credential}'
201 # Listed after to override openstack-infra-wrappers clouds.yaml definition
202 - config-file-provider:
204 - file-id: clouds-yaml
205 target: '$HOME/.config/openstack/clouds.yaml'
208 - timed: '0,30 * * * *'
211 - odl-openstack-install
212 - shell: !include-raw-escape: global-jjb/shell/lftools-install.sh
214 - odl-openstack-cleanup-stale-stacks
216 - odl-openstack-check-image-protection
217 - odl-openstack-cleanup-old-images
224 name: builder-delete-orphaned-nodes
225 project-type: freestyle
226 node: centos7-builder-2c-1g
229 - opendaylight-infra-properties:
230 build-days-to-keep: 7
233 - opendaylight-infra-parameters:
234 os-cloud: '{os-cloud}'
237 refspec: 'refs/heads/{branch}'
238 artifacts: '{archive-artifacts}'
241 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
242 description: 'Space separated list of Jenkins URLs to check for active builds'
245 - opendaylight-infra-wrappers:
246 build-timeout: '{build-timeout}'
249 # Attempt to clear up servers every 30 mins in case we have orphaned servers
250 - timed: '0,30 * * * *'
253 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
256 - email-notification:
257 email-recipients: '{email-recipients}'
258 email-prefix: '[releng]'
263 name: 'builder-delete-stale-nodes'
264 project-type: freestyle
265 node: centos7-builder-2c-1g
268 - opendaylight-infra-properties:
269 build-days-to-keep: 7
272 - opendaylight-infra-parameters:
273 os-cloud: '{os-cloud}'
276 refspec: 'refs/heads/{branch}'
277 artifacts: '{archive-artifacts}'
280 - opendaylight-infra-wrappers:
281 build-timeout: '{build-timeout}'
284 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
285 - timed: '0,30 * * * *'
288 - shell: !include-raw-escape:
289 - global-jjb/shell/lftools-install.sh
290 - opendaylight-infra-cleanup-stale-nodes.sh
293 - email-notification:
294 email-recipients: '{email-recipients}'
295 email-prefix: '[releng]'
299 name: 'builder-update-image-list'
300 project-type: freestyle
301 node: centos7-builder-2c-1g
304 - opendaylight-infra-properties:
305 build-days-to-keep: 7
308 - opendaylight-infra-parameters:
312 refspec: 'refs/heads/{branch}'
313 artifacts: '{archive-artifacts}'
320 - opendaylight-infra-wrappers:
321 build-timeout: '{build-timeout}'
322 # Listed after to override openstack-infra-wrappers clouds.yaml definition
323 - config-file-provider:
325 - file-id: clouds-yaml
326 target: '$HOME/.config/openstack/clouds.yaml'
329 # Update image list every Monday to Friday at 11:00 UTC
330 - timed: '0 11 * * 1-5'
333 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
334 - opendaylight-infra-push-gerrit-patch:
336 gerrit-topic: 'releng-update-cloud-image-list'
337 gerrit-commit-message: 'Update cloud image list docs'
340 - email-notification:
341 email-recipients: '{email-recipients}'
342 email-prefix: '[releng]'