From bf87b3f4acb8986e1a9a7c60ba32cd9d572160e3 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 8 Oct 2024 19:43:58 +0200 Subject: [PATCH] Restrict the builds to keep to 75 in infinite configurations Signed-off-by: Jose Luis Rivero --- jenkins-scripts/dsl/_configs_/OSRFLinuxBackportPkg.groovy | 1 + jenkins-scripts/dsl/brew_release.dsl | 1 + jenkins-scripts/dsl/debian.dsl | 1 + jenkins-scripts/dsl/extra.dsl | 1 + 4 files changed, 4 insertions(+) diff --git a/jenkins-scripts/dsl/_configs_/OSRFLinuxBackportPkg.groovy b/jenkins-scripts/dsl/_configs_/OSRFLinuxBackportPkg.groovy index a49e44f67..077e57e56 100644 --- a/jenkins-scripts/dsl/_configs_/OSRFLinuxBackportPkg.groovy +++ b/jenkins-scripts/dsl/_configs_/OSRFLinuxBackportPkg.groovy @@ -40,6 +40,7 @@ class OSRFLinuxBackportPkg logRotator { artifactNumToKeep(20) + numToKeep(75) } parameters { diff --git a/jenkins-scripts/dsl/brew_release.dsl b/jenkins-scripts/dsl/brew_release.dsl index ef69682b5..080151a83 100644 --- a/jenkins-scripts/dsl/brew_release.dsl +++ b/jenkins-scripts/dsl/brew_release.dsl @@ -145,6 +145,7 @@ bottle_job_builder.with logRotator { artifactNumToKeep(10) + numToKeep(75) } axes { diff --git a/jenkins-scripts/dsl/debian.dsl b/jenkins-scripts/dsl/debian.dsl index bd87834ab..55160bf25 100644 --- a/jenkins-scripts/dsl/debian.dsl +++ b/jenkins-scripts/dsl/debian.dsl @@ -105,6 +105,7 @@ ratt_pkg_job.with logRotator { artifactNumToKeep(10) + numToKeep(75) } concurrentBuild(true) diff --git a/jenkins-scripts/dsl/extra.dsl b/jenkins-scripts/dsl/extra.dsl index 59d6feeeb..3731dea48 100644 --- a/jenkins-scripts/dsl/extra.dsl +++ b/jenkins-scripts/dsl/extra.dsl @@ -79,6 +79,7 @@ gbp_repo_debbuilds.each { software -> logRotator { artifactNumToKeep(10) + numToKeep(75) } concurrentBuild(true)