From b7f6cbd87c9865d63636d666a560b423df3245f8 Mon Sep 17 00:00:00 2001 From: jenkins Date: Mon, 20 Apr 2026 12:30:57 -0300 Subject: [PATCH] ci(titan-iac): enforce 30d build and artifact retention --- Jenkinsfile | 4 ++++ ci/Jenkinsfile.titan-iac | 4 ++++ 2 files changed, 8 insertions(+) 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 {