aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2018-12-27 20:45:23 +0100
committerMartin Stockhammer <martin_s@apache.org>2018-12-27 20:45:23 +0100
commit8a7147c8a2b26ae2dcb4be73a1988632d61c106c (patch)
treece585a10088dd1ab508c70303f9dfd0476f5ac0d /Jenkinsfile
parent128ae30df634c791c6947947f378258bb5cfed56 (diff)
downloadarchiva-8a7147c8a2b26ae2dcb4be73a1988632d61c106c.tar.gz
archiva-8a7147c8a2b26ae2dcb4be73a1988632d61c106c.zip
Reducing number of kept builds on ci server
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index dd19aa772..5a1594bd5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,6 +45,7 @@ pipeline {
}
options {
disableConcurrentBuilds()
+ buildDiscarder(logRotator(numToKeepStr: '15', artifactNumToKeepStr: '15'))
}
parameters {
booleanParam(name: 'PRECLEANUP', defaultValue: false, description: 'Clears the local maven repository before build.')