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'
25 - devstack-pre-pip-mitaka
26 - devstack-pre-pip-newton
41 templates: mininet-ovs-2.3
43 templates: mininet-ovs-2.5
44 - platforms: ubuntu-14.04
45 templates: java-builder
46 - platforms: ubuntu-14.04
48 - platforms: ubuntu-14.04
49 templates: devstack-pre-pip-mitaka
50 - platforms: ubuntu-14.04
51 templates: devstack-pre-pip-newton
52 - platforms: ubuntu-14.04
54 - platforms: ubuntu-14.04
57 project-type: freestyle
58 archive-artifacts: '**/*.log'
61 # The following values are only specified here
62 # so that code blocks look similar to other projects.
63 project: 'releng/builder'
69 name: builder-verify-jjb
70 node: centos7-java-builder-2c-4g
73 project-type: freestyle
76 - opendaylight-infra-properties:
77 build-days-to-keep: 14
80 - opendaylight-infra-parameters:
83 refspec: 'refs/heads/{branch}'
84 artifacts: '{archive-artifacts}'
88 refspec: '$GERRIT_REFSPEC'
89 choosing-strategy: 'gerrit'
92 - opendaylight-infra-wrappers:
93 build-timeout: '{build-timeout}'
96 - gerrit-trigger-patch-submitted:
97 server: '{server-name}'
103 - opendaylight-infra-jjbini
105 virtualenv $WORKSPACE/venv
106 source $WORKSPACE/venv/bin/activate
107 pip install --upgrade pip
109 pip install jenkins-job-builder
110 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
111 gzip archives/job_output/*
112 - releng-check-unicode
113 - verify-gpg-signature
116 - email-notification:
117 email-recipients: '{email-recipients}'
118 email-prefix: '[releng]'
119 - opendaylight-infra-shiplogs:
120 maven-version: 'mvn33'
123 name: 'builder-merge'
124 node: centos7-java-builder-2c-4g
126 # builder-merge job to run JJB update
128 # This job's purpose is to update all the JJB
130 project-type: freestyle
133 - opendaylight-infra-properties:
134 build-days-to-keep: 14
137 - opendaylight-infra-parameters:
140 refspec: 'refs/heads/{branch}'
141 artifacts: '{archive-artifacts}'
144 - gerrit-trigger-scm:
146 choosing-strategy: 'default'
149 - opendaylight-infra-wrappers:
150 build-timeout: '{build-timeout}'
154 server-name: '{server-name}'
156 - change-merged-event
157 - comment-added-contains-event:
158 comment-contains-value: 'remerge'
160 - project-compare-type: 'ANT'
161 project-pattern: 'releng/builder'
163 - branch-compare-type: 'ANT'
164 branch-pattern: '**/{branch}'
170 - opendaylight-infra-jjbini
172 virtualenv $WORKSPACE/venv
173 source $WORKSPACE/venv/bin/activate
174 pip install --upgrade pip
176 pip install jenkins-job-builder
177 jenkins-jobs --version
178 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
181 - email-notification:
182 email-recipients: '{email-recipients}'
183 email-prefix: '[releng]'
184 - opendaylight-infra-shiplogs:
185 maven-version: 'mvn33'
188 name: 'builder-weekly'
190 node: centos7-java-builder-2c-4g
192 # builder-weekly job to run JJB update weekly
194 # This job's purpose is to update all the JJB on a weekly (Sunday)
195 # basis with --flush-cache enabled to ensure jobs are okay
197 project-type: freestyle
200 - opendaylight-infra-properties:
201 build-days-to-keep: 14
204 - opendaylight-infra-parameters:
207 refspec: 'refs/heads/{branch}'
208 artifacts: '{archive-artifacts}'
215 - opendaylight-infra-wrappers:
216 build-timeout: '{build-timeout}'
222 - opendaylight-infra-jjbini
224 virtualenv $WORKSPACE/venv
225 source $WORKSPACE/venv/bin/activate
226 pip install --upgrade pip
228 pip install jenkins-job-builder
229 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
232 - email-notification:
233 email-recipients: '{email-recipients}'
234 email-prefix: '[releng]'
235 - opendaylight-infra-shiplogs:
236 maven-version: 'mvn33'
239 name: builder-check-poms
240 node: centos7-java-builder-2c-4g
242 project-type: freestyle
245 - opendaylight-infra-properties:
246 build-days-to-keep: 14
249 - opendaylight-infra-parameters:
252 refspec: 'refs/heads/{branch}'
253 artifacts: '{archive-artifacts}'
256 - opendaylight-infra-wrappers:
257 build-timeout: '{build-timeout}'
263 - shell: !include-raw-escape: include-raw-check-poms.sh
266 - email-notification:
267 email-recipients: '{email-recipients}'
268 email-prefix: '[releng]'
269 - opendaylight-infra-shiplogs:
270 maven-version: 'mvn33'
273 name: 'builder-delete-stale-stacks'
274 project-type: freestyle
275 node: centos7-java-builder-2c-4g
278 - opendaylight-infra-properties:
279 build-days-to-keep: 7
282 - opendaylight-infra-wrappers:
283 build-timeout: '{build-timeout}'
286 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
287 - timed: '0,30 * * * *'
290 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
293 - email-notification:
294 email-recipients: '{email-recipients}'
295 email-prefix: '[releng]'
296 - opendaylight-infra-shiplogs:
297 maven-version: 'mvn33'
300 name: 'builder-cleanup-old-images'
301 project-type: freestyle
302 node: centos7-java-builder-2c-4g
305 - opendaylight-infra-properties:
306 build-days-to-keep: 7
309 - opendaylight-infra-parameters:
312 refspec: 'refs/heads/{branch}'
313 artifacts: '{archive-artifacts}'
320 - opendaylight-infra-wrappers:
321 build-timeout: '{build-timeout}'
322 # Listed after to override openstack-infra-wrappers clouds.yaml definition
323 - config-file-provider:
325 - file-id: opendaylight-private-clouds-yaml
326 target: '$HOME/.config/openstack/clouds.yaml'
329 # Cleanup images on a weekly schedule
333 - shell: !include-raw-escape: opendaylight-infra-cleanup-old-images.sh
336 - email-notification:
337 email-recipients: '{email-recipients}'
338 email-prefix: '[releng]'
339 - opendaylight-infra-shiplogs:
340 maven-version: 'mvn33'
343 name: 'builder-update-image-list'
344 project-type: freestyle
345 node: centos7-java-builder-2c-4g
348 - opendaylight-infra-properties:
349 build-days-to-keep: 7
352 - opendaylight-infra-parameters:
355 refspec: 'refs/heads/{branch}'
356 artifacts: '{archive-artifacts}'
363 - opendaylight-infra-wrappers:
364 build-timeout: '{build-timeout}'
365 # Listed after to override openstack-infra-wrappers clouds.yaml definition
366 - config-file-provider:
368 - file-id: opendaylight-private-clouds-yaml
369 target: '$HOME/.config/openstack/clouds.yaml'
372 # Update image list every Monday to Friday at 11:00 UTC
373 - timed: '0 11 * * 1-5'
376 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
377 - opendaylight-infra-push-gerrit-patch:
379 gerrit-topic: 'releng-update-cloud-image-list'
380 gerrit-commit-message: 'Update cloud image list docs'
383 - email-notification:
384 email-recipients: '{email-recipients}'
385 email-prefix: '[releng]'
386 - opendaylight-infra-shiplogs:
387 maven-version: 'mvn33'
390 name: 'builder-verify-packer'
391 project-type: freestyle
392 node: centos7-java-builder-2c-4g
396 - opendaylight-infra-properties:
397 build-days-to-keep: 14
400 - opendaylight-infra-parameters:
403 refspec: 'refs/heads/{branch}'
404 artifacts: '{archive-artifacts}'
407 - gerrit-trigger-scm:
408 refspec: '$GERRIT_REFSPEC'
409 choosing-strategy: 'gerrit'
412 - opendaylight-infra-wrappers:
413 build-timeout: '{build-timeout}'
416 - gerrit-trigger-patch-submitted:
417 server: '{server-name}'
426 - email-notification:
427 email-recipients: '{email-recipients}'
428 email-prefix: '[{project}]'
429 - opendaylight-infra-shiplogs:
430 maven-version: 'mvn33'
433 name: 'builder-merge-packer-{platforms}-{templates}'
434 project-type: freestyle
435 node: centos7-java-builder-2c-4g
438 - opendaylight-infra-properties:
439 build-days-to-keep: 14
442 - opendaylight-infra-parameters:
445 refspec: 'refs/heads/{branch}'
446 artifacts: '{archive-artifacts}'
449 - gerrit-trigger-scm:
450 refspec: '$GERRIT_REFSPEC'
453 choosing-strategy: 'default'
456 - opendaylight-infra-wrappers:
457 build-timeout: '{build-timeout}'
460 - timed: '00 10 1 * *'
462 server-name: '{server-name}'
464 - change-merged-event
465 - comment-added-contains-event:
466 comment-contains-value: 'remerge'
468 - project-compare-type: 'ANT'
469 project-pattern: 'releng/builder'
471 - branch-compare-type: 'ANT'
472 branch-pattern: '**/{branch}'
475 pattern: 'packer/vars/{platforms}.json'
477 pattern: 'packer/templates/{templates}.json'
479 pattern: 'packer/provision/{templates}.sh'
481 pattern: 'packer/provision/system_reseal.sh'
483 pattern: 'packer/provision/rh-user_data.sh'
485 pattern: 'packer/provision/devstack-pre-pip.sh'
487 pattern: 'packer/provision/baseline.sh'
492 platform: '{platforms}'
493 template: '{templates}'
496 - email-notification:
497 email-recipients: '{email-recipients}'
498 email-prefix: '[{project}]'
499 - opendaylight-infra-shiplogs:
500 maven-version: 'mvn33'
503 name: 'builder-update-csit-tests'
504 node: centos7-java-builder-2c-8g
506 # builder-update-csit-tests job
508 # This job's purpose is to update csit
509 # tests to run in integration-distribution-test-{stream}
510 # by updating releng-defaults variables: csit-list-carbon,
511 # csit-list-boron, csit-list-beryllium
513 project-type: freestyle
516 - opendaylight-infra-properties:
517 build-days-to-keep: 14
520 - opendaylight-infra-parameters:
523 refspec: 'refs/heads/{branch}'
524 artifacts: '{archive-artifacts}'
527 - gerrit-trigger-scm:
529 choosing-strategy: 'default'
532 - opendaylight-infra-wrappers:
533 build-timeout: '{build-timeout}'
537 jobs: 'builder-merge'
541 git checkout -b auto-update-csit-jobs
542 - integration-list-jobs:
543 blacklist: '{csit-list-blacklist}'
544 search_string: "csit"
546 jobs-filename: "csit_jobs_carbon.lst"
547 - integration-list-jobs:
548 blacklist: '{csit-list-blacklist}'
549 search_string: "csit"
551 jobs-filename: "csit_jobs_boron.lst"
552 - integration-list-jobs:
553 blacklist: '{csit-list-blacklist}'
554 search_string: "csit"
556 jobs-filename: "csit_jobs_beryllium.lst"
557 - integration-replace-block-text:
558 starting-regex: "'csit-list-carbon: >'"
559 ending-regex: "'csit-weekly-list-carbon: >'"
560 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
561 file-to-change: "'jjb/releng-defaults.yaml'"
562 - integration-replace-block-text:
563 starting-regex: "'csit-list-boron: >'"
564 ending-regex: "'csit-list-beryllium: >'"
565 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
566 file-to-change: "'jjb/releng-defaults.yaml'"
567 - integration-replace-block-text:
568 starting-regex: "'csit-list-beryllium: >'"
569 ending-regex: "'# CSIT TESTS END SED MARKER'"
570 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
571 file-to-change: "'jjb/releng-defaults.yaml'"
574 git add jjb/releng-defaults.yaml
575 - opendaylight-infra-push-gerrit-patch:
576 project: "releng/builder"
577 gerrit-topic: "auto-update-csit-jobs"
578 gerrit-commit-message: "Auto Update CSIT Jobs to run"
581 - email-notification:
582 email-recipients: '{email-recipients}'
583 email-prefix: '[releng]'
584 - opendaylight-infra-shiplogs:
585 maven-version: 'mvn33'