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
65 node: centos7-java-builder-2c-4g
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}'
97 - opendaylight-infra-jjbini
99 virtualenv $WORKSPACE/venv
100 source $WORKSPACE/venv/bin/activate
101 pip install --upgrade pip
103 pip install jenkins-job-builder
104 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
105 gzip archives/job_output/*
106 - releng-check-unicode
107 - verify-gpg-signature
110 - email-notification:
111 email-recipients: '{email-recipients}'
112 email-prefix: '[releng]'
113 - opendaylight-infra-shiplogs:
114 maven-version: 'mvn33'
116 # FIXME: Migrate to {project-name}-verify-python-{stream} or delete this entirely,
117 # as there are zero python files (aside docs/conf.py) in releng/builder.
119 name: builder-verify-python
120 node: centos7-java-builder-2c-4g
122 project-type: freestyle
125 - opendaylight-infra-properties:
126 build-days-to-keep: 14
129 - opendaylight-infra-parameters:
132 refspec: 'refs/heads/{branch}'
133 artifacts: '{archive-artifacts}'
136 - gerrit-trigger-scm:
137 refspec: '$GERRIT_REFSPEC'
138 choosing-strategy: 'gerrit'
141 - opendaylight-infra-wrappers:
142 build-timeout: '{build-timeout}'
145 - gerrit-trigger-patch-submitted:
146 server: '{server-name}'
152 - verify-gpg-signature
154 virtualenv $WORKSPACE/venv
155 source $WORKSPACE/venv/bin/activate
156 pip install --upgrade pip
162 - email-notification:
163 email-recipients: '{email-recipients}'
164 email-prefix: '[releng]'
165 - opendaylight-infra-shiplogs:
166 maven-version: 'mvn33'
169 name: 'builder-merge'
170 node: centos7-java-builder-2c-4g
172 # builder-merge job to run JJB update
174 # This job's purpose is to update all the JJB
176 project-type: freestyle
179 - opendaylight-infra-properties:
180 build-days-to-keep: 14
183 - opendaylight-infra-parameters:
186 refspec: 'refs/heads/{branch}'
187 artifacts: '{archive-artifacts}'
190 - gerrit-trigger-scm:
192 choosing-strategy: 'default'
195 - opendaylight-infra-wrappers:
196 build-timeout: '{build-timeout}'
200 server-name: '{server-name}'
202 - change-merged-event
203 - comment-added-contains-event:
204 comment-contains-value: 'remerge'
206 - project-compare-type: 'ANT'
207 project-pattern: 'releng/builder'
209 - branch-compare-type: 'ANT'
210 branch-pattern: '**/{branch}'
216 - opendaylight-infra-jjbini
218 virtualenv $WORKSPACE/venv
219 source $WORKSPACE/venv/bin/activate
220 pip install --upgrade pip
222 pip install jenkins-job-builder
223 jenkins-jobs --version
224 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
227 - email-notification:
228 email-recipients: '{email-recipients}'
229 email-prefix: '[releng]'
230 - opendaylight-infra-shiplogs:
231 maven-version: 'mvn33'
234 name: 'builder-weekly'
236 node: centos7-java-builder-2c-4g
238 # builder-weekly job to run JJB update weekly
240 # This job's purpose is to update all the JJB on a weekly (Sunday)
241 # basis with --flush-cache enabled to ensure jobs are okay
243 project-type: freestyle
246 - opendaylight-infra-properties:
247 build-days-to-keep: 14
250 - opendaylight-infra-parameters:
253 refspec: 'refs/heads/{branch}'
254 artifacts: '{archive-artifacts}'
261 - opendaylight-infra-wrappers:
262 build-timeout: '{build-timeout}'
268 - opendaylight-infra-jjbini
270 virtualenv $WORKSPACE/venv
271 source $WORKSPACE/venv/bin/activate
272 pip install --upgrade pip
274 pip install jenkins-job-builder
275 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
278 - email-notification:
279 email-recipients: '{email-recipients}'
280 email-prefix: '[releng]'
281 - opendaylight-infra-shiplogs:
282 maven-version: 'mvn33'
285 name: builder-check-poms
286 node: centos7-java-builder-2c-4g
288 project-type: freestyle
291 - opendaylight-infra-properties:
292 build-days-to-keep: 14
295 - opendaylight-infra-parameters:
298 refspec: 'refs/heads/{branch}'
299 artifacts: '{archive-artifacts}'
302 - opendaylight-infra-wrappers:
303 build-timeout: '{build-timeout}'
311 - include-raw-check-poms.sh
314 - email-notification:
315 email-recipients: '{email-recipients}'
316 email-prefix: '[releng]'
317 - opendaylight-infra-shiplogs:
318 maven-version: 'mvn33'
321 name: 'builder-delete-stale-stacks'
322 project-type: freestyle
323 node: centos7-java-builder-2c-4g
326 - opendaylight-infra-properties:
327 build-days-to-keep: 7
330 - opendaylight-infra-wrappers:
331 build-timeout: '{build-timeout}'
334 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
335 - timed: '0,30 * * * *'
338 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
341 - email-notification:
342 email-recipients: '{email-recipients}'
343 email-prefix: '[releng]'
344 - opendaylight-infra-shiplogs:
345 maven-version: 'mvn33'
348 name: 'builder-update-image-list'
349 project-type: freestyle
350 node: centos7-java-builder-2c-4g
353 - opendaylight-infra-properties:
354 build-days-to-keep: 7
357 - opendaylight-infra-parameters:
360 refspec: 'refs/heads/{branch}'
361 artifacts: '{archive-artifacts}'
368 - opendaylight-infra-wrappers:
369 build-timeout: '{build-timeout}'
370 # Listed after to override openstack-infra-wrappers clouds.yaml definition
371 - config-file-provider:
373 - file-id: opendaylight-private-clouds-yaml
374 target: '$HOME/.config/openstack/clouds.yaml'
377 # Update image list every Monday to Friday at 11:00 UTC
378 - timed: '0 11 * * 1-5'
381 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
382 - opendaylight-infra-push-gerrit-patch:
384 gerrit-topic: 'releng-update-cloud-image-list'
385 gerrit-commit-message: 'Update cloud image list docs'
388 - email-notification:
389 email-recipients: '{email-recipients}'
390 email-prefix: '[releng]'
391 - opendaylight-infra-shiplogs:
392 maven-version: 'mvn33'
395 name: 'builder-verify-packer'
396 project-type: freestyle
397 node: centos7-java-builder-2c-4g
401 - opendaylight-infra-properties:
402 build-days-to-keep: 14
405 - opendaylight-infra-parameters:
408 refspec: 'refs/heads/{branch}'
409 artifacts: '{archive-artifacts}'
412 - gerrit-trigger-scm:
413 refspec: '$GERRIT_REFSPEC'
414 choosing-strategy: 'gerrit'
417 - opendaylight-infra-wrappers:
418 build-timeout: '{build-timeout}'
421 - gerrit-trigger-patch-submitted:
422 server: '{server-name}'
431 - email-notification:
432 email-recipients: '{email-recipients}'
433 email-prefix: '[{project}]'
434 - opendaylight-infra-shiplogs:
435 maven-version: 'mvn33'
438 name: 'builder-merge-packer-{platforms}-{templates}'
439 project-type: freestyle
440 node: centos7-java-builder-2c-4g
444 - opendaylight-infra-properties:
445 build-days-to-keep: 14
448 - opendaylight-infra-parameters:
451 refspec: 'refs/heads/{branch}'
452 artifacts: '{archive-artifacts}'
455 - gerrit-trigger-scm:
456 refspec: '$GERRIT_REFSPEC'
459 choosing-strategy: 'default'
462 - opendaylight-infra-wrappers:
463 build-timeout: '{build-timeout}'
466 - timed: '00 10 1 * *'
468 server-name: '{server-name}'
470 - change-merged-event
471 - comment-added-contains-event:
472 comment-contains-value: 'remerge'
474 - project-compare-type: 'ANT'
475 project-pattern: 'releng/builder'
477 - branch-compare-type: 'ANT'
478 branch-pattern: '**/{branch}'
481 pattern: 'packer/vars/{platforms}.json'
483 pattern: 'packer/templates/{templates}.json'
485 pattern: 'packer/provision/{templates}.sh'
487 pattern: 'packer/provision/system_reseal.sh'
489 pattern: 'packer/provision/rh-user_data.sh'
491 pattern: 'packer/provision/devstack-pre-pip.sh'
493 pattern: 'packer/provision/baseline.sh'
498 platform: '{platforms}'
499 template: '{templates}'
502 - email-notification:
503 email-recipients: '{email-recipients}'
504 email-prefix: '[{project}]'
505 - opendaylight-infra-shiplogs:
506 maven-version: 'mvn33'
509 name: 'builder-update-csit-tests'
510 node: centos7-java-builder-2c-8g
512 # builder-update-csit-tests job
514 # This job's purpose is to update csit
515 # tests to run in integration-distribution-test-{stream}
516 # by updating releng-defaults variables: csit-list-carbon,
517 # csit-list-boron, csit-list-beryllium
519 project-type: freestyle
522 - opendaylight-infra-properties:
523 build-days-to-keep: 14
526 - opendaylight-infra-parameters:
529 refspec: 'refs/heads/{branch}'
530 artifacts: '{archive-artifacts}'
533 - gerrit-trigger-scm:
535 choosing-strategy: 'default'
538 - opendaylight-infra-wrappers:
539 build-timeout: '{build-timeout}'
543 jobs: 'builder-merge'
547 git checkout -b auto-update-csit-jobs
548 - integration-list-jobs:
549 blacklist: '{csit-list-blacklist}'
550 search_string: "csit"
552 jobs-filename: "csit_jobs_carbon.lst"
553 - integration-list-jobs:
554 blacklist: '{csit-list-blacklist}'
555 search_string: "csit"
557 jobs-filename: "csit_jobs_boron.lst"
558 - integration-list-jobs:
559 blacklist: '{csit-list-blacklist}'
560 search_string: "csit"
562 jobs-filename: "csit_jobs_beryllium.lst"
563 - integration-replace-block-text:
564 starting-regex: "'csit-list-carbon: >'"
565 ending-regex: "'csit-list-boron: >'"
566 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
567 file-to-change: "'jjb/releng-defaults.yaml'"
568 - integration-replace-block-text:
569 starting-regex: "'csit-list-boron: >'"
570 ending-regex: "'csit-list-beryllium: >'"
571 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
572 file-to-change: "'jjb/releng-defaults.yaml'"
573 - integration-replace-block-text:
574 starting-regex: "'csit-list-beryllium: >'"
575 ending-regex: "'# CSIT TESTS END SED MARKER'"
576 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
577 file-to-change: "'jjb/releng-defaults.yaml'"
580 git add jjb/releng-defaults.yaml
581 - opendaylight-infra-push-gerrit-patch:
582 project: "releng/builder"
583 gerrit-topic: "auto-update-csit-jobs"
584 gerrit-commit-message: "Auto Update CSIT Jobs to run"
587 - email-notification:
588 email-recipients: '{email-recipients}'
589 email-prefix: '[releng]'
590 - opendaylight-infra-shiplogs:
591 maven-version: 'mvn33'