5 - 'builder-verify-python'
9 - 'builder-verify-packer'
10 - 'builder-merge-packer-{platforms}-{templates}'
11 - 'builder-delete-stale-stacks'
12 - 'builder-update-csit-tests'
20 - devstack-pre-pip-mitaka
21 - devstack-pre-pip-newton
36 templates: mininet-ovs-2.3
38 templates: mininet-ovs-2.5
39 - platforms: ubuntu-14.04
40 templates: java-builder
41 - platforms: ubuntu-14.04
43 - platforms: ubuntu-14.04
44 templates: devstack-pre-pip-mitaka
45 - platforms: ubuntu-14.04
46 templates: devstack-pre-pip-newton
48 project-type: freestyle
49 archive-artifacts: '**/*.log'
51 # The following two values are only specified here
52 # so that code blocks look similar to other projects.
53 project: 'releng/builder'
57 name: builder-verify-jjb
60 project-type: freestyle
63 - opendaylight-infra-properties:
64 build-days-to-keep: 14
67 - opendaylight-infra-parameters:
70 refspec: 'refs/heads/{branch}'
71 artifacts: '{archive-artifacts}'
75 refspec: '$GERRIT_REFSPEC'
76 choosing-strategy: 'gerrit'
79 - opendaylight-infra-wrappers:
80 build-timeout: '{build-timeout}'
83 - gerrit-trigger-patch-submitted:
84 server: '{server-name}'
92 jenkins-jobs -l DEBUG test --recursive -o archives/job_output jjb/
93 gzip archives/job_output/*
95 - releng-check-unicode
96 - verify-gpg-signature
100 email-recipients: '{email-recipients}'
101 email-prefix: '[releng]'
102 - opendaylight-infra-shiplogs:
103 maven-version: 'mvn33'
105 # FIXME: Migrate to {project-name}-verify-python-{stream} or delete this entirely,
106 # as there are zero python files (aside docs/conf.py) in releng/builder.
108 name: builder-verify-python
109 node: centos7-java-builder-2c-4g
111 project-type: freestyle
114 - opendaylight-infra-properties:
115 build-days-to-keep: 14
118 - opendaylight-infra-parameters:
121 refspec: 'refs/heads/{branch}'
122 artifacts: '{archive-artifacts}'
125 - gerrit-trigger-scm:
126 refspec: '$GERRIT_REFSPEC'
127 choosing-strategy: 'gerrit'
130 - opendaylight-infra-wrappers:
131 build-timeout: '{build-timeout}'
134 - gerrit-trigger-patch-submitted:
135 server: '{server-name}'
141 - verify-gpg-signature
143 virtualenv $WORKSPACE/venv
144 source $WORKSPACE/venv/bin/activate
145 pip install --upgrade pip
151 - email-notification:
152 email-recipients: '{email-recipients}'
153 email-prefix: '[releng]'
154 - opendaylight-infra-shiplogs:
155 maven-version: 'mvn33'
158 name: 'builder-merge'
161 # builder-merge job to run JJB update
163 # This job's purpose is to update all the JJB
165 project-type: freestyle
168 - opendaylight-infra-properties:
169 build-days-to-keep: 14
172 - opendaylight-infra-parameters:
175 refspec: 'refs/heads/{branch}'
176 artifacts: '{archive-artifacts}'
179 - gerrit-trigger-scm:
181 choosing-strategy: 'default'
184 - opendaylight-infra-wrappers:
185 build-timeout: '{build-timeout}'
189 server-name: '{server-name}'
191 - change-merged-event
192 - comment-added-contains-event:
193 comment-contains-value: 'remerge'
195 - project-compare-type: 'ANT'
196 project-pattern: 'releng/builder'
198 - branch-compare-type: 'ANT'
199 branch-pattern: '**/{branch}'
207 jenkins-jobs --version
208 jenkins-jobs update --recursive --delete-old --workers 4 jjb/
211 - email-notification:
212 email-recipients: '{email-recipients}'
213 email-prefix: '[releng]'
214 - opendaylight-infra-shiplogs:
215 maven-version: 'mvn33'
218 name: 'builder-weekly'
222 # builder-weekly job to run JJB update weekly
224 # This job's purpose is to update all the JJB on a weekly (Sunday)
225 # basis with --flush-cache enabled to ensure jobs are okay
227 project-type: freestyle
230 - opendaylight-infra-properties:
231 build-days-to-keep: 14
234 - opendaylight-infra-parameters:
237 refspec: 'refs/heads/{branch}'
238 artifacts: '{archive-artifacts}'
245 - opendaylight-infra-wrappers:
246 build-timeout: '{build-timeout}'
253 jenkins-jobs --flush-cache update --recursive --workers 4 jjb/
256 - email-notification:
257 email-recipients: '{email-recipients}'
258 email-prefix: '[releng]'
259 - opendaylight-infra-shiplogs:
260 maven-version: 'mvn33'
263 name: builder-check-poms
264 node: centos7-java-builder-2c-4g
266 project-type: freestyle
269 - opendaylight-infra-properties:
270 build-days-to-keep: 14
273 - opendaylight-infra-parameters:
276 refspec: 'refs/heads/{branch}'
277 artifacts: '{archive-artifacts}'
280 - opendaylight-infra-wrappers:
281 build-timeout: '{build-timeout}'
289 - include-raw-check-poms.sh
292 - email-notification:
293 email-recipients: '{email-recipients}'
294 email-prefix: '[releng]'
295 - opendaylight-infra-shiplogs:
296 maven-version: 'mvn33'
299 name: 'builder-delete-stale-stacks'
300 project-type: freestyle
301 node: centos7-java-builder-2c-4g
304 - opendaylight-infra-properties:
305 build-days-to-keep: 7
308 - opendaylight-infra-wrappers:
309 build-timeout: '{build-timeout}'
312 - timed: 'H H/6 * * *'
315 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
318 - email-notification:
319 email-recipients: '{email-recipients}'
320 email-prefix: '[releng]'
321 - opendaylight-infra-shiplogs:
322 maven-version: 'mvn33'
325 name: 'builder-verify-packer'
326 project-type: freestyle
327 node: centos7-java-builder-2c-4g
331 - opendaylight-infra-properties:
332 build-days-to-keep: 14
335 - opendaylight-infra-parameters:
338 refspec: 'refs/heads/{branch}'
339 artifacts: '{archive-artifacts}'
342 - gerrit-trigger-scm:
343 refspec: '$GERRIT_REFSPEC'
344 choosing-strategy: 'gerrit'
347 - opendaylight-infra-wrappers:
348 build-timeout: '{build-timeout}'
351 - gerrit-trigger-patch-submitted:
352 server: '{server-name}'
361 - email-notification:
362 email-recipients: '{email-recipients}'
363 email-prefix: '[{project}]'
364 - opendaylight-infra-shiplogs:
365 maven-version: 'mvn33'
368 name: 'builder-merge-packer-{platforms}-{templates}'
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:
387 choosing-strategy: 'default'
390 - opendaylight-infra-wrappers:
391 build-timeout: '{build-timeout}'
394 - timed: '00 10 1 * *'
396 server-name: '{server-name}'
398 - change-merged-event
399 - comment-added-contains-event:
400 comment-contains-value: 'remerge'
402 - project-compare-type: 'ANT'
403 project-pattern: 'releng/builder'
405 - branch-compare-type: 'ANT'
406 branch-pattern: '**/{branch}'
414 platform: '{platforms}'
415 template: '{templates}'
418 - email-notification:
419 email-recipients: '{email-recipients}'
420 email-prefix: '[{project}]'
421 - opendaylight-infra-shiplogs:
422 maven-version: 'mvn33'
425 name: 'builder-update-csit-tests'
426 node: centos7-java-builder-2c-8g
428 # builder-update-csit-tests job
430 # This job's purpose is to update csit
431 # tests to run in integration-distribution-test-{stream}
432 # by updating releng-defaults variables: csit-list-carbon,
433 # csit-list-boron, csit-list-beryllium
435 project-type: freestyle
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:
451 choosing-strategy: 'default'
454 - opendaylight-infra-wrappers:
455 build-timeout: '{build-timeout}'
459 jobs: 'builder-merge'
463 git checkout -b auto-update-csit-jobs
464 - integration-list-jobs:
465 blacklist: '{csit-list-blacklist}'
466 search_string: "csit"
468 jobs-filename: "csit_jobs_carbon.lst"
469 - integration-list-jobs:
470 blacklist: '{csit-list-blacklist}'
471 search_string: "csit"
473 jobs-filename: "csit_jobs_boron.lst"
474 - integration-list-jobs:
475 blacklist: '{csit-list-blacklist}'
476 search_string: "csit"
478 jobs-filename: "csit_jobs_beryllium.lst"
479 - integration-replace-block-text:
480 starting-regex: "'csit-list-carbon: >'"
481 ending-regex: "'csit-list-boron: >'"
482 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
483 file-to-change: "'jjb/releng-defaults.yaml'"
484 - integration-replace-block-text:
485 starting-regex: "'csit-list-boron: >'"
486 ending-regex: "'csit-list-beryllium: >'"
487 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
488 file-to-change: "'jjb/releng-defaults.yaml'"
489 - integration-replace-block-text:
490 starting-regex: "'csit-list-beryllium: >'"
491 ending-regex: "'# CSIT TESTS END SED MARKER'"
492 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
493 file-to-change: "'jjb/releng-defaults.yaml'"
496 git add jjb/releng-defaults.yaml
497 - opendaylight-infra-push-gerrit-patch:
498 project: "releng/builder"
499 gerrit-topic: "auto-update-csit-jobs"
500 gerrit-commit-message: "Auto Update CSIT Jobs to run"
503 - email-notification:
504 email-recipients: '{email-recipients}'
505 email-prefix: '[releng]'
506 - opendaylight-infra-shiplogs:
507 maven-version: 'mvn33'