From c6e232184d3e875937e4aac1ed5cb2e86280928f Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Tue, 5 Jan 2021 02:05:09 +0100 Subject: [PATCH] added history cleanup --- jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jenkinsfile b/jenkinsfile index d4572a9..96d1b78 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -1,6 +1,8 @@ pipeline { agent { label 'golang' } - + options { + buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10')) + } stages { stage('Build') { steps {