From c696a81c3a22caf3ab90a4e51e5acec347d1b6e4 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Thu, 12 Jan 2023 10:42:06 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B05821=20JenkinsFile=20:=20introduce=20bui?= =?UTF-8?q?ldDiscarder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 56f298717..ca7548d2a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,14 @@ def infra node(){ + properties([ + buildDiscarder( + logRotator( + daysToKeepStr: "28", + numToKeepStr: "500") + ) + ]) + checkout scm infra = load '/var/lib/jenkins/workspace/itop-test-infra_master/src/Infra.groovy'