6 - '{project-name}-verify-tox-{stream}'
10 - 'builder-verify-packer'
11 - 'builder-merge-packer-{platforms}-{templates}'
13 - 'builder-cleanup-old-images'
14 - 'builder-delete-stale-stacks'
15 # Automation for docs and jobs
16 - 'builder-update-csit-tests'
17 - 'builder-update-image-list'
26 - devstack-pre-pip-mitaka
27 - devstack-pre-pip-newton
42 templates: mininet-ovs-2.3
44 templates: mininet-ovs-2.5
45 - platforms: ubuntu-14.04
46 templates: java-builder
47 - platforms: ubuntu-14.04
49 - platforms: ubuntu-14.04
50 templates: devstack-pre-pip-mitaka
51 - platforms: ubuntu-14.04
52 templates: devstack-pre-pip-newton
53 - platforms: ubuntu-14.04
55 - platforms: ubuntu-14.04
57 - platforms: ubuntu-16.04
58 templates: java-builder
59 - platforms: ubuntu-16.04
61 - platforms: ubuntu-16.04
62 templates: devstack-pre-pip-mitaka
63 - platforms: ubuntu-16.04
64 templates: devstack-pre-pip-newton
65 - platforms: ubuntu-16.04
67 - platforms: ubuntu-16.04
69 - platforms: ubuntu-16.04
71 - platforms: ubuntu-16.04
72 templates: mininet-ovs-2.3
73 - platforms: ubuntu-16.04
75 - platforms: ubuntu-14.04
76 templates: mininet-ovs-2.5
79 project-type: freestyle
80 archive-artifacts: '**/*.log'
83 # The following values are only specified here
84 # so that code blocks look similar to other projects.
85 project: 'releng/builder'
91 name: builder-verify-jjb
92 node: centos7-java-builder-2c-4g
95 project-type: freestyle
98 - opendaylight-infra-properties:
99 build-days-to-keep: 14
102 - opendaylight-infra-parameters:
105 refspec: 'refs/heads/{branch}'
106 artifacts: '{archive-artifacts}'
109 - gerrit-trigger-scm:
110 refspec: '$GERRIT_REFSPEC'
111 choosing-strategy: 'gerrit'
114 - opendaylight-infra-wrappers:
115 build-timeout: '{build-timeout}'
118 - gerrit-trigger-patch-submitted:
119 server: '{server-name}'
125 - opendaylight-infra-jjbini
127 virtualenv $WORKSPACE/venv
128 source $WORKSPACE/venv/bin/activate
129 pip install --upgrade pip
130 pip install jenkins-job-builder
132 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
133 gzip archives/job_output/*
134 - releng-check-unicode
135 - verify-gpg-signature
138 - email-notification:
139 email-recipients: '{email-recipients}'
140 email-prefix: '[releng]'
141 - opendaylight-infra-shiplogs:
142 maven-version: 'mvn33'
145 name: 'builder-merge'
146 node: centos7-java-builder-2c-4g
148 # builder-merge job to run JJB update
150 # This job's purpose is to update all the JJB
152 project-type: freestyle
155 - opendaylight-infra-properties:
156 build-days-to-keep: 14
159 - opendaylight-infra-parameters:
162 refspec: 'refs/heads/{branch}'
163 artifacts: '{archive-artifacts}'
166 - gerrit-trigger-scm:
168 choosing-strategy: 'default'
171 - opendaylight-infra-wrappers:
172 build-timeout: '{build-timeout}'
176 server-name: '{server-name}'
178 - change-merged-event
179 - comment-added-contains-event:
180 comment-contains-value: 'remerge'
182 - project-compare-type: 'ANT'
183 project-pattern: 'releng/builder'
185 - branch-compare-type: 'ANT'
186 branch-pattern: '**/{branch}'
192 - opendaylight-infra-jjbini
194 virtualenv $WORKSPACE/venv
195 source $WORKSPACE/venv/bin/activate
196 pip install --upgrade pip
197 pip install jenkins-job-builder
199 jenkins-jobs --version
200 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
203 - email-notification:
204 email-recipients: '{email-recipients}'
205 email-prefix: '[releng]'
206 - opendaylight-infra-shiplogs:
207 maven-version: 'mvn33'
210 name: 'builder-weekly'
212 node: centos7-java-builder-2c-4g
214 # builder-weekly job to run JJB update weekly
216 # This job's purpose is to update all the JJB on a weekly (Sunday)
217 # basis with --flush-cache enabled to ensure jobs are okay
219 project-type: freestyle
222 - opendaylight-infra-properties:
223 build-days-to-keep: 14
226 - opendaylight-infra-parameters:
229 refspec: 'refs/heads/{branch}'
230 artifacts: '{archive-artifacts}'
237 - opendaylight-infra-wrappers:
238 build-timeout: '{build-timeout}'
244 - opendaylight-infra-jjbini
246 virtualenv $WORKSPACE/venv
247 source $WORKSPACE/venv/bin/activate
248 pip install --upgrade pip
249 pip install jenkins-job-builder
251 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
254 - email-notification:
255 email-recipients: '{email-recipients}'
256 email-prefix: '[releng]'
257 - opendaylight-infra-shiplogs:
258 maven-version: 'mvn33'
261 name: builder-check-poms
262 node: centos7-java-builder-2c-4g
264 project-type: freestyle
267 - opendaylight-infra-properties:
268 build-days-to-keep: 14
271 - opendaylight-infra-parameters:
274 refspec: 'refs/heads/{branch}'
275 artifacts: '{archive-artifacts}'
278 - opendaylight-infra-wrappers:
279 build-timeout: '{build-timeout}'
285 - shell: !include-raw-escape: include-raw-check-poms.sh
288 - email-notification:
289 email-recipients: '{email-recipients}'
290 email-prefix: '[releng]'
291 - opendaylight-infra-shiplogs:
292 maven-version: 'mvn33'
295 name: 'builder-delete-stale-stacks'
296 project-type: freestyle
297 node: centos7-java-builder-2c-4g
300 - opendaylight-infra-properties:
301 build-days-to-keep: 7
304 - opendaylight-infra-wrappers:
305 build-timeout: '{build-timeout}'
308 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
309 - timed: '0,30 * * * *'
312 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
315 - email-notification:
316 email-recipients: '{email-recipients}'
317 email-prefix: '[releng]'
318 - opendaylight-infra-shiplogs:
319 maven-version: 'mvn33'
322 name: 'builder-cleanup-old-images'
323 project-type: freestyle
324 node: centos7-java-builder-2c-4g
327 - opendaylight-infra-properties:
328 build-days-to-keep: 7
331 - opendaylight-infra-parameters:
334 refspec: 'refs/heads/{branch}'
335 artifacts: '{archive-artifacts}'
342 - opendaylight-infra-wrappers:
343 build-timeout: '{build-timeout}'
344 # Listed after to override openstack-infra-wrappers clouds.yaml definition
345 - config-file-provider:
347 - file-id: opendaylight-private-clouds-yaml
348 target: '$HOME/.config/openstack/clouds.yaml'
351 # Cleanup images on a weekly schedule
355 - shell: !include-raw-escape: opendaylight-infra-cleanup-old-images.sh
358 - email-notification:
359 email-recipients: '{email-recipients}'
360 email-prefix: '[releng]'
361 - opendaylight-infra-shiplogs:
362 maven-version: 'mvn33'
365 name: 'builder-update-image-list'
366 project-type: freestyle
367 node: centos7-java-builder-2c-4g
370 - opendaylight-infra-properties:
371 build-days-to-keep: 7
374 - opendaylight-infra-parameters:
377 refspec: 'refs/heads/{branch}'
378 artifacts: '{archive-artifacts}'
385 - opendaylight-infra-wrappers:
386 build-timeout: '{build-timeout}'
387 # Listed after to override openstack-infra-wrappers clouds.yaml definition
388 - config-file-provider:
390 - file-id: opendaylight-private-clouds-yaml
391 target: '$HOME/.config/openstack/clouds.yaml'
394 # Update image list every Monday to Friday at 11:00 UTC
395 - timed: '0 11 * * 1-5'
398 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
399 - opendaylight-infra-push-gerrit-patch:
401 gerrit-topic: 'releng-update-cloud-image-list'
402 gerrit-commit-message: 'Update cloud image list docs'
405 - email-notification:
406 email-recipients: '{email-recipients}'
407 email-prefix: '[releng]'
408 - opendaylight-infra-shiplogs:
409 maven-version: 'mvn33'
412 name: 'builder-verify-packer'
413 project-type: freestyle
414 node: centos7-java-builder-2c-4g
418 - opendaylight-infra-properties:
419 build-days-to-keep: 14
422 - opendaylight-infra-parameters:
425 refspec: 'refs/heads/{branch}'
426 artifacts: '{archive-artifacts}'
429 - gerrit-trigger-scm:
430 refspec: '$GERRIT_REFSPEC'
431 choosing-strategy: 'gerrit'
434 - opendaylight-infra-wrappers:
435 build-timeout: '{build-timeout}'
438 - gerrit-trigger-patch-submitted:
439 server: '{server-name}'
448 - email-notification:
449 email-recipients: '{email-recipients}'
450 email-prefix: '[{project}]'
451 - opendaylight-infra-shiplogs:
452 maven-version: 'mvn33'
455 name: 'builder-merge-packer-{platforms}-{templates}'
456 project-type: freestyle
457 node: centos7-java-builder-2c-4g
460 - opendaylight-infra-properties:
461 build-days-to-keep: 14
464 - opendaylight-infra-parameters:
467 refspec: 'refs/heads/{branch}'
468 artifacts: '{archive-artifacts}'
471 - gerrit-trigger-scm:
472 refspec: '$GERRIT_REFSPEC'
475 choosing-strategy: 'default'
478 - opendaylight-infra-wrappers:
479 build-timeout: '{build-timeout}'
482 - timed: '00 10 1 * *'
484 server-name: '{server-name}'
486 - change-merged-event
487 - comment-added-contains-event:
488 comment-contains-value: 'remerge'
490 - project-compare-type: 'ANT'
491 project-pattern: 'releng/builder'
493 - branch-compare-type: 'ANT'
494 branch-pattern: '**/{branch}'
497 pattern: 'packer/vars/{platforms}.json'
499 pattern: 'packer/templates/{templates}.json'
501 pattern: 'packer/provision/{templates}.sh'
503 pattern: 'packer/provision/system_reseal.sh'
505 pattern: 'packer/provision/rh-user_data.sh'
507 pattern: 'packer/provision/devstack-pre-pip.sh'
509 pattern: 'packer/provision/baseline.sh'
514 platform: '{platforms}'
515 template: '{templates}'
518 - email-notification:
519 email-recipients: '{email-recipients}'
520 email-prefix: '[{project}]'
521 - opendaylight-infra-shiplogs:
522 maven-version: 'mvn33'
525 name: 'builder-update-csit-tests'
526 node: centos7-java-builder-2c-8g
528 # builder-update-csit-tests job
530 # This job's purpose is to update csit
531 # tests to run in integration-distribution-test-{stream}
532 # by updating releng-defaults variables: csit-list-carbon,
533 # csit-list-boron, csit-list-beryllium
535 project-type: freestyle
538 - opendaylight-infra-properties:
539 build-days-to-keep: 14
542 - opendaylight-infra-parameters:
545 refspec: 'refs/heads/{branch}'
546 artifacts: '{archive-artifacts}'
549 - gerrit-trigger-scm:
551 choosing-strategy: 'default'
554 - opendaylight-infra-wrappers:
555 build-timeout: '{build-timeout}'
559 jobs: 'builder-merge'
563 git checkout -b auto-update-csit-jobs
564 - integration-list-jobs:
565 blacklist: '{csit-list-blacklist}'
566 search_string: "csit"
568 jobs-filename: "csit_jobs_carbon.lst"
569 - integration-list-jobs:
570 blacklist: '{csit-list-blacklist}'
571 search_string: "csit"
573 jobs-filename: "csit_jobs_boron.lst"
574 - integration-list-jobs:
575 blacklist: '{csit-list-blacklist}'
576 search_string: "csit"
578 jobs-filename: "csit_jobs_beryllium.lst"
579 - integration-replace-block-text:
580 starting-regex: "'csit-list-carbon: >'"
581 ending-regex: "'csit-weekly-list-carbon: >'"
582 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
583 file-to-change: "'jjb/releng-defaults.yaml'"
584 - integration-replace-block-text:
585 starting-regex: "'csit-list-boron: >'"
586 ending-regex: "'csit-list-beryllium: >'"
587 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
588 file-to-change: "'jjb/releng-defaults.yaml'"
589 - integration-replace-block-text:
590 starting-regex: "'csit-list-beryllium: >'"
591 ending-regex: "'# CSIT TESTS END SED MARKER'"
592 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
593 file-to-change: "'jjb/releng-defaults.yaml'"
596 git add jjb/releng-defaults.yaml
597 - opendaylight-infra-push-gerrit-patch:
598 project: "releng/builder"
599 gerrit-topic: "auto-update-csit-jobs"
600 gerrit-commit-message: "Auto Update CSIT Jobs to run"
603 - email-notification:
604 email-recipients: '{email-recipients}'
605 email-prefix: '[releng]'
606 - opendaylight-infra-shiplogs:
607 maven-version: 'mvn33'