Set jenkins job default logrotate to 1 day.

Remove timeout and logrotate sections, except where overriding
defaults.

Change-Id: If65952da0bb59319e9c413349a95b4e7b39eece2
Reviewed-on: https://review.openstack.org/12516
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair 2012-09-06 11:43:29 -07:00 committed by Jenkins
parent a5798bf080
commit 1150793436
13 changed files with 21 additions and 371 deletions

View File

@ -1,18 +1,5 @@
- job: - job:
name: 'gate-ceilometer-python26-essex' name: 'gate-ceilometer-python26-essex'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- zuul - zuul
@ -30,19 +17,6 @@
- job: - job:
name: 'gate-ceilometer-python27-essex' name: 'gate-ceilometer-python27-essex'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- zuul - zuul

View File

@ -13,10 +13,17 @@
In modules/openstack_project/files/jenkins_jobs In modules/openstack_project/files/jenkins_jobs
</p> </p>
concurrent: false project-type: freestyle
concurrent: true
wrappers: wrappers:
- timeout: - timeout:
timeout: 30 timeout: 30
fail: true fail: true
- timestamps - timestamps
logrotate:
daysToKeep: 1
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1

View File

@ -1,27 +1,19 @@
- job: - job:
name: gate-tempest-devstack-vm name: gate-tempest-devstack-vm
project-type: freestyle
concurrent: true
node: devstack-precise node: devstack-precise
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
parameters:
- label:
name: NODE_LABEL
description: Label of node to use for this build
default: devstack-precise
wrappers: wrappers:
- timeout: - timeout:
timeout: 90 timeout: 90
fail: true fail: true
- timestamps - timestamps
parameters:
- label:
name: NODE_LABEL
description: Label of node to use for this build
default: devstack-precise
triggers: triggers:
- zuul - zuul
@ -80,28 +72,20 @@
- job: - job:
name: gate-tempest-devstack-vm-cinder name: gate-tempest-devstack-vm-cinder
project-type: freestyle
concurrent: true
node: devstack-precise node: devstack-precise
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
parameters:
- label:
name: NODE_LABEL
description: Label of node to use for this build
default: devstack-precise
wrappers: wrappers:
- timeout: - timeout:
timeout: 90 timeout: 90
fail: true fail: true
- timestamps - timestamps
parameters:
- label:
name: NODE_LABEL
description: Label of node to use for this build
default: devstack-precise
triggers: triggers:
- zuul - zuul
@ -160,16 +144,8 @@
- job: - job:
name: periodic-tempest-devstack-vm-stable-diablo name: periodic-tempest-devstack-vm-stable-diablo
project-type: freestyle
concurrent: true
node: devstack-oneiric node: devstack-oneiric
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
wrappers: wrappers:
- timeout: - timeout:
timeout: 90 timeout: 90
@ -234,16 +210,8 @@
- job: - job:
name: periodic-tempest-devstack-vm-stable-essex name: periodic-tempest-devstack-vm-stable-essex
project-type: freestyle
concurrent: true
node: devstack-precise node: devstack-precise
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
wrappers: wrappers:
- timeout: - timeout:
timeout: 90 timeout: 90
@ -310,16 +278,9 @@
# jenkins slave they are running on can be disabled. # jenkins slave they are running on can be disabled.
- job: - job:
name: devstack-update-inprogress name: devstack-update-inprogress
project-type: freestyle
concurrent: false concurrent: false
node: master node: master
logrotate:
daysToKeep: 28
numToKeep: 100
artifactDaysToKeep: -1
artifactNumToKeep: -1
wrappers: wrappers:
- timeout: - timeout:
timeout: 10 timeout: 10
@ -348,16 +309,9 @@
# jenkins slave may be deleted. # jenkins slave may be deleted.
- job: - job:
name: devstack-update-complete name: devstack-update-complete
project-type: freestyle
concurrent: false concurrent: false
node: master node: master
logrotate:
daysToKeep: 28
numToKeep: 100
artifactDaysToKeep: -1
artifactNumToKeep: -1
wrappers: wrappers:
- timeout: - timeout:
timeout: 10 timeout: 10

View File

@ -1,7 +1,6 @@
- job: - job:
name: check-gerrit-unittests name: check-gerrit-unittests
project-type: maven project-type: maven
concurrent: true
node: precise node: precise
wrappers: wrappers:
@ -36,7 +35,6 @@
- job: - job:
name: gate-gerrit-unittests name: gate-gerrit-unittests
project-type: maven project-type: maven
concurrent: true
node: precise node: precise
wrappers: wrappers:
@ -66,7 +64,6 @@
- job: - job:
name: gerrit-package name: gerrit-package
project-type: maven project-type: maven
concurrent: true
node: precise node: precise
wrappers: wrappers:

View File

@ -1,20 +1,7 @@
- job: - job:
name: gate-horizon-selenium name: gate-horizon-selenium
concurrent: true
node: precise node: precise
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul - zuul

View File

@ -1,24 +1,10 @@
- job: - job:
name: jenkins-job-builder-compare-xml name: jenkins-job-builder-compare-xml
project-type: freestyle
concurrent: true
node: precise node: precise
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul - zuul
logrotate:
daysToKeep: 1
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders: builders:
- gerrit-git-prep - gerrit-git-prep
- shell: "./tools/run-compare-xml.sh" - shell: "./tools/run-compare-xml.sh"

View File

