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
68 project-type: freestyle
71 - opendaylight-infra-properties:
72 build-days-to-keep: 14
75 - opendaylight-infra-parameters:
78 refspec: 'refs/heads/{branch}'
79 artifacts: '{archive-artifacts}'
83 refspec: '$GERRIT_REFSPEC'
84 choosing-strategy: 'gerrit'
87 - opendaylight-infra-wrappers:
88 build-timeout: '{build-timeout}'
91 - gerrit-trigger-patch-submitted:
92 server: '{server-name}'
98 - opendaylight-infra-jjbini
100 virtualenv $WORKSPACE/venv
101 source $WORKSPACE/venv/bin/activate
102 pip install --upgrade pip
104 pip install jenkins-job-builder
105 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
106 gzip archives/job_output/*
107 - releng-check-unicode
108 - verify-gpg-signature
111 - email-notification:
112 email-recipients: '{email-recipients}'
113 email-prefix: '[releng]'
114 - opendaylight-infra-shiplogs:
115 maven-version: 'mvn33'
117 # FIXME: Migrate to {project-name}-verify-python-{stream} or delete this entirely,
118 # as there are zero python files (aside docs/conf.py) in releng/builder.
120 name: builder-verify-python
121 node: centos7-java-builder-2c-4g
124 project-type: freestyle
127 - opendaylight-infra-properties:
128 build-days-to-keep: 14
131 - opendaylight-infra-parameters:
134 refspec: 'refs/heads/{branch}'
135 artifacts: '{archive-artifacts}'
138 - gerrit-trigger-scm:
139 refspec: '$GERRIT_REFSPEC'
140 choosing-strategy: 'gerrit'
143 - opendaylight-infra-wrappers:
144 build-timeout: '{build-timeout}'
147 - gerrit-trigger-patch-submitted:
148 server: '{server-name}'
154 - verify-gpg-signature
156 virtualenv $WORKSPACE/venv
157 source $WORKSPACE/venv/bin/activate
158 pip install --upgrade pip
164 - email-notification:
165 email-recipients: '{email-recipients}'
166 email-prefix: '[releng]'
167 - opendaylight-infra-shiplogs:
168 maven-version: 'mvn33'
171 name: 'builder-merge'
172 node: centos7-java-builder-2c-4g
174 # builder-merge job to run JJB update
176 # This job's purpose is to update all the JJB
178 project-type: freestyle
181 - opendaylight-infra-properties:
182 build-days-to-keep: 14
185 - opendaylight-infra-parameters:
188 refspec: 'refs/heads/{branch}'
189 artifacts: '{archive-artifacts}'
192 - gerrit-trigger-scm:
194 choosing-strategy: 'default'
197 - opendaylight-infra-wrappers:
198 build-timeout: '{build-timeout}'
202 server-name: '{server-name}'
204 - change-merged-event
205 - comment-added-contains-event:
206 comment-contains-value: 'remerge'
208 - project-compare-type: 'ANT'
209 project-pattern: 'releng/builder'
211 - branch-compare-type: 'ANT'
212 branch-pattern: '**/{branch}'
218 - opendaylight-infra-jjbini
220 virtualenv $WORKSPACE/venv
221 source $WORKSPACE/venv/bin/activate
222 pip install --upgrade pip
224 pip install jenkins-job-builder
225 jenkins-jobs --version
226 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
229 - email-notification:
230 email-recipients: '{email-recipients}'
231 email-prefix: '[releng]'
232 - opendaylight-infra-shiplogs:
233 maven-version: 'mvn33'
236 name: 'builder-weekly'
238 node: centos7-java-builder-2c-4g
240 # builder-weekly job to run JJB update weekly
242 # This job's purpose is to update all the JJB on a weekly (Sunday)
243 # basis with --flush-cache enabled to ensure jobs are okay
245 project-type: freestyle
248 - opendaylight-infra-properties:
249 build-days-to-keep: 14
252 - opendaylight-infra-parameters:
255 refspec: 'refs/heads/{branch}'
256 artifacts: '{archive-artifacts}'
263 - opendaylight-infra-wrappers:
264 build-timeout: '{build-timeout}'
270 - opendaylight-infra-jjbini
272 virtualenv $WORKSPACE/venv
273 source $WORKSPACE/venv/bin/activate
274 pip install --upgrade pip
276 pip install jenkins-job-builder
277 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
280 - email-notification:
281 email-recipients: '{email-recipients}'
282 email-prefix: '[releng]'
283 - opendaylight-infra-shiplogs:
284 maven-version: 'mvn33'
287 name: builder-check-poms
288 node: centos7-java-builder-2c-4g
290 project-type: freestyle
293 - opendaylight-infra-properties:
294 build-days-to-keep: 14
297 - opendaylight-infra-parameters:
300 refspec: 'refs/heads/{branch}'
301 artifacts: '{archive-artifacts}'
304 - opendaylight-infra-wrappers:
305 build-timeout: '{build-timeout}'
313 - include-raw-check-poms.sh
316 - email-notification:
317 email-recipients: '{email-recipients}'
318 email-prefix: '[releng]'
319 - opendaylight-infra-shiplogs:
320 maven-version: 'mvn33'
323 name: 'builder-delete-stale-stacks'
324 project-type: freestyle
325 node: centos7-java-builder-2c-4g
328 - opendaylight-infra-properties:
329 build-days-to-keep: 7
332 - opendaylight-infra-wrappers:
333 build-timeout: '{build-timeout}'
336 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
337 - timed: '0,30 * * * *'
340 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
343 - email-notification:
344 email-recipients: '{email-recipients}'
345 email-prefix: '[releng]'
346 - opendaylight-infra-shiplogs:
347 maven-version: 'mvn33'
350 name: 'builder-update-image-list'
351 project-type: freestyle
352 node: centos7-java-builder-2c-4g
355 - opendaylight-infra-properties:
356 build-days-to-keep: 7
359 - opendaylight-infra-parameters:
362 refspec: 'refs/heads/{branch}'
363 artifacts: '{archive-artifacts}'
370 - opendaylight-infra-wrappers:
371 build-timeout: '{build-timeout}'
372 # Listed after to override openstack-infra-wrappers clouds.yaml definition
373 - config-file-provider:
375 - file-id: opendaylight-private-clouds-yaml
376 target: '$HOME/.config/openstack/clouds.yaml'
379 # Update image list every Monday to Friday at 11:00 UTC
380 - timed: '0 11 * * 1-5'
383 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
384 - opendaylight-infra-push-gerrit-patch:
386 gerrit-topic: 'releng-update-cloud-image-list'
387 gerrit-commit-message: 'Update cloud image list docs'
390 - email-notification:
391 email-recipients: '{email-recipients}'
392 email-prefix: '[releng]'
393 - opendaylight-infra-shiplogs:
394 maven-version: 'mvn33'
397 name: 'builder-verify-packer'
398 project-type: freestyle
399 node: centos7-java-builder-2c-4g
403 - opendaylight-infra-properties:
404 build-days-to-keep: 14
407 - opendaylight-infra-parameters:
410 refspec: 'refs/heads/{branch}'
411 artifacts: '{archive-artifacts}'
414 - gerrit-trigger-scm:
415 refspec: '$GERRIT_REFSPEC'
416 choosing-strategy: 'gerrit'
419 - opendaylight-infra-wrappers:
420 build-timeout: '{build-timeout}'
423 - gerrit-trigger-patch-submitted:
424 server: '{server-name}'
433 - email-notification:
434 email-recipients: '{email-recipients}'
435 email-prefix: '[{project}]'
436 - opendaylight-infra-shiplogs:
437 maven-version: 'mvn33'
440 name: 'builder-merge-packer-{platforms}-{templates}'
441 project-type: freestyle
442 node: centos7-java-builder-2c-4g
445 - opendaylight-infra-properties:
446 build-days-to-keep: 14
449 - opendaylight-infra-parameters:
452 refspec: 'refs/heads/{branch}'
453 artifacts: '{archive-artifacts}'
456 - gerrit-trigger-scm:
457 refspec: '$GERRIT_REFSPEC'
460 choosing-strategy: 'default'
463 - opendaylight-infra-wrappers:
464 build-timeout: '{build-timeout}'
467 - timed: '00 10 1 * *'
469 server-name: '{server-name}'
471 - change-merged-event
472 - comment-added-contains-event:
473 comment-contains-value: 'remerge'
475 - project-compare-type: 'ANT'
476 project-pattern: 'releng/builder'
478 - branch-compare-type: 'ANT'
479 branch-pattern: '**/{branch}'
482 pattern: 'packer/vars/{platforms}.json'
484 pattern: 'packer/templates/{templates}.json'
486 pattern: 'packer/provision/{templates}.sh'
488 pattern: 'packer/provision/system_reseal.sh'
490 pattern: 'packer/provision/rh-user_data.sh'
492 pattern: 'packer/provision/devstack-pre-pip.sh'
494 pattern: 'packer/provision/baseline.sh'
499 platform: '{platforms}'
500 template: '{templates}'
503 - email-notification:
504 email-recipients: '{email-recipients}'
505 email-prefix: '[{project}]'
506 - opendaylight-infra-shiplogs:
507 maven-version: 'mvn33'
510 name: 'builder-update-csit-tests'
511 node: centos7-java-builder-2c-8g
513 # builder-update-csit-tests job
515 # This job's purpose is to update csit
516 # tests to run in integration-distribution-test-{stream}
517 # by updating releng-defaults variables: csit-list-carbon,
518 # csit-list-boron, csit-list-beryllium
520 project-type: freestyle
523 - opendaylight-infra-properties:
524 build-days-to-keep: 14
527 - opendaylight-infra-parameters:
530 refspec: 'refs/heads/{branch}'
531 artifacts: '{archive-artifacts}'
534 - gerrit-trigger-scm:
536 choosing-strategy: 'default'
539 - opendaylight-infra-wrappers:
540 build-timeout: '{build-timeout}'
544 jobs: 'builder-merge'
548 git checkout -b auto-update-csit-jobs
549 - integration-list-jobs:
550 blacklist: '{csit-list-blacklist}'
551 search_string: "csit"
553 jobs-filename: "csit_jobs_carbon.lst"
554 - integration-list-jobs:
555 blacklist: '{csit-list-blacklist}'
556 search_string: "csit"
558 jobs-filename: "csit_jobs_boron.lst"
559 - integration-list-jobs:
560 blacklist: '{csit-list-blacklist}'
561 search_string: "csit"
563 jobs-filename: "csit_jobs_beryllium.lst"
564 - integration-replace-block-text:
565 starting-regex: "'csit-list-carbon: >'"
566 ending-regex: "'csit-list-boron: >'"
567 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
568 file-to-change: "'jjb/releng-defaults.yaml'"
569 - integration-replace-block-text:
570 starting-regex: "'csit-list-boron: >'"
571 ending-regex: "'csit-list-beryllium: >'"
572 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
573 file-to-change: "'jjb/releng-defaults.yaml'"
574 - integration-replace-block-text:
575 starting-regex: "'csit-list-beryllium: >'"
576 ending-regex: "'# CSIT TESTS END SED MARKER'"
577 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
578 file-to-change: "'jjb/releng-defaults.yaml'"
581 git add jjb/releng-defaults.yaml
582 - opendaylight-infra-push-gerrit-patch:
583 project: "releng/builder"
584 gerrit-topic: "auto-update-csit-jobs"
585 gerrit-commit-message: "Auto Update CSIT Jobs to run"
588 - email-notification:
589 email-recipients: '{email-recipients}'
590 email-prefix: '[releng]'
591 - opendaylight-infra-shiplogs:
592 maven-version: 'mvn33'