summaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-24 20:26:47 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-24 20:26:47 +0200
commit36dfdc38954b6dbe51edcd9d4751680336c67b66 (patch)
treed2b869bac055a1f038c3d26c4bb8f56447e3b32d /vars
parent446092c3a28362743e1952d8bc70925dad8a3616 (diff)
downloadvyos-build-36dfdc38954b6dbe51edcd9d4751680336c67b66.tar.gz
vyos-build-36dfdc38954b6dbe51edcd9d4751680336c67b66.zip
Jenkins: lib: reduce buildDiscarder value from 20 -> 10
Diffstat (limited to 'vars')
-rw-r--r--vars/buildPackage.groovy3
1 files changed, 2 insertions, 1 deletions
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') {