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 13:19:52 UTC

[maven] branch master updated: Change to keep only 5 artifacts on master and on branches only 1 artifact.

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.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c4c2e3  Change to keep only 5 artifacts on master and on branches only 1 artifact.
6c4c2e3 is described below

commit 6c4c2e3804dfa901095058ab70d205247a1b091f
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Thu Dec 27 14:17:05 2018 +0100

    Change to keep only 5 artifacts on master and on branches
    only 1 artifact.
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index ceb179d..7c580cd 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,7 +17,7 @@
  * under the License.
  */
 
-properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: env.BRANCH_NAME=='master'?'10':'5'))])
+properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: env.BRANCH_NAME=='master'?'5':'1'))])
 
 def buildOs = 'linux'
 def buildJdk = '8'