From 6c4c2e3804dfa901095058ab70d205247a1b091f Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Thu, 27 Dec 2018 14:17:05 +0100 Subject: [PATCH] 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 ceb179de08..7c580cd678 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'