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
53 project-type: freestyle
54 archive-artifacts: '**/*.log'
56 # The following two values are only specified here
57 # so that code blocks look similar to other projects.
58 project: 'releng/builder'
62 name: builder-verify-jjb
65 project-type: freestyle
68 - opendaylight-infra-properties:
69 build-days-to-keep: 14
72 - opendaylight-infra-parameters:
75 refspec: 'refs/heads/{branch}'
76 artifacts: '{archive-artifacts}'
80 refspec: '$GERRIT_REFSPEC'
81 choosing-strategy: 'gerrit'
84 - opendaylight-infra-wrappers:
85 build-timeout: '{build-timeout}'
88 - gerrit-trigger-patch-submitted:
89 server: '{server-name}'
97 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
98 gzip archives/job_output/*
100 - releng-check-unicode
101 - verify-gpg-signature
104 - email-notification:
105 email-recipients: '{email-recipients}'
106 email-prefix: '[releng]'
107 - opendaylight-infra-shiplogs:
108 maven-version: 'mvn33'
110 # FIXME: Migrate to {project-name}-verify-python-{stream} or delete this entirely,
111 # as there are zero python files (aside docs/conf.py) in releng/builder.
113 name: builder-verify-python
114 node: centos7-java-builder-2c-4g
116 project-type: freestyle
119 - opendaylight-infra-properties:
120 build-days-to-keep: 14
123 - opendaylight-infra-parameters:
126 refspec: 'refs/heads/{branch}'
127 artifacts: '{archive-artifacts}'
130 - gerrit-trigger-scm:
131 refspec: '$GERRIT_REFSPEC'
132 choosing-strategy: 'gerrit'
135 - opendaylight-infra-wrappers:
136 build-timeout: '{build-timeout}'
139 - gerrit-trigger-patch-submitted:
140 server: '{server-name}'
146 - verify-gpg-signature
148 virtualenv $WORKSPACE/venv
149 source $WORKSPACE/venv/bin/activate
150 pip install --upgrade pip
156 - email-notification:
157 email-recipients: '{email-recipients}'
158 email-prefix: '[releng]'
159 - opendaylight-infra-shiplogs:
160 maven-version: 'mvn33'
163 name: 'builder-merge'
166 # builder-merge job to run JJB update
168 # This job's purpose is to update all the JJB
170 project-type: freestyle
173 - opendaylight-infra-properties:
174 build-days-to-keep: 14
177 - opendaylight-infra-parameters:
180 refspec: 'refs/heads/{branch}'
181 artifacts: '{archive-artifacts}'
184 - gerrit-trigger-scm:
186 choosing-strategy: 'default'
189 - opendaylight-infra-wrappers:
190 build-timeout: '{build-timeout}'
194 server-name: '{server-name}'
196 - change-merged-event
197 - comment-added-contains-event:
198 comment-contains-value: 'remerge'
200 - project-compare-type: 'ANT'
201 project-pattern: 'releng/builder'
203 - branch-compare-type: 'ANT'
204 branch-pattern: '**/{branch}'
212 jenkins-jobs --version
213 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
216 - email-notification:
217 email-recipients: '{email-recipients}'
218 email-prefix: '[releng]'
219 - opendaylight-infra-shiplogs:
220 maven-version: 'mvn33'
223 name: 'builder-weekly'
227 # builder-weekly job to run JJB update weekly
229 # This job's purpose is to update all the JJB on a weekly (Sunday)
230 # basis with --flush-cache enabled to ensure jobs are okay
232 project-type: freestyle
235 - opendaylight-infra-properties:
236 build-days-to-keep: 14
239 - opendaylight-infra-parameters:
242 refspec: 'refs/heads/{branch}'
243 artifacts: '{archive-artifacts}'
250 - opendaylight-infra-wrappers:
251 build-timeout: '{build-timeout}'
258 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
261 - email-notification:
262 email-recipients: '{email-recipients}'
263 email-prefix: '[releng]'
264 - opendaylight-infra-shiplogs:
265 maven-version: 'mvn33'
268 name: builder-check-poms
269 node: centos7-java-builder-2c-4g
271 project-type: freestyle
274 - opendaylight-infra-properties:
275 build-days-to-keep: 14
278 - opendaylight-infra-parameters:
281 refspec: 'refs/heads/{branch}'
282 artifacts: '{archive-artifacts}'
285 - opendaylight-infra-wrappers:
286 build-timeout: '{build-timeout}'
294 - include-raw-check-poms.sh
297 - email-notification:
298 email-recipients: '{email-recipients}'
299 email-prefix: '[releng]'
300 - opendaylight-infra-shiplogs:
301 maven-version: 'mvn33'
304 name: 'builder-delete-stale-stacks'
305 project-type: freestyle
306 node: centos7-java-builder-2c-4g
309 - opendaylight-infra-properties:
310 build-days-to-keep: 7
313 - opendaylight-infra-wrappers:
314 build-timeout: '{build-timeout}'
317 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
318 - timed: '0,30 * * * *'
321 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
324 - email-notification:
325 email-recipients: '{email-recipients}'
326 email-prefix: '[releng]'
327 - opendaylight-infra-shiplogs:
328 maven-version: 'mvn33'
331 name: 'builder-update-image-list'
332 project-type: freestyle
333 node: centos7-java-builder-2c-4g
336 - opendaylight-infra-properties:
337 build-days-to-keep: 7
340 - opendaylight-infra-parameters:
343 refspec: 'refs/heads/{branch}'
344 artifacts: '{archive-artifacts}'
351 - opendaylight-infra-wrappers:
352 build-timeout: '{build-timeout}'
353 # Listed after to override openstack-infra-wrappers clouds.yaml definition
354 - config-file-provider:
356 - file-id: opendaylight-private-clouds-yaml
357 target: '$HOME/.config/openstack/clouds.yaml'
360 # Update image list every Monday to Friday at 11:00 UTC
361 - timed: '0 11 * * 1-5'
364 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
365 - opendaylight-infra-push-gerrit-patch:
367 gerrit-topic: 'releng-update-cloud-image-list'
368 gerrit-commit-message: 'Update cloud image list docs'
371 - email-notification:
372 email-recipients: '{email-recipients}'
373 email-prefix: '[releng]'
374 - opendaylight-infra-shiplogs:
375 maven-version: 'mvn33'
378 name: 'builder-verify-packer'
379 project-type: freestyle
380 node: centos7-java-builder-2c-4g
384 - opendaylight-infra-properties:
385 build-days-to-keep: 14
388 - opendaylight-infra-parameters:
391 refspec: 'refs/heads/{branch}'
392 artifacts: '{archive-artifacts}'
395 - gerrit-trigger-scm:
396 refspec: '$GERRIT_REFSPEC'
397 choosing-strategy: 'gerrit'
400 - opendaylight-infra-wrappers:
401 build-timeout: '{build-timeout}'
404 - gerrit-trigger-patch-submitted:
405 server: '{server-name}'
414 - email-notification:
415 email-recipients: '{email-recipients}'
416 email-prefix: '[{project}]'
417 - opendaylight-infra-shiplogs:
418 maven-version: 'mvn33'
421 name: 'builder-merge-packer-{platforms}-{templates}'
422 project-type: freestyle
423 node: centos7-java-builder-2c-4g
427 - opendaylight-infra-properties:
428 build-days-to-keep: 14
431 - opendaylight-infra-parameters:
434 refspec: 'refs/heads/{branch}'
435 artifacts: '{archive-artifacts}'
438 - gerrit-trigger-scm:
439 refspec: '$GERRIT_REFSPEC'
442 choosing-strategy: 'default'
445 - opendaylight-infra-wrappers:
446 build-timeout: '{build-timeout}'
449 - timed: '00 10 1 * *'
451 server-name: '{server-name}'
453 - change-merged-event
454 - comment-added-contains-event:
455 comment-contains-value: 'remerge'
457 - project-compare-type: 'ANT'
458 project-pattern: 'releng/builder'
460 - branch-compare-type: 'ANT'
461 branch-pattern: '**/{branch}'
464 pattern: 'packer/vars/{platforms}.json'
466 pattern: 'packer/templates/{templates}.json'
468 pattern: 'packer/provision/{templates}.sh'
470 pattern: 'packer/provision/system_reseal.sh'
472 pattern: 'packer/provision/rh-user_data.sh'
474 pattern: 'packer/provision/devstack-pre-pip.sh'
476 pattern: 'packer/provision/baseline.sh'
481 platform: '{platforms}'
482 template: '{templates}'
485 - email-notification:
486 email-recipients: '{email-recipients}'
487 email-prefix: '[{project}]'
488 - opendaylight-infra-shiplogs:
489 maven-version: 'mvn33'
492 name: 'builder-update-csit-tests'
493 node: centos7-java-builder-2c-8g
495 # builder-update-csit-tests job
497 # This job's purpose is to update csit
498 # tests to run in integration-distribution-test-{stream}
499 # by updating releng-defaults variables: csit-list-carbon,
500 # csit-list-boron, csit-list-beryllium
502 project-type: freestyle
505 - opendaylight-infra-properties:
506 build-days-to-keep: 14
509 - opendaylight-infra-parameters:
512 refspec: 'refs/heads/{branch}'
513 artifacts: '{archive-artifacts}'
516 - gerrit-trigger-scm:
518 choosing-strategy: 'default'
521 - opendaylight-infra-wrappers:
522 build-timeout: '{build-timeout}'
526 jobs: 'builder-merge'
530 git checkout -b auto-update-csit-jobs
531 - integration-list-jobs:
532 blacklist: '{csit-list-blacklist}'
533 search_string: "csit"
535 jobs-filename: "csit_jobs_carbon.lst"
536 - integration-list-jobs:
537 blacklist: '{csit-list-blacklist}'
538 search_string: "csit"
540 jobs-filename: "csit_jobs_boron.lst"
541 - integration-list-jobs:
542 blacklist: '{csit-list-blacklist}'
543 search_string: "csit"
545 jobs-filename: "csit_jobs_beryllium.lst"
546 - integration-replace-block-text:
547 starting-regex: "'csit-list-carbon: >'"
548 ending-regex: "'csit-list-boron: >'"
549 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
550 file-to-change: "'jjb/releng-defaults.yaml'"
551 - integration-replace-block-text:
552 starting-regex: "'csit-list-boron: >'"
553 ending-regex: "'csit-list-beryllium: >'"
554 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
555 file-to-change: "'jjb/releng-defaults.yaml'"
556 - integration-replace-block-text:
557 starting-regex: "'csit-list-beryllium: >'"
558 ending-regex: "'# CSIT TESTS END SED MARKER'"
559 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
560 file-to-change: "'jjb/releng-defaults.yaml'"
563 git add jjb/releng-defaults.yaml
564 - opendaylight-infra-push-gerrit-patch:
565 project: "releng/builder"
566 gerrit-topic: "auto-update-csit-jobs"
567 gerrit-commit-message: "Auto Update CSIT Jobs to run"
570 - email-notification:
571 email-recipients: '{email-recipients}'
572 email-prefix: '[releng]'
573 - opendaylight-infra-shiplogs:
574 maven-version: 'mvn33'