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