This is an automated email from the ASF dual-hosted git repository.
martin_s pushed a commit to branch archiva-2.x
in repository https://gitbox.apache.org/repos/asf/archiva.git
The following commit(s) were added to refs/heads/archiva-2.x by this push:
new dade9e2 Reducing number of kept builds on ci server
dade9e2 is described below
commit dade9e2ccb685d0f59977633abffbf28ab930081
Author: Martin Stockhammer <[email protected]>
AuthorDate: Thu Dec 27 20:49:53 2018 +0100
Reducing number of kept builds on ci server
---
Jenkinsfile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 2c59b56..b53b83b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -37,6 +37,9 @@ pipeline {
agent {
label "${LABEL}"
}
+ options {
+ buildDiscarder(logRotator(numToKeepStr: '5', artifactNumToKeepStr:
'5'))
+ }
stages {