5 - '{project-name}-ci-jobs':
6 build-node: centos7-builder-2c-2g
8 jenkins-silos: releng sandbox
10 - builder-copy-sandbox-logs
11 - builder-openstack-cron
13 # Automation for docs and jobs
14 - 'builder-update-image-list'
16 # The following values are only specified here
17 # so that code blocks look similar to other projects.
18 project: 'releng/builder'
22 build-node: centos7-builder-2c-1g
23 archive-artifacts: '**/*.log'
27 https://jenkins.opendaylight.org/releng
28 https://jenkins.opendaylight.org/sandbox
32 # packer jobs templates are defined in global-jjb
34 - '{project-name}-packer-jobs'
35 project: 'releng/builder'
38 archive-artifacts: '**/*.log'
39 build-node: centos7-builder-2c-1g
48 - devstack-pre-pip-newton:
50 - devstack-pre-pip-ocata:
52 - devstack-pre-pip-pike:
64 templates: mininet-ovs-2.5
66 templates: mininet-ovs-2.6
67 - platforms: ubuntu-14.04
68 templates: devstack-pre-pip-newton
69 - platforms: ubuntu-14.04
70 templates: devstack-pre-pip-ocata
71 - platforms: ubuntu-14.04
72 templates: devstack-pre-pip-pike
73 - platforms: ubuntu-14.04
75 - platforms: ubuntu-14.04
76 templates: mininet-ovs-2.5
77 - platforms: ubuntu-14.04
78 templates: mininet-ovs-2.6
79 - platforms: ubuntu-16.04
80 templates: devstack-pre-pip-newton
81 - platforms: ubuntu-16.04
82 templates: devstack-pre-pip-ocata
83 - platforms: ubuntu-16.04
84 templates: devstack-pre-pip-pike
85 - platforms: ubuntu-16.04
89 name: builder-check-poms
90 node: centos7-builder-2c-1g
92 project-type: freestyle
95 - opendaylight-infra-properties:
96 build-days-to-keep: 14
99 - opendaylight-infra-parameters:
100 os-cloud: '{os-cloud}'
103 refspec: 'refs/heads/{branch}'
104 artifacts: '{archive-artifacts}'
107 - opendaylight-infra-wrappers:
108 build-timeout: '{build-timeout}'
114 - shell: !include-raw-escape: check-poms.sh
117 - email-notification:
118 email-recipients: '{email-recipients}'
119 email-prefix: '[releng]'
123 name: builder-copy-sandbox-logs
124 node: centos7-builder-2c-1g
126 project-type: freestyle
129 - opendaylight-infra-properties:
130 build-days-to-keep: 1
133 - opendaylight-infra-parameters:
141 - opendaylight-infra-wrappers:
146 server-name: '{gerrit-server-name}'
148 - comment-added-contains-event:
149 comment-contains-value: 'copy-logs:'
151 - project-compare-type: ANT
152 project-pattern: '**'
154 - branch-compare-type: ANT
158 - shell: !include-raw-escape: copy-sandbox-logs.sh
165 name: builder-openstack-cron
166 project-type: freestyle
170 - lf-infra-properties:
171 build-days-to-keep: 7
174 - lf-infra-parameters:
178 lftools-version: '{lftools-version}'
181 default: '{os-cloud}'
182 description: Artifacts to archive to the logs server.
184 name: ARCHIVE_ARTIFACTS
185 default: '{archive-artifacts}'
186 description: Artifacts to archive to the logs server.
189 default: '{jenkins-urls}'
190 description: 'Space separated list of Jenkins URLs to check for active builds'
198 build-timeout: '{build-timeout}'
199 jenkins-ssh-credential: '{jenkins-ssh-credential}'
200 # Listed after to override openstack-infra-wrappers clouds.yaml definition
201 - config-file-provider:
203 - file-id: clouds-yaml
204 target: '$HOME/.config/openstack/clouds.yaml'
207 - timed: '0,30 * * * *'
210 - odl-openstack-install
211 - shell: !include-raw-escape: global-jjb/shell/lftools-install.sh
213 - odl-openstack-cleanup-stale-stacks
214 - odl-openstack-cleanup-stale-nodes
215 # Disable orphaned nodes script. See:
216 # https://jira.linuxfoundation.org/browse/RELENG-780
217 # - odl-openstack-cleanup-orphaned-nodes
219 - odl-openstack-check-image-protection
220 - odl-openstack-cleanup-old-images
226 name: 'builder-update-image-list'
227 project-type: freestyle
228 node: centos7-builder-2c-1g
231 - opendaylight-infra-properties:
232 build-days-to-keep: 7
235 - opendaylight-infra-parameters:
239 refspec: 'refs/heads/{branch}'
240 artifacts: '{archive-artifacts}'
247 - opendaylight-infra-wrappers:
248 build-timeout: '{build-timeout}'
249 # Listed after to override openstack-infra-wrappers clouds.yaml definition
250 - config-file-provider:
252 - file-id: clouds-yaml
253 target: '$HOME/.config/openstack/clouds.yaml'
256 # Update image list every Monday to Friday at 11:00 UTC
257 - timed: '0 11 * * 1-5'
260 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
261 - opendaylight-infra-push-gerrit-patch:
263 gerrit-topic: 'releng-update-cloud-image-list'
264 gerrit-commit-message: 'Update cloud image list docs'
267 - email-notification:
268 email-recipients: '{email-recipients}'
269 email-prefix: '[releng]'