This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a7147c  Reducing number of kept builds on ci server
8a7147c is described below

commit 8a7147c8a2b26ae2dcb4be73a1988632d61c106c
Author: Martin Stockhammer <[email protected]>
AuthorDate: Thu Dec 27 20:45:23 2018 +0100

    Reducing number of kept builds on ci server
---
 Jenkinsfile       | 1 +
 Jenkinsfile-itest | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index dd19aa7..5a1594b 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.')
diff --git a/Jenkinsfile-itest b/Jenkinsfile-itest
index f923f7a..5deb9cf 100644
--- a/Jenkinsfile-itest
+++ b/Jenkinsfile-itest
@@ -35,6 +35,9 @@ pipeline {
     agent {
         label "${LABEL}"
     }
+    options {
+        buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: 
'10'))
+    }
 
     stages {
 

Reply via email to