From 0fd66a4f8d21afb5815130c3faa99a3ef669534c Mon Sep 17 00:00:00 2001 From: Marc Mattmueller Date: Tue, 13 Oct 2020 10:10:13 +0200 Subject: [PATCH] jenkins: adpapt logrotator in build discarder Signed-off-by: Marc Mattmueller --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 86967f5..a85427d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,13 @@ pipeline { options { timeout(time: 8, unit: 'HOURS') - buildDiscarder(logRotator(numToKeepStr: '5')) + buildDiscarder( + logRotator(numToKeepStr: '50', + daysToKeepStr: '1', + artifactNumToKeepStr: '50', + artifactDaysToKeepStr: '1' + ) + ) disableConcurrentBuilds() }