ci: enforce 30d build and artifact retention
This commit is contained in:
parent
d750f21e80
commit
f07373247a
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -75,6 +75,10 @@ spec:
|
||||
QUALITY_GATE_SONARQUBE_REPORT = 'build/sonarqube-quality-gate.json'
|
||||
QUALITY_GATE_IRONBANK_REPORT = 'build/ironbank-compliance.json'
|
||||
}
|
||||
options {
|
||||
disableConcurrentBuilds()
|
||||
buildDiscarder(logRotator(daysToKeepStr: '30', numToKeepStr: '200', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '120'))
|
||||
}
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user