5 - '{project-name}-ci-jobs':
6 build-node: centos7-builder-2c-2g
8 - builder-copy-sandbox-logs
9 - builder-openstack-cron
11 # Automation for docs and jobs
12 - 'builder-update-image-list'
14 # The following values are only specified here
15 # so that code blocks look similar to other projects.
16 project: 'releng/builder'
20 build-node: centos7-builder-2c-1g
21 archive-artifacts: '**/*.log'
25 https://jenkins.opendaylight.org/releng
26 https://jenkins.opendaylight.org/sandbox
30 # packer jobs templates are defined in global-jjb
32 - '{project-name}-packer-jobs'
33 project: 'releng/builder'
36 archive-artifacts: '**/*.log'
37 build-node: centos7-builder-2c-1g
46 - devstack-pre-pip-newton:
48 - devstack-pre-pip-ocata:
50 - devstack-pre-pip-pike:
62 templates: mininet-ovs-2.5
64 templates: mininet-ovs-2.6
65 - platforms: ubuntu-14.04
66 templates: devstack-pre-pip-newton
67 - platforms: ubuntu-14.04
68 templates: devstack-pre-pip-ocata
69 - platforms: ubuntu-14.04
70 templates: devstack-pre-pip-pike
71 - platforms: ubuntu-14.04
73 - platforms: ubuntu-14.04
74 templates: mininet-ovs-2.5
75 - platforms: ubuntu-14.04
76 templates: mininet-ovs-2.6
77 - platforms: ubuntu-16.04
78 templates: devstack-pre-pip-newton
79 - platforms: ubuntu-16.04
80 templates: devstack-pre-pip-ocata
81 - platforms: ubuntu-16.04
82 templates: devstack-pre-pip-pike
83 - platforms: ubuntu-16.04
87 name: builder-check-poms
88 node: centos7-builder-2c-1g
90 project-type: freestyle
93 - opendaylight-infra-properties:
94 build-days-to-keep: 14
97 - opendaylight-infra-parameters:
98 os-cloud: '{os-cloud}'
101 refspec: 'refs/heads/{branch}'
102 artifacts: '{archive-artifacts}'
105 - opendaylight-infra-wrappers:
106 build-timeout: '{build-timeout}'
112 - shell: !include-raw-escape: check-poms.sh
115 - email-notification:
116 email-recipients: '{email-recipients}'
117 email-prefix: '[releng]'
121 name: builder-copy-sandbox-logs
122 node: centos7-builder-2c-1g
124 project-type: freestyle
127 - opendaylight-infra-properties:
128 build-days-to-keep: 1
131 - opendaylight-infra-parameters:
139 - opendaylight-infra-wrappers:
144 server-name: '{gerrit-server-name}'
146 - comment-added-contains-event:
147 comment-contains-value: 'copy-logs:'
149 - project-compare-type: ANT
150 project-pattern: '**'
152 - branch-compare-type: ANT
156 - shell: !include-raw-escape: copy-sandbox-logs.sh
163 name: builder-openstack-cron
164 project-type: freestyle
168 - lf-infra-properties:
169 build-days-to-keep: 7
172 - lf-infra-parameters:
176 lftools-version: '{lftools-version}'
179 default: '{os-cloud}'
180 description: Artifacts to archive to the logs server.
182 name: ARCHIVE_ARTIFACTS
183 default: '{archive-artifacts}'
184 description: Artifacts to archive to the logs server.
187 default: '{jenkins-urls}'
188 description: 'Space separated list of Jenkins URLs to check for active builds'
196 build-timeout: '{build-timeout}'
197 jenkins-ssh-credential: '{jenkins-ssh-credential}'
198 # Listed after to override openstack-infra-wrappers clouds.yaml definition
199 - config-file-provider:
201 - file-id: clouds-yaml
202 target: '$HOME/.config/openstack/clouds.yaml'
205 - timed: '0,30 * * * *'
208 - odl-openstack-install
209 - shell: !include-raw-escape: global-jjb/shell/lftools-install.sh
211 - odl-openstack-cleanup-stale-stacks
212 - odl-openstack-cleanup-stale-nodes
213 - odl-openstack-cleanup-orphaned-nodes
215 - odl-openstack-check-image-protection
216 - odl-openstack-cleanup-old-images
222 name: 'builder-update-image-list'
223 project-type: freestyle
224 node: centos7-builder-2c-1g
227 - opendaylight-infra-properties:
228 build-days-to-keep: 7
231 - opendaylight-infra-parameters:
235 refspec: 'refs/heads/{branch}'
236 artifacts: '{archive-artifacts}'
243 - opendaylight-infra-wrappers:
244 build-timeout: '{build-timeout}'
245 # Listed after to override openstack-infra-wrappers clouds.yaml definition
246 - config-file-provider:
248 - file-id: clouds-yaml
249 target: '$HOME/.config/openstack/clouds.yaml'
252 # Update image list every Monday to Friday at 11:00 UTC
253 - timed: '0 11 * * 1-5'
256 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
257 - opendaylight-infra-push-gerrit-patch:
259 gerrit-topic: 'releng-update-cloud-image-list'
260 gerrit-commit-message: 'Update cloud image list docs'
263 - email-notification:
264 email-recipients: '{email-recipients}'
265 email-prefix: '[releng]'