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

[maven-jenkins-lib] branch master updated: reduce the history archiving

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4a94009  reduce the history archiving
4a94009 is described below

commit 4a940091b4fd5ab841c3d4ba3a85d29e35df2fc3
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Fri Dec 28 09:48:55 2018 +1000

    reduce the history archiving
---
 vars/asfMavenTlpStdBuild.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index 5225aa1..b8cf699 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -25,9 +25,9 @@ def call(Map params = [:]) {
     // set build retention time first
     def buildRetention
     if (env.BRANCH_NAME == 'master') {
-      buildRetention = buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '3', daysToKeepStr: '21', numToKeepStr: '25'))
+      buildRetention = buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '2', daysToKeepStr: '15', numToKeepStr: '10'))
     } else {
-      buildRetention = buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '1', daysToKeepStr: '7', numToKeepStr: '5'))
+      buildRetention = buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '1', daysToKeepStr: '7', numToKeepStr: '2'))
     }
     properties([buildRetention])