6 - '{project-name}-verify-tox-{stream}'
10 - 'builder-verify-packer'
11 - 'builder-merge-packer-{platforms}-{templates}'
13 - 'builder-delete-stale-stacks'
14 # Automation for docs and jobs
15 - 'builder-update-csit-tests'
16 - 'builder-update-image-list'
24 - devstack-pre-pip-mitaka
25 - devstack-pre-pip-newton
40 templates: mininet-ovs-2.3
42 templates: mininet-ovs-2.5
43 - platforms: ubuntu-14.04
44 templates: java-builder
45 - platforms: ubuntu-14.04
47 - platforms: ubuntu-14.04
48 templates: devstack-pre-pip-mitaka
49 - platforms: ubuntu-14.04
50 templates: devstack-pre-pip-newton
51 - platforms: ubuntu-14.04
53 - platforms: ubuntu-14.04
56 project-type: freestyle
57 archive-artifacts: '**/*.log'
60 # The following values are only specified here
61 # so that code blocks look similar to other projects.
62 project: 'releng/builder'
68 name: builder-verify-jjb
69 node: centos7-java-builder-2c-4g
72 project-type: freestyle
75 - opendaylight-infra-properties:
76 build-days-to-keep: 14
79 - opendaylight-infra-parameters:
82 refspec: 'refs/heads/{branch}'
83 artifacts: '{archive-artifacts}'
87 refspec: '$GERRIT_REFSPEC'
88 choosing-strategy: 'gerrit'
91 - opendaylight-infra-wrappers:
92 build-timeout: '{build-timeout}'
95 - gerrit-trigger-patch-submitted:
96 server: '{server-name}'
102 - opendaylight-infra-jjbini
104 virtualenv $WORKSPACE/venv
105 source $WORKSPACE/venv/bin/activate
106 pip install --upgrade pip
108 pip install jenkins-job-builder
109 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
110 gzip archives/job_output/*
111 - releng-check-unicode
112 - verify-gpg-signature
115 - email-notification:
116 email-recipients: '{email-recipients}'
117 email-prefix: '[releng]'
118 - opendaylight-infra-shiplogs:
119 maven-version: 'mvn33'
122 name: 'builder-merge'
123 node: centos7-java-builder-2c-4g
125 # builder-merge job to run JJB update
127 # This job's purpose is to update all the JJB
129 project-type: freestyle
132 - opendaylight-infra-properties:
133 build-days-to-keep: 14
136 - opendaylight-infra-parameters:
139 refspec: 'refs/heads/{branch}'
140 artifacts: '{archive-artifacts}'
143 - gerrit-trigger-scm:
145 choosing-strategy: 'default'
148 - opendaylight-infra-wrappers:
149 build-timeout: '{build-timeout}'
153 server-name: '{server-name}'
155 - change-merged-event
156 - comment-added-contains-event:
157 comment-contains-value: 'remerge'
159 - project-compare-type: 'ANT'
160 project-pattern: 'releng/builder'
162 - branch-compare-type: 'ANT'
163 branch-pattern: '**/{branch}'
169 - opendaylight-infra-jjbini
171 virtualenv $WORKSPACE/venv
172 source $WORKSPACE/venv/bin/activate
173 pip install --upgrade pip
175 pip install jenkins-job-builder
176 jenkins-jobs --version
177 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
180 - email-notification:
181 email-recipients: '{email-recipients}'
182 email-prefix: '[releng]'
183 - opendaylight-infra-shiplogs:
184 maven-version: 'mvn33'
187 name: 'builder-weekly'
189 node: centos7-java-builder-2c-4g
191 # builder-weekly job to run JJB update weekly
193 # This job's purpose is to update all the JJB on a weekly (Sunday)
194 # basis with --flush-cache enabled to ensure jobs are okay
196 project-type: freestyle
199 - opendaylight-infra-properties:
200 build-days-to-keep: 14
203 - opendaylight-infra-parameters:
206 refspec: 'refs/heads/{branch}'
207 artifacts: '{archive-artifacts}'
214 - opendaylight-infra-wrappers:
215 build-timeout: '{build-timeout}'
221 - opendaylight-infra-jjbini
223 virtualenv $WORKSPACE/venv
224 source $WORKSPACE/venv/bin/activate
225 pip install --upgrade pip
227 pip install jenkins-job-builder
228 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
231 - email-notification:
232 email-recipients: '{email-recipients}'
233 email-prefix: '[releng]'
234 - opendaylight-infra-shiplogs:
235 maven-version: 'mvn33'
238 name: builder-check-poms
239 node: centos7-java-builder-2c-4g
241 project-type: freestyle
244 - opendaylight-infra-properties:
245 build-days-to-keep: 14
248 - opendaylight-infra-parameters:
251 refspec: 'refs/heads/{branch}'
252 artifacts: '{archive-artifacts}'
255 - opendaylight-infra-wrappers:
256 build-timeout: '{build-timeout}'
262 - shell: !include-raw-escape: include-raw-check-poms.sh
265 - email-notification:
266 email-recipients: '{email-recipients}'
267 email-prefix: '[releng]'
268 - opendaylight-infra-shiplogs:
269 maven-version: 'mvn33'
272 name: 'builder-delete-stale-stacks'
273 project-type: freestyle
274 node: centos7-java-builder-2c-4g
277 - opendaylight-infra-properties:
278 build-days-to-keep: 7
281 - opendaylight-infra-wrappers:
282 build-timeout: '{build-timeout}'
285 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
286 - timed: '0,30 * * * *'
289 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
292 - email-notification:
293 email-recipients: '{email-recipients}'
294 email-prefix: '[releng]'
295 - opendaylight-infra-shiplogs:
296 maven-version: 'mvn33'
299 name: 'builder-update-image-list'
300 project-type: freestyle
301 node: centos7-java-builder-2c-4g
304 - opendaylight-infra-properties:
305 build-days-to-keep: 7
308 - opendaylight-infra-parameters:
311 refspec: 'refs/heads/{branch}'
312 artifacts: '{archive-artifacts}'
319 - opendaylight-infra-wrappers:
320 build-timeout: '{build-timeout}'
321 # Listed after to override openstack-infra-wrappers clouds.yaml definition
322 - config-file-provider:
324 - file-id: opendaylight-private-clouds-yaml
325 target: '$HOME/.config/openstack/clouds.yaml'
328 # Update image list every Monday to Friday at 11:00 UTC
329 - timed: '0 11 * * 1-5'
332 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
333 - opendaylight-infra-push-gerrit-patch:
335 gerrit-topic: 'releng-update-cloud-image-list'
336 gerrit-commit-message: 'Update cloud image list docs'
339 - email-notification:
340 email-recipients: '{email-recipients}'
341 email-prefix: '[releng]'
342 - opendaylight-infra-shiplogs:
343 maven-version: 'mvn33'
346 name: 'builder-verify-packer'
347 project-type: freestyle
348 node: centos7-java-builder-2c-4g
352 - opendaylight-infra-properties:
353 build-days-to-keep: 14
356 - opendaylight-infra-parameters:
359 refspec: 'refs/heads/{branch}'
360 artifacts: '{archive-artifacts}'
363 - gerrit-trigger-scm:
364 refspec: '$GERRIT_REFSPEC'
365 choosing-strategy: 'gerrit'
368 - opendaylight-infra-wrappers:
369 build-timeout: '{build-timeout}'
372 - gerrit-trigger-patch-submitted:
373 server: '{server-name}'
382 - email-notification:
383 email-recipients: '{email-recipients}'
384 email-prefix: '[{project}]'
385 - opendaylight-infra-shiplogs:
386 maven-version: 'mvn33'
389 name: 'builder-merge-packer-{platforms}-{templates}'
390 project-type: freestyle
391 node: centos7-java-builder-2c-4g
394 - opendaylight-infra-properties:
395 build-days-to-keep: 14
398 - opendaylight-infra-parameters:
401 refspec: 'refs/heads/{branch}'
402 artifacts: '{archive-artifacts}'
405 - gerrit-trigger-scm:
406 refspec: '$GERRIT_REFSPEC'
409 choosing-strategy: 'default'
412 - opendaylight-infra-wrappers:
413 build-timeout: '{build-timeout}'
416 - timed: '00 10 1 * *'
418 server-name: '{server-name}'
420 - change-merged-event
421 - comment-added-contains-event:
422 comment-contains-value: 'remerge'
424 - project-compare-type: 'ANT'
425 project-pattern: 'releng/builder'
427 - branch-compare-type: 'ANT'
428 branch-pattern: '**/{branch}'
431 pattern: 'packer/vars/{platforms}.json'
433 pattern: 'packer/templates/{templates}.json'
435 pattern: 'packer/provision/{templates}.sh'
437 pattern: 'packer/provision/system_reseal.sh'
439 pattern: 'packer/provision/rh-user_data.sh'
441 pattern: 'packer/provision/devstack-pre-pip.sh'
443 pattern: 'packer/provision/baseline.sh'
448 platform: '{platforms}'
449 template: '{templates}'
452 - email-notification:
453 email-recipients: '{email-recipients}'
454 email-prefix: '[{project}]'
455 - opendaylight-infra-shiplogs:
456 maven-version: 'mvn33'
459 name: 'builder-update-csit-tests'
460 node: centos7-java-builder-2c-8g
462 # builder-update-csit-tests job
464 # This job's purpose is to update csit
465 # tests to run in integration-distribution-test-{stream}
466 # by updating releng-defaults variables: csit-list-carbon,
467 # csit-list-boron, csit-list-beryllium
469 project-type: freestyle
472 - opendaylight-infra-properties:
473 build-days-to-keep: 14
476 - opendaylight-infra-parameters:
479 refspec: 'refs/heads/{branch}'
480 artifacts: '{archive-artifacts}'
483 - gerrit-trigger-scm:
485 choosing-strategy: 'default'
488 - opendaylight-infra-wrappers:
489 build-timeout: '{build-timeout}'
493 jobs: 'builder-merge'
497 git checkout -b auto-update-csit-jobs
498 - integration-list-jobs:
499 blacklist: '{csit-list-blacklist}'
500 search_string: "csit"
502 jobs-filename: "csit_jobs_carbon.lst"
503 - integration-list-jobs:
504 blacklist: '{csit-list-blacklist}'
505 search_string: "csit"
507 jobs-filename: "csit_jobs_boron.lst"
508 - integration-list-jobs:
509 blacklist: '{csit-list-blacklist}'
510 search_string: "csit"
512 jobs-filename: "csit_jobs_beryllium.lst"
513 - integration-replace-block-text:
514 starting-regex: "'csit-list-carbon: >'"
515 ending-regex: "'csit-list-boron: >'"
516 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
517 file-to-change: "'jjb/releng-defaults.yaml'"
518 - integration-replace-block-text:
519 starting-regex: "'csit-list-boron: >'"
520 ending-regex: "'csit-list-beryllium: >'"
521 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
522 file-to-change: "'jjb/releng-defaults.yaml'"
523 - integration-replace-block-text:
524 starting-regex: "'csit-list-beryllium: >'"
525 ending-regex: "'# CSIT TESTS END SED MARKER'"
526 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
527 file-to-change: "'jjb/releng-defaults.yaml'"
530 git add jjb/releng-defaults.yaml
531 - opendaylight-infra-push-gerrit-patch:
532 project: "releng/builder"
533 gerrit-topic: "auto-update-csit-jobs"
534 gerrit-commit-message: "Auto Update CSIT Jobs to run"
537 - email-notification:
538 email-recipients: '{email-recipients}'
539 email-prefix: '[releng]'
540 - opendaylight-infra-shiplogs:
541 maven-version: 'mvn33'