6 - '{project-name}-verify-tox-{stream}'
10 - 'builder-verify-packer'
11 - 'builder-merge-packer-{platforms}-{templates}'
13 - 'builder-cleanup-old-images'
14 - 'builder-delete-stale-stacks'
15 # Automation for docs and jobs
16 - 'builder-update-csit-tests'
17 - 'builder-update-image-list'
26 - devstack-pre-pip-mitaka
27 - devstack-pre-pip-newton
42 templates: mininet-ovs-2.3
44 templates: mininet-ovs-2.5
45 - platforms: ubuntu-14.04
46 templates: java-builder
47 - platforms: ubuntu-14.04
49 - platforms: ubuntu-14.04
50 templates: devstack-pre-pip-mitaka
51 - platforms: ubuntu-14.04
52 templates: devstack-pre-pip-newton
53 - platforms: ubuntu-14.04
55 - platforms: ubuntu-14.04
57 - platforms: ubuntu-16.04
58 templates: java-builder
59 - platforms: ubuntu-16.04
61 - platforms: ubuntu-16.04
62 templates: devstack-pre-pip-mitaka
63 - platforms: ubuntu-16.04
64 templates: devstack-pre-pip-newton
65 - platforms: ubuntu-16.04
67 - platforms: ubuntu-16.04
69 - platforms: ubuntu-16.04
71 - platforms: ubuntu-16.04
72 templates: mininet-ovs-2.3
73 - platforms: ubuntu-14.04
74 templates: mininet-ovs-2.5
77 project-type: freestyle
78 archive-artifacts: '**/*.log'
81 # The following values are only specified here
82 # so that code blocks look similar to other projects.
83 project: 'releng/builder'
89 name: builder-verify-jjb
90 node: centos7-java-builder-2c-4g
93 project-type: freestyle
96 - opendaylight-infra-properties:
97 build-days-to-keep: 14
100 - opendaylight-infra-parameters:
101 os-cloud: '{os-cloud}'
104 refspec: 'refs/heads/{branch}'
105 artifacts: '{archive-artifacts}'
108 - gerrit-trigger-scm:
109 refspec: '$GERRIT_REFSPEC'
110 choosing-strategy: 'gerrit'
113 - opendaylight-infra-wrappers:
114 build-timeout: '{build-timeout}'
117 - gerrit-trigger-patch-submitted:
118 server: '{server-name}'
124 - opendaylight-infra-jjbini
126 virtualenv $WORKSPACE/venv
127 source $WORKSPACE/venv/bin/activate
128 pip install --upgrade pip
130 pip install jenkins-job-builder
131 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
132 gzip archives/job_output/*
133 - releng-check-unicode
134 - verify-gpg-signature
137 - email-notification:
138 email-recipients: '{email-recipients}'
139 email-prefix: '[releng]'
140 - opendaylight-infra-shiplogs:
141 maven-version: 'mvn33'
144 name: 'builder-merge'
145 node: centos7-java-builder-2c-4g
147 # builder-merge job to run JJB update
149 # This job's purpose is to update all the JJB
151 project-type: freestyle
154 - opendaylight-infra-properties:
155 build-days-to-keep: 14
158 - opendaylight-infra-parameters:
159 os-cloud: '{os-cloud}'
162 refspec: 'refs/heads/{branch}'
163 artifacts: '{archive-artifacts}'
166 - gerrit-trigger-scm:
168 choosing-strategy: 'default'
171 - opendaylight-infra-wrappers:
172 build-timeout: '{build-timeout}'
176 server-name: '{server-name}'
178 - change-merged-event
179 - comment-added-contains-event:
180 comment-contains-value: 'remerge'
182 - project-compare-type: 'ANT'
183 project-pattern: 'releng/builder'
185 - branch-compare-type: 'ANT'
186 branch-pattern: '**/{branch}'
192 - opendaylight-infra-jjbini
194 virtualenv $WORKSPACE/venv
195 source $WORKSPACE/venv/bin/activate
196 pip install --upgrade pip
198 pip install jenkins-job-builder
199 jenkins-jobs --version
200 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
203 - email-notification:
204 email-recipients: '{email-recipients}'
205 email-prefix: '[releng]'
206 - opendaylight-infra-shiplogs:
207 maven-version: 'mvn33'
210 name: 'builder-weekly'
212 node: centos7-java-builder-2c-4g
214 # builder-weekly job to run JJB update weekly
216 # This job's purpose is to update all the JJB on a weekly (Sunday)
217 # basis with --flush-cache enabled to ensure jobs are okay
219 project-type: freestyle
222 - opendaylight-infra-properties:
223 build-days-to-keep: 14
226 - opendaylight-infra-parameters:
227 os-cloud: '{os-cloud}'
230 refspec: 'refs/heads/{branch}'
231 artifacts: '{archive-artifacts}'
238 - opendaylight-infra-wrappers:
239 build-timeout: '{build-timeout}'
245 - opendaylight-infra-jjbini
247 virtualenv $WORKSPACE/venv
248 source $WORKSPACE/venv/bin/activate
249 pip install --upgrade pip
251 pip install jenkins-job-builder
252 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
255 - email-notification:
256 email-recipients: '{email-recipients}'
257 email-prefix: '[releng]'
258 - opendaylight-infra-shiplogs:
259 maven-version: 'mvn33'
262 name: builder-check-poms
263 node: centos7-java-builder-2c-4g
265 project-type: freestyle
268 - opendaylight-infra-properties:
269 build-days-to-keep: 14
272 - opendaylight-infra-parameters:
273 os-cloud: '{os-cloud}'
276 refspec: 'refs/heads/{branch}'
277 artifacts: '{archive-artifacts}'
280 - opendaylight-infra-wrappers:
281 build-timeout: '{build-timeout}'
287 - shell: !include-raw-escape: include-raw-check-poms.sh
290 - email-notification:
291 email-recipients: '{email-recipients}'
292 email-prefix: '[releng]'
293 - opendaylight-infra-shiplogs:
294 maven-version: 'mvn33'
297 name: 'builder-delete-stale-stacks'
298 project-type: freestyle
299 node: centos7-java-builder-2c-4g
302 - opendaylight-infra-properties:
303 build-days-to-keep: 7
306 - opendaylight-infra-wrappers:
307 build-timeout: '{build-timeout}'
310 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
311 - timed: '0,30 * * * *'
314 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
317 - email-notification:
318 email-recipients: '{email-recipients}'
319 email-prefix: '[releng]'
320 - opendaylight-infra-shiplogs:
321 maven-version: 'mvn33'
324 name: 'builder-cleanup-old-images'
325 project-type: freestyle
326 node: centos7-java-builder-2c-4g
329 - opendaylight-infra-properties:
330 build-days-to-keep: 7
333 - opendaylight-infra-parameters:
334 os-cloud: '{os-cloud}'
337 refspec: 'refs/heads/{branch}'
338 artifacts: '{archive-artifacts}'
345 - opendaylight-infra-wrappers:
346 build-timeout: '{build-timeout}'
347 # Listed after to override openstack-infra-wrappers clouds.yaml definition
348 - config-file-provider:
350 - file-id: opendaylight-private-clouds-yaml
351 target: '$HOME/.config/openstack/clouds.yaml'
354 # Cleanup images on a weekly schedule
358 - shell: !include-raw-escape: opendaylight-infra-cleanup-old-images.sh
361 - email-notification:
362 email-recipients: '{email-recipients}'
363 email-prefix: '[releng]'
364 - opendaylight-infra-shiplogs:
365 maven-version: 'mvn33'
368 name: 'builder-update-image-list'
369 project-type: freestyle
370 node: centos7-java-builder-2c-4g
373 - opendaylight-infra-properties:
374 build-days-to-keep: 7
377 - opendaylight-infra-parameters:
381 refspec: 'refs/heads/{branch}'
382 artifacts: '{archive-artifacts}'
389 - opendaylight-infra-wrappers:
390 build-timeout: '{build-timeout}'
391 # Listed after to override openstack-infra-wrappers clouds.yaml definition
392 - config-file-provider:
394 - file-id: opendaylight-private-clouds-yaml
395 target: '$HOME/.config/openstack/clouds.yaml'
398 # Update image list every Monday to Friday at 11:00 UTC
399 - timed: '0 11 * * 1-5'
402 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
403 - opendaylight-infra-push-gerrit-patch:
405 gerrit-topic: 'releng-update-cloud-image-list'
406 gerrit-commit-message: 'Update cloud image list docs'
409 - email-notification:
410 email-recipients: '{email-recipients}'
411 email-prefix: '[releng]'
412 - opendaylight-infra-shiplogs:
413 maven-version: 'mvn33'
416 name: 'builder-verify-packer'
417 project-type: freestyle
418 node: centos7-java-builder-2c-4g
422 - opendaylight-infra-properties:
423 build-days-to-keep: 14
426 - opendaylight-infra-parameters:
427 os-cloud: '{os-cloud}'
430 refspec: 'refs/heads/{branch}'
431 artifacts: '{archive-artifacts}'
434 - gerrit-trigger-scm:
435 refspec: '$GERRIT_REFSPEC'
436 choosing-strategy: 'gerrit'
439 - opendaylight-infra-wrappers:
440 build-timeout: '{build-timeout}'
443 - gerrit-trigger-patch-submitted:
444 server: '{server-name}'
453 - email-notification:
454 email-recipients: '{email-recipients}'
455 email-prefix: '[{project}]'
456 - opendaylight-infra-shiplogs:
457 maven-version: 'mvn33'
460 name: 'builder-merge-packer-{platforms}-{templates}'
461 project-type: freestyle
462 node: centos7-java-builder-2c-4g
465 - opendaylight-infra-properties:
466 build-days-to-keep: 14
469 - opendaylight-infra-parameters:
470 os-cloud: '{os-cloud}'
473 refspec: 'refs/heads/{branch}'
474 artifacts: '{archive-artifacts}'
477 - gerrit-trigger-scm:
478 refspec: '$GERRIT_REFSPEC'
481 choosing-strategy: 'default'
484 - opendaylight-infra-wrappers:
485 build-timeout: '{build-timeout}'
488 - timed: '00 10 1 * *'
490 server-name: '{server-name}'
492 - change-merged-event
493 - comment-added-contains-event:
494 comment-contains-value: 'remerge'
496 - project-compare-type: 'ANT'
497 project-pattern: 'releng/builder'
499 - branch-compare-type: 'ANT'
500 branch-pattern: '**/{branch}'
503 pattern: 'packer/vars/{platforms}.json'
505 pattern: 'packer/templates/{templates}.json'
507 pattern: 'packer/provision/{templates}.sh'
509 pattern: 'packer/provision/system_reseal.sh'
511 pattern: 'packer/provision/rh-user_data.sh'
513 pattern: 'packer/provision/devstack-pre-pip.sh'
515 pattern: 'packer/provision/baseline.sh'
520 platform: '{platforms}'
521 template: '{templates}'
524 - email-notification:
525 email-recipients: '{email-recipients}'
526 email-prefix: '[{project}]'
527 - opendaylight-infra-shiplogs:
528 maven-version: 'mvn33'
531 name: 'builder-update-csit-tests'
532 node: centos7-java-builder-2c-8g
534 # builder-update-csit-tests job
536 # This job's purpose is to update csit
537 # tests to run in integration-distribution-test-{stream}
538 # by updating releng-defaults variables: csit-list-carbon,
539 # csit-list-boron, csit-list-beryllium
541 project-type: freestyle
544 - opendaylight-infra-properties:
545 build-days-to-keep: 14
548 - opendaylight-infra-parameters:
549 os-cloud: '{os-cloud}'
552 refspec: 'refs/heads/{branch}'
553 artifacts: '{archive-artifacts}'
556 - gerrit-trigger-scm:
558 choosing-strategy: 'default'
561 - opendaylight-infra-wrappers:
562 build-timeout: '{build-timeout}'
566 jobs: 'builder-merge'
570 git checkout -b auto-update-csit-jobs
571 - integration-list-jobs:
572 blacklist: '{csit-list-blacklist}'
573 search_string: "csit"
575 jobs-filename: "csit_jobs_carbon.lst"
576 - integration-list-jobs:
577 blacklist: '{csit-list-blacklist}'
578 search_string: "csit"
580 jobs-filename: "csit_jobs_boron.lst"
581 - integration-list-jobs:
582 blacklist: '{csit-list-blacklist}'
583 search_string: "csit"
585 jobs-filename: "csit_jobs_beryllium.lst"
586 - integration-replace-block-text:
587 starting-regex: "'csit-list-carbon: >'"
588 ending-regex: "'csit-weekly-list-carbon: >'"
589 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
590 file-to-change: "'jjb/releng-defaults.yaml'"
591 - integration-replace-block-text:
592 starting-regex: "'csit-list-boron: >'"
593 ending-regex: "'csit-list-beryllium: >'"
594 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
595 file-to-change: "'jjb/releng-defaults.yaml'"
596 - integration-replace-block-text:
597 starting-regex: "'csit-list-beryllium: >'"
598 ending-regex: "'# CSIT TESTS END SED MARKER'"
599 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
600 file-to-change: "'jjb/releng-defaults.yaml'"
603 git add jjb/releng-defaults.yaml
604 - opendaylight-infra-push-gerrit-patch:
605 project: "releng/builder"
606 gerrit-topic: "auto-update-csit-jobs"
607 gerrit-commit-message: "Auto Update CSIT Jobs to run"
610 - email-notification:
611 email-recipients: '{email-recipients}'
612 email-prefix: '[releng]'
613 - opendaylight-infra-shiplogs:
614 maven-version: 'mvn33'