Jenkins more aggressively discard large builds

This commit is contained in:
Daniel Agar
2019-01-19 12:00:51 -05:00
parent 95eff33263
commit 1ec08ec6bd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ pipeline {
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '5', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '2', artifactDaysToKeepStr: '14'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} // pipeline } // pipeline
+1 -1
View File
@@ -158,7 +158,7 @@ pipeline {
CI = true CI = true
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '5', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '2', artifactDaysToKeepStr: '14'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} }