]> 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:45:23 +0000 (20:45 +0100)
committerMartin Stockhammer <martin_s@apache.org>
Thu, 27 Dec 2018 19:45:23 +0000 (20:45 +0100)
Jenkinsfile
Jenkinsfile-itest

index dd19aa7720f7aa41b3493869e4a0195dc83cc8cb..5a1594bd5cbb0f1fabfc698dbc6c1369fddb591c 100644 (file)
@@ -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.')
index f923f7ade3bc9a39e9c32d880b5a88e43c04d19a..5deb9cfe4295299206e73d27447576157af5b7ab 100644 (file)
@@ -35,6 +35,9 @@ pipeline {
     agent {
         label "${LABEL}"
     }
+    options {
+        buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
+    }
 
     stages {