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 # Attempt to clear up stacks every 30 mins in case we have orphaned stacks
313 - timed: '0,30 * * * *'
316 - shell: !include-raw-escape: opendaylight-infra-cleanup-stale-stacks.sh
319 - email-notification:
320 email-recipients: '{email-recipients}'
321 email-prefix: '[releng]'
322 - opendaylight-infra-shiplogs:
323 maven-version: 'mvn33'
326 name: 'builder-verify-packer'
327 project-type: freestyle
328 node: centos7-java-builder-2c-4g
332 - opendaylight-infra-properties:
333 build-days-to-keep: 14
336 - opendaylight-infra-parameters:
339 refspec: 'refs/heads/{branch}'
340 artifacts: '{archive-artifacts}'
343 - gerrit-trigger-scm:
344 refspec: '$GERRIT_REFSPEC'
345 choosing-strategy: 'gerrit'
348 - opendaylight-infra-wrappers:
349 build-timeout: '{build-timeout}'
352 - gerrit-trigger-patch-submitted:
353 server: '{server-name}'
362 - email-notification:
363 email-recipients: '{email-recipients}'
364 email-prefix: '[{project}]'
365 - opendaylight-infra-shiplogs:
366 maven-version: 'mvn33'
369 name: 'builder-merge-packer-{platforms}-{templates}'
370 project-type: freestyle
371 node: centos7-java-builder-2c-4g
375 - opendaylight-infra-properties:
376 build-days-to-keep: 14
379 - opendaylight-infra-parameters:
382 refspec: 'refs/heads/{branch}'
383 artifacts: '{archive-artifacts}'
386 - gerrit-trigger-scm:
388 choosing-strategy: 'default'
391 - opendaylight-infra-wrappers:
392 build-timeout: '{build-timeout}'
395 - timed: '00 10 1 * *'
397 server-name: '{server-name}'
399 - change-merged-event
400 - comment-added-contains-event:
401 comment-contains-value: 'remerge'
403 - project-compare-type: 'ANT'
404 project-pattern: 'releng/builder'
406 - branch-compare-type: 'ANT'
407 branch-pattern: '**/{branch}'
415 platform: '{platforms}'
416 template: '{templates}'
419 - email-notification:
420 email-recipients: '{email-recipients}'
421 email-prefix: '[{project}]'
422 - opendaylight-infra-shiplogs:
423 maven-version: 'mvn33'
426 name: 'builder-update-csit-tests'
427 node: centos7-java-builder-2c-8g
429 # builder-update-csit-tests job
431 # This job's purpose is to update csit
432 # tests to run in integration-distribution-test-{stream}
433 # by updating releng-defaults variables: csit-list-carbon,
434 # csit-list-boron, csit-list-beryllium
436 project-type: freestyle
439 - opendaylight-infra-properties:
440 build-days-to-keep: 14
443 - opendaylight-infra-parameters:
446 refspec: 'refs/heads/{branch}'
447 artifacts: '{archive-artifacts}'
450 - gerrit-trigger-scm:
452 choosing-strategy: 'default'
455 - opendaylight-infra-wrappers:
456 build-timeout: '{build-timeout}'
460 jobs: 'builder-merge'
464 git checkout -b auto-update-csit-jobs
465 - integration-list-jobs:
466 blacklist: '{csit-list-blacklist}'
467 search_string: "csit"
469 jobs-filename: "csit_jobs_carbon.lst"
470 - integration-list-jobs:
471 blacklist: '{csit-list-blacklist}'
472 search_string: "csit"
474 jobs-filename: "csit_jobs_boron.lst"
475 - integration-list-jobs:
476 blacklist: '{csit-list-blacklist}'
477 search_string: "csit"
479 jobs-filename: "csit_jobs_beryllium.lst"
480 - integration-replace-block-text:
481 starting-regex: "'csit-list-carbon: >'"
482 ending-regex: "'csit-list-boron: >'"
483 file-with-changes-to-insert: "'csit_jobs_carbon.lst'"
484 file-to-change: "'jjb/releng-defaults.yaml'"
485 - integration-replace-block-text:
486 starting-regex: "'csit-list-boron: >'"
487 ending-regex: "'csit-list-beryllium: >'"
488 file-with-changes-to-insert: "'csit_jobs_boron.lst'"
489 file-to-change: "'jjb/releng-defaults.yaml'"
490 - integration-replace-block-text:
491 starting-regex: "'csit-list-beryllium: >'"
492 ending-regex: "'# CSIT TESTS END SED MARKER'"
493 file-with-changes-to-insert: "'csit_jobs_beryllium.lst'"
494 file-to-change: "'jjb/releng-defaults.yaml'"
497 git add jjb/releng-defaults.yaml
498 - opendaylight-infra-push-gerrit-patch:
499 project: "releng/builder"
500 gerrit-topic: "auto-update-csit-jobs"
501 gerrit-commit-message: "Auto Update CSIT Jobs to run"
504 - email-notification:
505 email-recipients: '{email-recipients}'
506 email-prefix: '[releng]'
507 - opendaylight-infra-shiplogs:
508 maven-version: 'mvn33'