summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-22 20:25:29 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-22 20:25:29 +0200
commitb6c8ba61582d38c72b13c549e2a0699db7d553fd (patch)
tree10cc5a1bc0768b29cbbbf0fb02963a3bbcff2136 /Jenkinsfile
parent67f60efcc73fae0fe6712b41485a2a7407258359 (diff)
downloadvyos-1x-b6c8ba61582d38c72b13c549e2a0699db7d553fd.tar.gz
vyos-1x-b6c8ba61582d38c72b13c549e2a0699db7d553fd.zip
Jenkins: keep last 10 builds
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index b9aa54f21..cd2aa528d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -59,7 +59,7 @@ def setDescription() {
/* Only keep the 10 most recent builds. */
def projectProperties = [
- [$class: 'BuildDiscarderProperty',strategy: [$class: 'LogRotator', numToKeepStr: '1']],
+ [$class: 'BuildDiscarderProperty',strategy: [$class: 'LogRotator', numToKeepStr: '10']],
]
properties(projectProperties)