From 7baa6b407f0e4b6695f3a26502a5ea070e12b66e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Oct 2022 19:15:52 +0300 Subject: [PATCH] Jenkins: set discarder --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index c59630b..a311964 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,10 @@ pipeline { agent any + options { + buildDiscarder(logRotator(numToKeepStr: '5')) + } + triggers { pollSCM 'H/30 * * * *' } environment {