ci: enforce 30d build and artifact retention
This commit is contained in:
parent
3d9f449d72
commit
7fcf17ee12
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -92,6 +92,7 @@ spec:
|
|||||||
}
|
}
|
||||||
options {
|
options {
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
|
buildDiscarder(logRotator(daysToKeepStr: '30', numToKeepStr: '200', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '120'))
|
||||||
}
|
}
|
||||||
triggers {
|
triggers {
|
||||||
// Poll every 2 minutes; notifyCommit can also trigger, but polling keeps it moving without webhook tokens.
|
// Poll every 2 minutes; notifyCommit can also trigger, but polling keeps it moving without webhook tokens.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user