6 - '{project-name}-verify-tox-{stream}'
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'
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
56 - platforms: ubuntu-16.04
57 templates: java-builder
58 - platforms: ubuntu-16.04
60 - platforms: ubuntu-16.04
61 templates: devstack-pre-pip-mitaka
62 - platforms: ubuntu-16.04
63 templates: devstack-pre-pip-newton
64 - platforms: ubuntu-16.04
66 - platforms: ubuntu-16.04
68 - platforms: ubuntu-16.04
70 - platforms: ubuntu-16.04
71 templates: mininet-ovs-2.3
72 - platforms: ubuntu-16.04
74 - platforms: ubuntu-14.04
75 templates: mininet-ovs-2.5
78 project-type: freestyle
79 archive-artifacts: '**/*.log'
82 # The following values are only specified here
83 # so that code blocks look similar to other projects.
84 project: 'releng/builder'
90 name: builder-verify-jjb
91 node: centos7-java-builder-2c-4g
94 project-type: freestyle
97 - opendaylight-infra-properties:
98 build-days-to-keep: 14
101 - opendaylight-infra-parameters:
104 refspec: 'refs/heads/{branch}'
105 artifacts: '{archive-artifacts}'
108 - gerrit-trigger-scm:
109 refspec: '$GERRIT_REFSPEC'
110 choosing-strategy: 'gerrit'
113 - opendaylight-infra-wrappers:
114 build-timeout: '{build-timeout}'
117 - gerrit-trigger-patch-submitted:
118 server: '{server-name}'
124 - opendaylight-infra-jjbini
126 virtualenv $WORKSPACE/venv
127 source $WORKSPACE/venv/bin/activate
128 pip install --upgrade pip
130 pip install jenkins-job-builder
131 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
132 gzip archives/job_output/*
133 - releng-check-unicode
134 - verify-gpg-signature
137 - email-notification:
138 email-recipients: '{email-recipients}'
139 email-prefix: '[releng]'
140 - opendaylight-infra-shiplogs:
141 maven-version: 'mvn33'
144 name: 'builder-merge'
145 node: centos7-java-builder-2c-4g
147 # builder-merge job to run JJB update
149 # This job's purpose is to update all the JJB
151 project-type: freestyle
154 - opendaylight-infra-properties:
155 build-days-to-keep: 14
158 - opendaylight-infra-parameters:
161 refspec: 'refs/heads/{branch}'
162 artifacts: '{archive-artifacts}'
165 - gerrit-trigger-scm:
167 choosing-strategy: 'default'
170 - opendaylight-infra-wrappers:
171 build-timeout: '{build-timeout}'
175 server-name: '{server-name}'
177 - change-merged-event
178 - comment-added-contains-event:
179 comment-contains-value: 'remerge'
181 - project-compare-type: 'ANT'
182 project-pattern: 'releng/builder'
184 - branch-compare-type: 'ANT'
185 branch-pattern: '**/{branch}'
191 - opendaylight-infra-jjbini
193 virtualenv $WORKSPACE/venv
194 source $WORKSPACE/venv/bin/activate
195 pip install --upgrade pip
197 pip install jenkins-job-builder
198 jenkins-jobs --version
199 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
202 - email-notification:
203 email-recipients: '{email-recipients}'
204 email-prefix: '[releng]'
205 - opendaylight-infra-shiplogs:
206 maven-version: 'mvn33'
209 name: 'builder-weekly'
211 node: centos7-java-builder-2c-4g
213 # builder-weekly job to run JJB update weekly
215 # This job's purpose is to update all the JJB on a weekly (Sunday)
216 # basis with --flush-cache enabled to ensure jobs are okay
218 project-type: freestyle
221 - opendaylight-infra-properties:
222 build-days-to-keep: 14
225 - opendaylight-infra-parameters:
228 refspec: 'refs/heads/{branch}'
229 artifacts: '{archive-artifacts}'
236 - opendaylight-infra-wrappers:
237 build-timeout: '{build-timeout}'
243 - opendaylight-infra-jjbini
245 virtualenv $WORKSPACE/venv
246 source $WORKSPACE/venv/bin/activate
247 pip install --upgrade pip
249 pip install jenkins-job-builder
250 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
253 - email-notification:
254 email-recipients: '{email-recipients}'
255 email-prefix: '[releng]'
256 - opendaylight-infra-shiplogs:
257 maven-version: 'mvn33'
260 name: builder-check-poms
261 node: centos7-java-builder-2c-4g
263 project-type: freestyle
266 - opendaylight-infra-properties:
267 build-days-to-keep: 14
270 - opendaylight-infra-parameters:
273 refspec: 'refs/heads/{branch}'
274 artifacts: '{archive-artifacts}'
277 - opendaylight-infra-wrappers:
278 build-timeout: '{build-timeout}'
284 - shell: !include-raw-escape: include-raw-check-poms.sh
287 - email-notification:
288 email-recipients: '{email-recipients}'
289 email-prefix: '[releng]'
290 - opendaylight-infra-shiplogs:
291 maven-version: 'mvn33'
294 name: 'builder-delete-stale-stacks'
295 project-type: freestyle
296 node: centos7-java-builder-2c-4g
299 - opendaylight-infra-properties:
300 build-days-to-keep: 7
303 - opendaylight-infra-wrappers:
304 build-timeout: '{build-timeout}'
307 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
308 - timed: '0,30 * * * *'
311 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
314 - email-notification:
315 email-recipients: '{email-recipients}'
316 email-prefix: '[releng]'
317 - opendaylight-infra-shiplogs:
318 maven-version: 'mvn33'
321 name: 'builder-update-image-list'
322 project-type: freestyle
323 node: centos7-java-builder-2c-4g
326 - opendaylight-infra-properties:
327 build-days-to-keep: 7
330 - opendaylight-infra-parameters:
333 refspec: 'refs/heads/{branch}'
334 artifacts: '{archive-artifacts}'
341 - opendaylight-infra-wrappers:
342 build-timeout: '{build-timeout}'
343 # Listed after to override openstack-infra-wrappers clouds.yaml definition
344 - config-file-provider:
346 - file-id: opendaylight-private-clouds-yaml
347 target: '$HOME/.config/openstack/clouds.yaml'
350 # Update image list every Monday to Friday at 11:00 UTC
351 - timed: '0 11 * * 1-5'
354 - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
355 - opendaylight-infra-push-gerrit-patch:
357 gerrit-topic: 'releng-update-cloud-image-list'
358 gerrit-commit-message: 'Update cloud image list docs'
361 - email-notification:
362 email-recipients: '{email-recipients}'
363 email-prefix: '[releng]'
364 - opendaylight-infra-shiplogs:
365 maven-version: 'mvn33'
368 name: 'builder-verify-packer'
369 project-type: freestyle
370 node: centos7-java-builder-2c-4g
374 - opendaylight-infra-properties:
375 build-days-to-keep: 14
378 - opendaylight-infra-parameters:
381 refspec: 'refs/heads/{branch}'
382 artifacts: '{archive-artifacts}'
385 - gerrit-trigger-scm:
386 refspec: '$GERRIT_REFSPEC'
387 choosing-strategy: 'gerrit'
390 - opendaylight-infra-wrappers:
391 build-timeout: '{build-timeout}'
394 - gerrit-trigger-patch-submitted:
395 server: '{server-name}'
404 - email-notification:
405 email-recipients: '{email-recipients}'
406 email-prefix: '[{project}]'
407 - opendaylight-infra-shiplogs:
408 maven-version: 'mvn33'
411 name: 'builder-merge-packer-{platforms}-{templates}'
412 project-type: freestyle
413 node: centos7-java-builder-2c-4g
416 - opendaylight-infra-properties:
417 build-days-to-keep: 14
420 - opendaylight-infra-parameters:
423 refspec: 'refs/heads/{branch}'
424 artifacts: '{archive-artifacts}'
427 - gerrit-trigger-scm:
428 refspec: '$GERRIT_REFSPEC'
431 choosing-strategy: 'default'
434 - opendaylight-infra-wrappers:
435 build-timeout: '{build-timeout}'
438 - timed: '00 10 1 * *'
440 server-name: '{server-name}'
442 - change-merged-event
443 - comment-added-contains-event:
444 comment-contains-value: 'remerge'
446 - project-compare-type: 'ANT'
447 project-pattern: 'releng/builder'
449 - branch-compare-type: 'ANT'
450 branch-pattern: '**/{branch}'
453 pattern: 'packer/vars/{platforms}.json'
455 pattern: 'packer/templates/{templates}.json'
457 pattern: 'packer/provision/{templates}.sh'
459 pattern: 'packer/provision/system_reseal.sh'
461 pattern: 'packer/provision/rh-user_data.sh'
463 pattern: 'packer/provision/devstack-pre-pip.sh'
465 pattern: 'packer/provision/baseline.sh'
470 platform: '{platforms}'
471 template: '{templates}'
474 - email-notification:
475 email-recipients: '{email-recipients}'
476 email-prefix: '[{project}]'
477 - opendaylight-infra-shiplogs:
478 maven-version: 'mvn33'
481 name: 'builder-update-csit-tests'
482 node: centos7-java-builder-2c-8g
484 # builder-update-csit-tests job
486 # This job's purpose is to update csit
487 # tests to run in integration-distribution-test-{stream}
488 # by updating releng-defaults variables: csit-list-carbon,
489 # csit-list-boron, csit-list-beryllium
491 project-type: freestyle
494 - opendaylight-infra-properties:
495 build-days-to-keep: 14
498 - opendaylight-infra-parameters:
501 refspec: 'refs/heads/{branch}'
502 artifacts: '{archive-artifacts}'
505 - gerrit-trigger-scm:
507 choosing-strategy: 'default'
510 - opendaylight-infra-wrappers:
511 build-timeout: '{build-timeout}'
515 jobs: 'builder-merge'
519 git checkout -b auto-update-csit-jobs
520 - integration-list-jobs:
521 blacklist: '{csit-list-blacklist}'
522 search_string: "csit"
524 jobs-filename: "csit_jobs_carbon.lst"
525 - integration-list-jobs:
526 blacklist: '{csit-list-blacklist}'
527 search_string: "csit"
529 jobs-filename: "csit_jobs_boron.lst"
530 - integration-list-jobs:
531 blacklist: '{csit-list-blacklist}'
532 search_string: "csit"
534 jobs-filename: "csit_jobs_beryllium.lst"
535 - integration-replace-block-text:
536 starting-regex: "'csit-list-carbon: >'"
537 ending-regex: "'csit-weekly-list-carbon: >'"
538 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
539 file-to-change: "'jjb/releng-defaults.yaml'"
540 - integration-replace-block-text:
541 starting-regex: "'csit-list-boron: >'"
542 ending-regex: "'csit-list-beryllium: >'"
543 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
544 file-to-change: "'jjb/releng-defaults.yaml'"
545 - integration-replace-block-text:
546 starting-regex: "'csit-list-beryllium: >'"
547 ending-regex: "'# CSIT TESTS END SED MARKER'"
548 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
549 file-to-change: "'jjb/releng-defaults.yaml'"
552 git add jjb/releng-defaults.yaml
553 - opendaylight-infra-push-gerrit-patch:
554 project: "releng/builder"
555 gerrit-topic: "auto-update-csit-jobs"
556 gerrit-commit-message: "Auto Update CSIT Jobs to run"
559 - email-notification:
560 email-recipients: '{email-recipients}'
561 email-prefix: '[releng]'
562 - opendaylight-infra-shiplogs:
563 maven-version: 'mvn33'