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:56:34 UTC
[maven-jenkins-lib] branch master updated: increase a bit 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 2fba669 increase a bit archiving
2fba669 is described below
commit 2fba669f73ba09fd3e2d60f3dcdac02757615c5e
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Fri Dec 28 09:56:31 2018 +1000
increase a bit archiving
---
vars/asfMavenTlpPlgnBuild.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index 0e406f0..3c3d212 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.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: '2', daysToKeepStr: '15', numToKeepStr: '10'))
+ buildRetention = buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '15', numToKeepStr: '10'))
} else {
- buildRetention = buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '1', daysToKeepStr: '7', numToKeepStr: '2'))
+ buildRetention = buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '2', daysToKeepStr: '7', numToKeepStr: '3'))
}
properties([buildRetention])