Reducing number of kept builds on ci server

This commit is contained in:
Martin Stockhammer 2018-12-27 20:45:23 +01:00
parent 128ae30df6
commit 8a7147c8a2
2 changed files with 4 additions and 0 deletions

1
Jenkinsfile vendored
View File

@ -45,6 +45,7 @@ pipeline {
}
options {
disableConcurrentBuilds()
buildDiscarder(logRotator(numToKeepStr: '15', artifactNumToKeepStr: '15'))
}
parameters {
booleanParam(name: 'PRECLEANUP', defaultValue: false, description: 'Clears the local maven repository before build.')

View File

@ -35,6 +35,9 @@ pipeline {
agent {
label "${LABEL}"
}
options {
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
}
stages {