@ -1,14 +1,8 @@
- job: - job:
name: openstack-cli-guide name: openstack-cli-guide
project-type: maven project-type: maven
concurrent: true
node: precise node: precise
wrappers:
- timeout:
timeout: 40
fail: true
triggers: triggers:
- zuul-post - zuul-post
@ -34,14 +28,8 @@
- job: - job:
name: netconn-api-v20 name: netconn-api-v20
project-type: maven project-type: maven
concurrent: true
node: precise node: precise
wrappers:
- timeout:
timeout: 40
fail: true
triggers: triggers:
- zuul-post - zuul-post

View File

@ -1,14 +1,7 @@
- job: - job:
name: gate-ci-puppet-syntax name: gate-ci-puppet-syntax
concurrent: true
node: precise node: precise
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul - zuul
@ -23,25 +16,11 @@
- job: - job:
name: ci-puppet-compare-xml name: ci-puppet-compare-xml
project-type: freestyle
concurrent: true
node: precise node: precise
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul - zuul
logrotate:
daysToKeep: 1
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders: builders:
- gerrit-git-prep - gerrit-git-prep
- shell: "./tools/run-compare-xml.sh" - shell: "./tools/run-compare-xml.sh"

View File

@ -1,24 +1,10 @@
- job-template: - job-template:
name: '{name}-docs' name: '{name}-docs'
project-type: freestyle
concurrent: true
node: precise node: precise
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul-post - zuul-post
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders: builders:
- gerrit-git-prep - gerrit-git-prep
- docs - docs
@ -35,25 +21,11 @@
- job-template: - job-template:
name: '{name}-tarball' name: '{name}-tarball'
project-type: freestyle
concurrent: true
node: precise node: precise
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul-post - zuul-post
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders: builders:
- gerrit-git-prep - gerrit-git-prep
- tarball: - tarball:

View File

@ -1,24 +1,10 @@
- job-template: - job-template:
name: '{name}-sdist-tarball' name: '{name}-sdist-tarball'
project-type: freestyle
concurrent: true
node: precise node: precise
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul-post - zuul-post
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders: builders:
- gerrit-git-prep - gerrit-git-prep
- shell: | - shell: |
@ -38,16 +24,8 @@
- job-template: - job-template:
name: '{name}-pypi' name: '{name}-pypi'
project-type: freestyle
concurrent: true
node: pypi node: pypi
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul-post - zuul-post

View File

@ -1,18 +1,5 @@
- job-template: - job-template:
name: 'periodic-{name}-python26-{branch-name}' name: 'periodic-{name}-python26-{branch-name}'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- timed: '@daily' - timed: '@daily'
@ -44,19 +31,6 @@
- job-template: - job-template:
name: 'periodic-{name}-python27-{branch-name}' name: 'periodic-{name}-python27-{branch-name}'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- timed: '@daily' - timed: '@daily'
@ -87,19 +61,6 @@
- job-template: - job-template:
name: 'periodic-{name}-docs-{branch-name}' name: 'periodic-{name}-docs-{branch-name}'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- timed: '@daily' - timed: '@daily'

View File

@ -1,18 +1,5 @@
- job-template: - job-template:
name: '{name}-coverage' name: '{name}-coverage'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- zuul-post - zuul-post
@ -38,19 +25,6 @@
- job-template: - job-template:
name: 'gate-{name}-pep8' name: 'gate-{name}-pep8'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- zuul - zuul
@ -68,19 +42,6 @@
- job-template: - job-template:
name: 'gate-{name}-pylint' name: 'gate-{name}-pylint'
concurrent: true
wrappers:
- timeout:
timeout: 120
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- zuul - zuul
@ -98,19 +59,6 @@
- job-template: - job-template:
name: 'gate-{name}-python26' name: 'gate-{name}-python26'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- zuul - zuul
@ -137,19 +85,6 @@
- job-template: - job-template:
name: 'gate-{name}-python27' name: 'gate-{name}-python27'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
parameters: parameters:
- label: - label:
@ -181,19 +116,6 @@
- job-template: - job-template:
name: 'gate-{name}-merge' name: 'gate-{name}-merge'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- zuul - zuul
@ -209,19 +131,6 @@
- job-template: - job-template:
name: 'gate-{name}-docs' name: 'gate-{name}-docs'
concurrent: true
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- zuul - zuul
@ -238,22 +147,8 @@
- job-template: - job-template:
name: 'gate-{name}-pyflakes' name: 'gate-{name}-pyflakes'
project-type: freestyle
concurrent: true
node: precise node: precise
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul - zuul

View File

@ -1,25 +1,11 @@
# This is a non-standard docs job because it uses SCP instead of FTP # This is a non-standard docs job because it uses SCP instead of FTP
- job: - job:
name: zuul-docs name: zuul-docs
project-type: freestyle
concurrent: true
node: precise node: precise
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
triggers: triggers:
- zuul-post - zuul-post
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
builders: builders:
- gerrit-git-prep - gerrit-git-prep
- docs - docs
@ -35,19 +21,7 @@
- job: - job:
name: 'dev-zuul-coverage' name: 'dev-zuul-coverage'
concurrent: true node: 'precise'
wrappers:
- timeout:
timeout: 30
fail: true
- timestamps
logrotate:
daysToKeep: 28
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: -1
triggers: triggers:
- zuul - zuul
@ -67,5 +41,3 @@
- target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER' - target: 'logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER'
copy-console: true copy-console: true
copy-after-failure: true copy-after-failure: true
node: 'precise'