mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Jenkins discard old builds, but keep artifacts
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -654,7 +654,7 @@ pipeline {
|
||||
CI = true
|
||||
}
|
||||
options {
|
||||
buildDiscarder(logRotator(numToKeepStr: '5'))
|
||||
buildDiscarder(logRotator(numToKeepStr: '2', artifactDaysToKeepStr: '30'))
|
||||
timeout(time: 60, unit: 'MINUTES')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user