jenkins/update2head/sdk: changed logrotator to 5 items to keep

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmueller 2021-10-12 14:26:44 +02:00
parent fc4dd66c9f
commit 2ada8afbf8
2 changed files with 2 additions and 10 deletions

View File

@ -28,11 +28,7 @@ pipeline {
options { options {
timeout(time: 5, unit: 'HOURS') timeout(time: 5, unit: 'HOURS')
buildDiscarder( buildDiscarder(
logRotator(numToKeepStr: '5', logRotator(numToKeepStr: '5')
daysToKeepStr: '5',
artifactNumToKeepStr: '5',
artifactDaysToKeepStr: '5'
)
) )
} }

View File

@ -19,11 +19,7 @@ pipeline {
options { options {
timeout(time: 1, unit: 'HOURS') timeout(time: 1, unit: 'HOURS')
buildDiscarder( buildDiscarder(
logRotator(numToKeepStr: '5', logRotator(numToKeepStr: '5')
daysToKeepStr: '5',
artifactNumToKeepStr: '5',
artifactDaysToKeepStr: '5'
)
) )
disableConcurrentBuilds() disableConcurrentBuilds()
} }