From 77c6e7b50c446e4a469a6787ca1e35d218986b05 Mon Sep 17 00:00:00 2001 From: Matthieu Kermagoret Date: Tue, 21 Apr 2020 09:20:09 +0200 Subject: [PATCH] limit build history to 50 items. --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 769994fd1..b80a35c3b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,3 +1,5 @@ +properties([buildDiscarder(logRotator(numToKeepStr: '50'))]) + stage('Source') { node { sh 'setup_centreon_build.sh'