From 8216187159287bab169341a48181f4f2af9377fa Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Fri, 30 Mar 2018 10:17:07 -0400 Subject: [PATCH] Jenkins discard old builds, but keep artifacts --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1b5840af89..28815d7067 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -654,7 +654,7 @@ pipeline { CI = true } options { - buildDiscarder(logRotator(numToKeepStr: '5')) + buildDiscarder(logRotator(numToKeepStr: '2', artifactDaysToKeepStr: '30')) timeout(time: 60, unit: 'MINUTES') } }