jenkins: adpapt logrotator in build discarder
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
927759b9b6
commit
0fd66a4f8d
|
|
@ -27,7 +27,13 @@ pipeline {
|
|||
|
||||
options {
|
||||
timeout(time: 8, unit: 'HOURS')
|
||||
buildDiscarder(logRotator(numToKeepStr: '5'))
|
||||
buildDiscarder(
|
||||
logRotator(numToKeepStr: '50',
|
||||
daysToKeepStr: '1',
|
||||
artifactNumToKeepStr: '50',
|
||||
artifactDaysToKeepStr: '1'
|
||||
)
|
||||
)
|
||||
disableConcurrentBuilds()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue