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 - 'builder-delete-stale-stacks'
15 # Automation for docs and jobs
16 - 'builder-update-image-list'
18 # The following values are only specified here
19 # so that code blocks look similar to other projects.
20 project: 'releng/builder'
24 build-node: centos7-builder-2c-1g
25 archive-artifacts: '**/*.log'
31 # packer jobs templates are defined in global-jjb
33 - '{project-name}-packer-jobs'
34 project: 'releng/builder'
37 archive-artifacts: '**/*.log'
38 build-node: centos7-builder-2c-1g
47 - devstack-pre-pip-newton:
49 - devstack-pre-pip-ocata:
51 - devstack-pre-pip-pike:
63 templates: mininet-ovs-2.5
65 templates: mininet-ovs-2.6
66 - platforms: ubuntu-14.04
67 templates: devstack-pre-pip-newton
68 - platforms: ubuntu-14.04
69 templates: devstack-pre-pip-ocata
70 - platforms: ubuntu-14.04
71 templates: devstack-pre-pip-pike
72 - platforms: ubuntu-14.04
74 - platforms: ubuntu-14.04
75 templates: mininet-ovs-2.5
76 - platforms: ubuntu-14.04
77 templates: mininet-ovs-2.6
78 - platforms: ubuntu-16.04
79 templates: devstack-pre-pip-newton
80 - platforms: ubuntu-16.04
81 templates: devstack-pre-pip-ocata
82 - platforms: ubuntu-16.04
83 templates: devstack-pre-pip-pike
84 - platforms: ubuntu-16.04
88 name: builder-check-poms
89 node: centos7-builder-2c-1g
91 project-type: freestyle
94 - opendaylight-infra-properties:
95 build-days-to-keep: 14
98 - opendaylight-infra-parameters:
99 os-cloud: '{os-cloud}'
102 refspec: 'refs/heads/{branch}'
103 artifacts: '{archive-artifacts}'
106 - opendaylight-infra-wrappers:
107 build-timeout: '{build-timeout}'
113 - shell: !include-raw-escape: check-poms.sh
116 - email-notification:
117 email-recipients: '{email-recipients}'
118 email-prefix: '[releng]'
122 name: builder-copy-sandbox-logs
123 node: centos7-builder-2c-1g
125 project-type: freestyle
128 - opendaylight-infra-properties:
129 build-days-to-keep: 1
132 - opendaylight-infra-parameters:
140 - opendaylight-infra-wrappers:
145 server-name: '{gerrit-server-name}'
147 - comment-added-contains-event:
148 comment-contains-value: 'copy-logs:'
150 - project-compare-type: ANT
151 project-pattern: '**'
153 - branch-compare-type: ANT
157 - shell: !include-raw-escape: copy-sandbox-logs.sh
164 name: builder-openstack-cron
165 project-type: freestyle
169 - lf-infra-properties:
170 build-days-to-keep: 7
173 - lf-infra-parameters:
177 lftools-version: '{lftools-version}'
180 default: '{os-cloud}'
181 description: Artifacts to archive to the logs server.
183 name: ARCHIVE_ARTIFACTS
184 default: '{archive-artifacts}'
185 description: Artifacts to archive to the logs server.
193 build-timeout: '{build-timeout}'
194 jenkins-ssh-credential: '{jenkins-ssh-credential}'
195 # Listed after to override openstack-infra-wrappers clouds.yaml definition
196 - config-file-provider:
198 - file-id: clouds-yaml
199 target: '$HOME/.config/openstack/clouds.yaml'
202 - timed: '0,30 * * * *'
205 - odl-openstack-install
206 - shell: !include-raw-escape: global-jjb/shell/lftools-install.sh
207 - odl-openstack-check-image-protection
208 - odl-openstack-cleanup-old-images
215 name: builder-delete-orphaned-nodes
216 project-type: freestyle
217 node: centos7-builder-2c-1g
220 - opendaylight-infra-properties:
221 build-days-to-keep: 7
224 - opendaylight-infra-parameters:
225 os-cloud: '{os-cloud}'
228 refspec: 'refs/heads/{branch}'
229 artifacts: '{archive-artifacts}'
232 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
233 description: 'Space separated list of Jenkins URLs to check for active builds'
236 - opendaylight-infra-wrappers:
237 build-timeout: '{build-timeout}'
240 # Attempt to clear up servers every 30 mins in case we have orphaned servers
241 - timed: '0,30 * * * *'
244 - shell: !include-raw-escape: opendaylight-infra-cleanup-orphaned-nodes.sh
247 - email-notification:
248 email-recipients: '{email-recipients}'
249 email-prefix: '[releng]'
254 name: 'builder-delete-stale-nodes'
255 project-type: freestyle
256 node: centos7-builder-2c-1g
259 - opendaylight-infra-properties:
260 build-days-to-keep: 7
263 - opendaylight-infra-parameters:
264 os-cloud: '{os-cloud}'
267 refspec: 'refs/heads/{branch}'
268 artifacts: '{archive-artifacts}'
271 - opendaylight-infra-wrappers:
272 build-timeout: '{build-timeout}'
275 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
276 - timed: '0,30 * * * *'
279 - shell: !include-raw-escape:
280 - global-jjb/shell/lftools-install.sh
281 - opendaylight-infra-cleanup-stale-nodes.sh
284 - email-notification:
285 email-recipients: '{email-recipients}'
286 email-prefix: '[releng]'
291 name: 'builder-delete-stale-stacks'
292 project-type: freestyle
293 node: centos7-builder-2c-1g
296 - opendaylight-infra-properties:
297 build-days-to-keep: 7
300 - opendaylight-infra-parameters:
301 os-cloud: '{os-cloud}'
304 refspec: 'refs/heads/{branch}'
305 artifacts: '{archive-artifacts}'
308 default: 'https://jenkins.opendaylight.org/releng https://jenkins.opendaylight.org/sandbox'
309 description: 'Space separated list of Jenkins URLs to check for active builds'
312 - opendaylight-infra-wrappers:
313 build-timeout: '{build-timeout}'
316 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
317 - timed: '0,30 * * * *'
320 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
323 - email-notification:
324 email-recipients: '{email-recipients}'
325 email-prefix: '[releng]'
330 name: 'builder-update-image-list'
331 project-type: freestyle
332 node: centos7-builder-2c-1g
335 - opendaylight-infra-properties:
336 build-days-to-keep: 7
339 - opendaylight-infra-parameters:
343 refspec: 'refs/heads/{branch}'
344 artifacts: '{archive-artifacts}'
351 - opendaylight-infra-wrappers:
352 build-timeout: '{build-timeout}'
353 # Listed after to override openstack-infra-wrappers clouds.yaml definition
354 - config-file-provider:
356 - file-id: clouds-yaml
357 target: '$HOME/.config/openstack/clouds.yaml'
360 # Update image list every Monday to Friday at 11:00 UTC
361 - timed: '0 11 * * 1-5'
364 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
365 - opendaylight-infra-push-gerrit-patch:
367 gerrit-topic: 'releng-update-cloud-image-list'
368 gerrit-commit-message: 'Update cloud image list docs'
371 - email-notification:
372 email-recipients: '{email-recipients}'
373 email-prefix: '[releng]'