mirror of https://github.com/apache/archiva.git
Reducing number of kept builds on ci server
This commit is contained in:
parent
128ae30df6
commit
8a7147c8a2
|
@ -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.')
|
||||
|
|
|
@ -35,6 +35,9 @@ pipeline {
|
|||
agent {
|
||||
label "${LABEL}"
|
||||
}
|
||||
options {
|
||||
buildDiscarder(logRotator(numToKeepStr: '10', artifactNumToKeepStr: '10'))
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
|
|
Loading…
Reference in New Issue