]> source.dussan.org Git - archiva.git/commitdiff
Reducing number of kept builds on ci server
authorMartin Stockhammer <martin_s@apache.org>
Thu, 27 Dec 2018 19:49:53 +0000 (20:49 +0100)
committerMartin Stockhammer <martin_s@apache.org>
Thu, 27 Dec 2018 19:49:53 +0000 (20:49 +0100)
Jenkinsfile

index 2c59b56b332ac2708aac7a33901ae7877798e16e..b53b83bf51e52c29381963d9a18c3e6ad33da630 100644 (file)
@@ -37,6 +37,9 @@ pipeline {
     agent {
         label "${LABEL}"
     }
+    options {
+        buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr: '5'))
+    }
 
     stages {