6 - 'builder-verify-python'
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'
59 # The following two values are only specified here
60 # so that code blocks look similar to other projects.
61 project: 'releng/builder'
65 name: builder-verify-jjb
66 node: centos7-java-builder-2c-4g
69 project-type: freestyle
72 - opendaylight-infra-properties:
73 build-days-to-keep: 14
76 - opendaylight-infra-parameters:
79 refspec: 'refs/heads/{branch}'
80 artifacts: '{archive-artifacts}'
84 refspec: '$GERRIT_REFSPEC'
85 choosing-strategy: 'gerrit'
88 - opendaylight-infra-wrappers:
89 build-timeout: '{build-timeout}'
92 - gerrit-trigger-patch-submitted:
93 server: '{server-name}'
99 - opendaylight-infra-jjbini
101 virtualenv $WORKSPACE/venv
102 source $WORKSPACE/venv/bin/activate
103 pip install --upgrade pip
105 pip install jenkins-job-builder
106 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
107 gzip archives/job_output/*
108 - releng-check-unicode
109 - verify-gpg-signature
112 - email-notification:
113 email-recipients: '{email-recipients}'
114 email-prefix: '[releng]'
115 - opendaylight-infra-shiplogs:
116 maven-version: 'mvn33'
118 # FIXME: Migrate to {project-name}-verify-python-{stream} or delete this entirely,
119 # as there are zero python files (aside docs/conf.py) in releng/builder.
121 name: builder-verify-python
122 node: centos7-java-builder-2c-4g
125 project-type: freestyle
128 - opendaylight-infra-properties:
129 build-days-to-keep: 14
132 - opendaylight-infra-parameters:
135 refspec: 'refs/heads/{branch}'
136 artifacts: '{archive-artifacts}'
139 - gerrit-trigger-scm:
140 refspec: '$GERRIT_REFSPEC'
141 choosing-strategy: 'gerrit'
144 - opendaylight-infra-wrappers:
145 build-timeout: '{build-timeout}'
148 - gerrit-trigger-patch-submitted:
149 server: '{server-name}'
155 - verify-gpg-signature
157 virtualenv $WORKSPACE/venv
158 source $WORKSPACE/venv/bin/activate
159 pip install --upgrade pip
165 - email-notification:
166 email-recipients: '{email-recipients}'
167 email-prefix: '[releng]'
168 - opendaylight-infra-shiplogs:
169 maven-version: 'mvn33'
172 name: 'builder-merge'
173 node: centos7-java-builder-2c-4g
175 # builder-merge job to run JJB update
177 # This job's purpose is to update all the JJB
179 project-type: freestyle
182 - opendaylight-infra-properties:
183 build-days-to-keep: 14
186 - opendaylight-infra-parameters:
189 refspec: 'refs/heads/{branch}'
190 artifacts: '{archive-artifacts}'
193 - gerrit-trigger-scm:
195 choosing-strategy: 'default'
198 - opendaylight-infra-wrappers:
199 build-timeout: '{build-timeout}'
203 server-name: '{server-name}'
205 - change-merged-event
206 - comment-added-contains-event:
207 comment-contains-value: 'remerge'
209 - project-compare-type: 'ANT'
210 project-pattern: 'releng/builder'
212 - branch-compare-type: 'ANT'
213 branch-pattern: '**/{branch}'
219 - opendaylight-infra-jjbini
221 virtualenv $WORKSPACE/venv
222 source $WORKSPACE/venv/bin/activate
223 pip install --upgrade pip
225 pip install jenkins-job-builder
226 jenkins-jobs --version
227 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
230 - email-notification:
231 email-recipients: '{email-recipients}'
232 email-prefix: '[releng]'
233 - opendaylight-infra-shiplogs:
234 maven-version: 'mvn33'
237 name: 'builder-weekly'
239 node: centos7-java-builder-2c-4g
241 # builder-weekly job to run JJB update weekly
243 # This job's purpose is to update all the JJB on a weekly (Sunday)
244 # basis with --flush-cache enabled to ensure jobs are okay
246 project-type: freestyle
249 - opendaylight-infra-properties:
250 build-days-to-keep: 14
253 - opendaylight-infra-parameters:
256 refspec: 'refs/heads/{branch}'
257 artifacts: '{archive-artifacts}'
264 - opendaylight-infra-wrappers:
265 build-timeout: '{build-timeout}'
271 - opendaylight-infra-jjbini
273 virtualenv $WORKSPACE/venv
274 source $WORKSPACE/venv/bin/activate
275 pip install --upgrade pip
277 pip install jenkins-job-builder
278 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
281 - email-notification:
282 email-recipients: '{email-recipients}'
283 email-prefix: '[releng]'
284 - opendaylight-infra-shiplogs:
285 maven-version: 'mvn33'
288 name: builder-check-poms
289 node: centos7-java-builder-2c-4g
291 project-type: freestyle
294 - opendaylight-infra-properties:
295 build-days-to-keep: 14
298 - opendaylight-infra-parameters:
301 refspec: 'refs/heads/{branch}'
302 artifacts: '{archive-artifacts}'
305 - opendaylight-infra-wrappers:
306 build-timeout: '{build-timeout}'
312 - shell: !include-raw-escape: include-raw-check-poms.sh
315 - email-notification:
316 email-recipients: '{email-recipients}'
317 email-prefix: '[releng]'
318 - opendaylight-infra-shiplogs:
319 maven-version: 'mvn33'
322 name: 'builder-delete-stale-stacks'
323 project-type: freestyle
324 node: centos7-java-builder-2c-4g
327 - opendaylight-infra-properties:
328 build-days-to-keep: 7
331 - opendaylight-infra-wrappers:
332 build-timeout: '{build-timeout}'
335 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
336 - timed: '0,30 * * * *'
339 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
342 - email-notification:
343 email-recipients: '{email-recipients}'
344 email-prefix: '[releng]'
345 - opendaylight-infra-shiplogs:
346 maven-version: 'mvn33'
349 name: 'builder-update-image-list'
350 project-type: freestyle
351 node: centos7-java-builder-2c-4g
354 - opendaylight-infra-properties:
355 build-days-to-keep: 7
358 - opendaylight-infra-parameters:
361 refspec: 'refs/heads/{branch}'
362 artifacts: '{archive-artifacts}'
369 - opendaylight-infra-wrappers:
370 build-timeout: '{build-timeout}'
371 # Listed after to override openstack-infra-wrappers clouds.yaml definition
372 - config-file-provider:
374 - file-id: opendaylight-private-clouds-yaml
375 target: '$HOME/.config/openstack/clouds.yaml'
378 # Update image list every Monday to Friday at 11:00 UTC
379 - timed: '0 11 * * 1-5'
382 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
383 - opendaylight-infra-push-gerrit-patch:
385 gerrit-topic: 'releng-update-cloud-image-list'
386 gerrit-commit-message: 'Update cloud image list docs'
389 - email-notification:
390 email-recipients: '{email-recipients}'
391 email-prefix: '[releng]'
392 - opendaylight-infra-shiplogs:
393 maven-version: 'mvn33'
396 name: 'builder-verify-packer'
397 project-type: freestyle
398 node: centos7-java-builder-2c-4g
402 - opendaylight-infra-properties:
403 build-days-to-keep: 14
406 - opendaylight-infra-parameters:
409 refspec: 'refs/heads/{branch}'
410 artifacts: '{archive-artifacts}'
413 - gerrit-trigger-scm:
414 refspec: '$GERRIT_REFSPEC'
415 choosing-strategy: 'gerrit'
418 - opendaylight-infra-wrappers:
419 build-timeout: '{build-timeout}'
422 - gerrit-trigger-patch-submitted:
423 server: '{server-name}'
432 - email-notification:
433 email-recipients: '{email-recipients}'
434 email-prefix: '[{project}]'
435 - opendaylight-infra-shiplogs:
436 maven-version: 'mvn33'
439 name: 'builder-merge-packer-{platforms}-{templates}'
440 project-type: freestyle
441 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'