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
Vendored
+1 -1
View File
@@ -654,7 +654,7 @@ pipeline {
CI = true CI = true
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '5')) buildDiscarder(logRotator(numToKeepStr: '2', artifactDaysToKeepStr: '30'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} }