Jenkins discard old builds, but keep artifacts

This commit is contained in:
Daniel Agar 2018-03-30 10:17:07 -04:00
parent 60a7ce731d
commit 8216187159
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -654,7 +654,7 @@ pipeline {
CI = true
}
options {
buildDiscarder(logRotator(numToKeepStr: '5'))
buildDiscarder(logRotator(numToKeepStr: '2', artifactDaysToKeepStr: '30'))
timeout(time: 60, unit: 'MINUTES')
}
}