From 2b188b089cfb7de2f0cae99c23aba32d259a110d Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Thu, 23 Jun 2022 00:28:48 +0200 Subject: [PATCH] added discard old builds --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index f2aa1b4..35b8066 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,8 @@ pipeline { agent any + options { + buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '5', daysToKeepStr: '', numToKeepStr: '')) + } environment { FTP_HOST = credentials('csgowtf-deploy-host')