From 36dfdc38954b6dbe51edcd9d4751680336c67b66 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 24 Jul 2021 20:26:47 +0200 Subject: Jenkins: lib: reduce buildDiscarder value from 20 -> 10 --- vars/buildPackage.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy index 43639224..0985a18b 100644 --- a/vars/buildPackage.groovy +++ b/vars/buildPackage.groovy @@ -20,6 +20,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) { // - pkgList: Multiple packages can be build at once in a single Pipeline run // - buildCmd: replace default build command "dpkg-buildpackage -uc -us -tc -b" // with this custom version + // - buildArm: package will also be build for the arm64 platform setDescription(description) @@ -30,7 +31,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) { skipDefaultCheckout() timeout(time: 180, unit: 'MINUTES') timestamps() - buildDiscarder(logRotator(numToKeepStr: '20')) + buildDiscarder(logRotator(numToKeepStr: '10')) } stages { stage('Define Agent') { -- cgit v1.2.3