5 - '{project-name}-ci-jobs':
6 build-node: centos7-builder-2c-2g
9 - builder-copy-sandbox-logs
10 - builder-openstack-cron
12 # Automation for docs and jobs
13 - 'builder-update-image-list'
15 # The following values are only specified here
16 # so that code blocks look similar to other projects.
17 project: 'releng/builder'
21 build-node: centos7-builder-2c-1g
22 archive-artifacts: '**/*.log'
26 https://jenkins.opendaylight.org/releng
27 https://jenkins.opendaylight.org/sandbox
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.
188 default: '{jenkins-urls}'
189 description: 'Space separated list of Jenkins URLs to check for active builds'
197 build-timeout: '{build-timeout}'
198 jenkins-ssh-credential: '{jenkins-ssh-credential}'
199 # Listed after to override openstack-infra-wrappers clouds.yaml definition
200 - config-file-provider:
202 - file-id: clouds-yaml
203 target: '$HOME/.config/openstack/clouds.yaml'
206 - timed: '0,30 * * * *'
209 - odl-openstack-install
210 - shell: !include-raw-escape: global-jjb/shell/lftools-install.sh
212 - odl-openstack-cleanup-stale-stacks
213 - odl-openstack-cleanup-stale-nodes
214 - odl-openstack-cleanup-orphaned-nodes
216 - odl-openstack-check-image-protection
217 - odl-openstack-cleanup-old-images
223 name: 'builder-update-image-list'
224 project-type: freestyle
225 node: centos7-builder-2c-1g
228 - opendaylight-infra-properties:
229 build-days-to-keep: 7
232 - opendaylight-infra-parameters:
236 refspec: 'refs/heads/{branch}'
237 artifacts: '{archive-artifacts}'
244 - opendaylight-infra-wrappers:
245 build-timeout: '{build-timeout}'
246 # Listed after to override openstack-infra-wrappers clouds.yaml definition
247 - config-file-provider:
249 - file-id: clouds-yaml
250 target: '$HOME/.config/openstack/clouds.yaml'
253 # Update image list every Monday to Friday at 11:00 UTC
254 - timed: '0 11 * * 1-5'
257 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
258 - opendaylight-infra-push-gerrit-patch:
260 gerrit-topic: 'releng-update-cloud-image-list'
261 gerrit-commit-message: 'Update cloud image list docs'
264 - email-notification:
265 email-recipients: '{email-recipients}'
266 email-prefix: '[releng]'