5 - 'builder-verify-python'
9 - 'builder-verify-packer'
10 - 'builder-merge-packer-{platforms}-{templates}'
12 - 'builder-delete-stale-stacks'
13 # Automation for docs and jobs
14 - 'builder-update-csit-tests'
15 - 'builder-update-image-list'
23 - devstack-pre-pip-mitaka
24 - devstack-pre-pip-newton
39 templates: mininet-ovs-2.3
41 templates: mininet-ovs-2.5
42 - platforms: ubuntu-14.04
43 templates: java-builder
44 - platforms: ubuntu-14.04
46 - platforms: ubuntu-14.04
47 templates: devstack-pre-pip-mitaka
48 - platforms: ubuntu-14.04
49 templates: devstack-pre-pip-newton
50 - platforms: ubuntu-14.04
52 - platforms: ubuntu-14.04
55 project-type: freestyle
56 archive-artifacts: '**/*.log'
58 # The following two values are only specified here
59 # so that code blocks look similar to other projects.
60 project: 'releng/builder'
64 name: builder-verify-jjb
67 project-type: freestyle
70 - opendaylight-infra-properties:
71 build-days-to-keep: 14
74 - opendaylight-infra-parameters:
77 refspec: 'refs/heads/{branch}'
78 artifacts: '{archive-artifacts}'
82 refspec: '$GERRIT_REFSPEC'
83 choosing-strategy: 'gerrit'
86 - opendaylight-infra-wrappers:
87 build-timeout: '{build-timeout}'
90 - gerrit-trigger-patch-submitted:
91 server: '{server-name}'
99 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
100 gzip archives/job_output/*
102 - releng-check-unicode
103 - verify-gpg-signature
106 - email-notification:
107 email-recipients: '{email-recipients}'
108 email-prefix: '[releng]'
109 - opendaylight-infra-shiplogs:
110 maven-version: 'mvn33'
112 # FIXME: Migrate to {project-name}-verify-python-{stream} or delete this entirely,
113 # as there are zero python files (aside docs/conf.py) in releng/builder.
115 name: builder-verify-python
116 node: centos7-java-builder-2c-4g
118 project-type: freestyle
121 - opendaylight-infra-properties:
122 build-days-to-keep: 14
125 - opendaylight-infra-parameters:
128 refspec: 'refs/heads/{branch}'
129 artifacts: '{archive-artifacts}'
132 - gerrit-trigger-scm:
133 refspec: '$GERRIT_REFSPEC'
134 choosing-strategy: 'gerrit'
137 - opendaylight-infra-wrappers:
138 build-timeout: '{build-timeout}'
141 - gerrit-trigger-patch-submitted:
142 server: '{server-name}'
148 - verify-gpg-signature
150 virtualenv $WORKSPACE/venv
151 source $WORKSPACE/venv/bin/activate
152 pip install --upgrade pip
158 - email-notification:
159 email-recipients: '{email-recipients}'
160 email-prefix: '[releng]'
161 - opendaylight-infra-shiplogs:
162 maven-version: 'mvn33'
165 name: 'builder-merge'
168 # builder-merge job to run JJB update
170 # This job's purpose is to update all the JJB
172 project-type: freestyle
175 - opendaylight-infra-properties:
176 build-days-to-keep: 14
179 - opendaylight-infra-parameters:
182 refspec: 'refs/heads/{branch}'
183 artifacts: '{archive-artifacts}'
186 - gerrit-trigger-scm:
188 choosing-strategy: 'default'
191 - opendaylight-infra-wrappers:
192 build-timeout: '{build-timeout}'
196 server-name: '{server-name}'
198 - change-merged-event
199 - comment-added-contains-event:
200 comment-contains-value: 'remerge'
202 - project-compare-type: 'ANT'
203 project-pattern: 'releng/builder'
205 - branch-compare-type: 'ANT'
206 branch-pattern: '**/{branch}'
214 jenkins-jobs --version
215 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
218 - email-notification:
219 email-recipients: '{email-recipients}'
220 email-prefix: '[releng]'
221 - opendaylight-infra-shiplogs:
222 maven-version: 'mvn33'
225 name: 'builder-weekly'
229 # builder-weekly job to run JJB update weekly
231 # This job's purpose is to update all the JJB on a weekly (Sunday)
232 # basis with --flush-cache enabled to ensure jobs are okay
234 project-type: freestyle
237 - opendaylight-infra-properties:
238 build-days-to-keep: 14
241 - opendaylight-infra-parameters:
244 refspec: 'refs/heads/{branch}'
245 artifacts: '{archive-artifacts}'
252 - opendaylight-infra-wrappers:
253 build-timeout: '{build-timeout}'
260 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
263 - email-notification:
264 email-recipients: '{email-recipients}'
265 email-prefix: '[releng]'
266 - opendaylight-infra-shiplogs:
267 maven-version: 'mvn33'
270 name: builder-check-poms
271 node: centos7-java-builder-2c-4g
273 project-type: freestyle
276 - opendaylight-infra-properties:
277 build-days-to-keep: 14
280 - opendaylight-infra-parameters:
283 refspec: 'refs/heads/{branch}'
284 artifacts: '{archive-artifacts}'
287 - opendaylight-infra-wrappers:
288 build-timeout: '{build-timeout}'
296 - include-raw-check-poms.sh
299 - email-notification:
300 email-recipients: '{email-recipients}'
301 email-prefix: '[releng]'
302 - opendaylight-infra-shiplogs:
303 maven-version: 'mvn33'
306 name: 'builder-delete-stale-stacks'
307 project-type: freestyle
308 node: centos7-java-builder-2c-4g
311 - opendaylight-infra-properties:
312 build-days-to-keep: 7
315 - opendaylight-infra-wrappers:
316 build-timeout: '{build-timeout}'
319 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
320 - timed: '0,30 * * * *'
323 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
326 - email-notification:
327 email-recipients: '{email-recipients}'
328 email-prefix: '[releng]'
329 - opendaylight-infra-shiplogs:
330 maven-version: 'mvn33'
333 name: 'builder-update-image-list'
334 project-type: freestyle
335 node: centos7-java-builder-2c-4g
338 - opendaylight-infra-properties:
339 build-days-to-keep: 7
342 - opendaylight-infra-parameters:
345 refspec: 'refs/heads/{branch}'
346 artifacts: '{archive-artifacts}'
353 - opendaylight-infra-wrappers:
354 build-timeout: '{build-timeout}'
355 # Listed after to override openstack-infra-wrappers clouds.yaml definition
356 - config-file-provider:
358 - file-id: opendaylight-private-clouds-yaml
359 target: '$HOME/.config/openstack/clouds.yaml'
362 # Update image list every Monday to Friday at 11:00 UTC
363 - timed: '0 11 * * 1-5'
366 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
367 - opendaylight-infra-push-gerrit-patch:
369 gerrit-topic: 'releng-update-cloud-image-list'
370 gerrit-commit-message: 'Update cloud image list docs'
373 - email-notification:
374 email-recipients: '{email-recipients}'
375 email-prefix: '[releng]'
376 - opendaylight-infra-shiplogs:
377 maven-version: 'mvn33'
380 name: 'builder-verify-packer'
381 project-type: freestyle
382 node: centos7-java-builder-2c-4g
386 - opendaylight-infra-properties:
387 build-days-to-keep: 14
390 - opendaylight-infra-parameters:
393 refspec: 'refs/heads/{branch}'
394 artifacts: '{archive-artifacts}'
397 - gerrit-trigger-scm:
398 refspec: '$GERRIT_REFSPEC'
399 choosing-strategy: 'gerrit'
402 - opendaylight-infra-wrappers:
403 build-timeout: '{build-timeout}'
406 - gerrit-trigger-patch-submitted:
407 server: '{server-name}'
416 - email-notification:
417 email-recipients: '{email-recipients}'
418 email-prefix: '[{project}]'
419 - opendaylight-infra-shiplogs:
420 maven-version: 'mvn33'
423 name: 'builder-merge-packer-{platforms}-{templates}'
424 project-type: freestyle
425 node: centos7-java-builder-2c-4g
429 - opendaylight-infra-properties:
430 build-days-to-keep: 14
433 - opendaylight-infra-parameters:
436 refspec: 'refs/heads/{branch}'
437 artifacts: '{archive-artifacts}'
440 - gerrit-trigger-scm:
441 refspec: '$GERRIT_REFSPEC'
444 choosing-strategy: 'default'
447 - opendaylight-infra-wrappers:
448 build-timeout: '{build-timeout}'
451 - timed: '00 10 1 * *'
453 server-name: '{server-name}'
455 - change-merged-event
456 - comment-added-contains-event:
457 comment-contains-value: 'remerge'
459 - project-compare-type: 'ANT'
460 project-pattern: 'releng/builder'
462 - branch-compare-type: 'ANT'
463 branch-pattern: '**/{branch}'
466 pattern: 'packer/vars/{platforms}.json'
468 pattern: 'packer/templates/{templates}.json'
470 pattern: 'packer/provision/{templates}.sh'
472 pattern: 'packer/provision/system_reseal.sh'
474 pattern: 'packer/provision/rh-user_data.sh'
476 pattern: 'packer/provision/devstack-pre-pip.sh'
478 pattern: 'packer/provision/baseline.sh'
483 platform: '{platforms}'
484 template: '{templates}'
487 - email-notification:
488 email-recipients: '{email-recipients}'
489 email-prefix: '[{project}]'
490 - opendaylight-infra-shiplogs:
491 maven-version: 'mvn33'
494 name: 'builder-update-csit-tests'
495 node: centos7-java-builder-2c-8g
497 # builder-update-csit-tests job
499 # This job's purpose is to update csit
500 # tests to run in integration-distribution-test-{stream}
501 # by updating releng-defaults variables: csit-list-carbon,
502 # csit-list-boron, csit-list-beryllium
504 project-type: freestyle
507 - opendaylight-infra-properties:
508 build-days-to-keep: 14
511 - opendaylight-infra-parameters:
514 refspec: 'refs/heads/{branch}'
515 artifacts: '{archive-artifacts}'
518 - gerrit-trigger-scm:
520 choosing-strategy: 'default'
523 - opendaylight-infra-wrappers:
524 build-timeout: '{build-timeout}'
528 jobs: 'builder-merge'
532 git checkout -b auto-update-csit-jobs
533 - integration-list-jobs:
534 blacklist: '{csit-list-blacklist}'
535 search_string: "csit"
537 jobs-filename: "csit_jobs_carbon.lst"
538 - integration-list-jobs:
539 blacklist: '{csit-list-blacklist}'
540 search_string: "csit"
542 jobs-filename: "csit_jobs_boron.lst"
543 - integration-list-jobs:
544 blacklist: '{csit-list-blacklist}'
545 search_string: "csit"
547 jobs-filename: "csit_jobs_beryllium.lst"
548 - integration-replace-block-text:
549 starting-regex: "'csit-list-carbon: >'"
550 ending-regex: "'csit-list-boron: >'"
551 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
552 file-to-change: "'jjb/releng-defaults.yaml'"
553 - integration-replace-block-text:
554 starting-regex: "'csit-list-boron: >'"
555 ending-regex: "'csit-list-beryllium: >'"
556 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
557 file-to-change: "'jjb/releng-defaults.yaml'"
558 - integration-replace-block-text:
559 starting-regex: "'csit-list-beryllium: >'"
560 ending-regex: "'# CSIT TESTS END SED MARKER'"
561 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
562 file-to-change: "'jjb/releng-defaults.yaml'"
565 git add jjb/releng-defaults.yaml
566 - opendaylight-infra-push-gerrit-patch:
567 project: "releng/builder"
568 gerrit-topic: "auto-update-csit-jobs"
569 gerrit-commit-message: "Auto Update CSIT Jobs to run"
572 - email-notification:
573 email-recipients: '{email-recipients}'
574 email-prefix: '[releng]'
575 - opendaylight-infra-shiplogs:
576 maven-version: 'mvn33'