summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2018-12-27 20:49:53 +0100
committerMartin Stockhammer <martin_s@apache.org>2018-12-27 20:49:53 +0100
commitdade9e2ccb685d0f59977633abffbf28ab930081 (patch)
tree34f7cbc903e98c46822169244d82accc0d8d9ced /Jenkinsfile
parentb99fdc2480e13d93f8922078c3e726d3764eaeae (diff)
downloadarchiva-dade9e2ccb685d0f59977633abffbf28ab930081.tar.gz
archiva-dade9e2ccb685d0f59977633abffbf28ab930081.zip
Reducing number of kept builds on ci server
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 2c59b56b3..b53b83bf5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -37,6 +37,9 @@ pipeline {
agent {
label "${LABEL}"
}
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr: '5'))
+ }
stages {