summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index dbc18d2b..3eaa5fe8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -62,9 +62,9 @@ def setDescription() {
item.save()
}
-/* Only keep the 10 most recent builds. */
+// 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)