You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/12/27 19:12:06 UTC

[maven-surefire] branch master updated: Reduce the number of builds to keep the artifacts.

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

khmarbaise pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/master by this push:
     new 099fc61  Reduce the number of builds to keep the artifacts.
099fc61 is described below

commit 099fc61838f38ec54ece933321447576ca732492
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Thu Dec 27 20:08:42 2018 +0100

    Reduce the number of builds to keep the artifacts.
---
 Jenkinsfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 5ca0b9a..d3dd073 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,9 +21,9 @@
 
 properties(
     [
-        buildDiscarder(logRotator(artifactDaysToKeepStr: env.BRANCH_NAME == 'master' ? '30' : '7',
-                                  artifactNumToKeepStr: '10',
-                                  daysToKeepStr: env.BRANCH_NAME == 'master' ? '30' : '7',
+        buildDiscarder(logRotator(artifactDaysToKeepStr: env.BRANCH_NAME == 'master' ? '5' : '1',
+                                  artifactNumToKeepStr: '5',
+                                  daysToKeepStr: env.BRANCH_NAME == 'master' ? '10' : '5',
                                   numToKeepStr: '10')
         ),
         disableConcurrentBuilds()