diff --git a/Jenkinsfile b/Jenkinsfile index 39219710..107424f5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,6 +33,10 @@ spec: QUALITY_GATE_IRONBANK_REQUIRED = '0' QUALITY_GATE_IRONBANK_REPORT = 'build/ironbank-compliance.json' } + options { + disableConcurrentBuilds() + buildDiscarder(logRotator(daysToKeepStr: '30', numToKeepStr: '200', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '120')) + } stages { stage('Checkout') { steps { diff --git a/ci/Jenkinsfile.titan-iac b/ci/Jenkinsfile.titan-iac index 8d83bfa8..4585b72b 100644 --- a/ci/Jenkinsfile.titan-iac +++ b/ci/Jenkinsfile.titan-iac @@ -32,6 +32,10 @@ spec: QUALITY_GATE_IRONBANK_REQUIRED = '0' QUALITY_GATE_IRONBANK_REPORT = 'build/ironbank-compliance.json' } + options { + disableConcurrentBuilds() + buildDiscarder(logRotator(daysToKeepStr: '30', numToKeepStr: '200', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '120')) + } stages { stage('Checkout') { steps {