diff --git a/ci/Jenkinsfile.android b/ci/Jenkinsfile.android index 9385128c5a..296e22958e 100644 --- a/ci/Jenkinsfile.android +++ b/ci/Jenkinsfile.android @@ -15,7 +15,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '10', daysToKeepStr: '20', - artifactNumToKeepStr: '10', + artifactNumToKeepStr: '1', )) /* Allows combined build to copy */ copyArtifactPermission('/status-mobile/*') diff --git a/ci/Jenkinsfile.combined b/ci/Jenkinsfile.combined index c9a1fc86b1..c158685c0f 100644 --- a/ci/Jenkinsfile.combined +++ b/ci/Jenkinsfile.combined @@ -13,7 +13,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '10', daysToKeepStr: '30', - artifactNumToKeepStr: '10', + artifactNumToKeepStr: '1', )) } diff --git a/ci/Jenkinsfile.e2e-nightly b/ci/Jenkinsfile.e2e-nightly index 14c8f27b36..c1050747fa 100644 --- a/ci/Jenkinsfile.e2e-nightly +++ b/ci/Jenkinsfile.e2e-nightly @@ -23,6 +23,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '10', daysToKeepStr: '30', + artifactNumToKeepStr: '1', )) } diff --git a/ci/Jenkinsfile.ios b/ci/Jenkinsfile.ios index 144776d754..fbf18bfc38 100644 --- a/ci/Jenkinsfile.ios +++ b/ci/Jenkinsfile.ios @@ -23,7 +23,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '10', daysToKeepStr: '20', - artifactNumToKeepStr: '10', + artifactNumToKeepStr: '1', )) /* Allows combined build to copy */ copyArtifactPermission('/status-mobile/*') diff --git a/ci/Jenkinsfile.tests b/ci/Jenkinsfile.tests index 9a033da267..cd90d0f3e6 100644 --- a/ci/Jenkinsfile.tests +++ b/ci/Jenkinsfile.tests @@ -15,7 +15,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '10', daysToKeepStr: '20', - artifactNumToKeepStr: '10', + artifactNumToKeepStr: '1', )) /* Abort old PR builds. */ disableConcurrentBuilds( diff --git a/ci/tests/Jenkinsfile.e2e-nightly b/ci/tests/Jenkinsfile.e2e-nightly index 071ca89df1..175e8ff691 100644 --- a/ci/tests/Jenkinsfile.e2e-nightly +++ b/ci/tests/Jenkinsfile.e2e-nightly @@ -29,6 +29,11 @@ pipeline { options { disableConcurrentBuilds() + buildDiscarder(logRotator( + numToKeepStr: '10', + daysToKeepStr: '30', + artifactNumToKeepStr: '1', + )) } stages { diff --git a/ci/tests/Jenkinsfile.e2e-prs b/ci/tests/Jenkinsfile.e2e-prs index 6ecbcc7c68..7153b9fbe4 100644 --- a/ci/tests/Jenkinsfile.e2e-prs +++ b/ci/tests/Jenkinsfile.e2e-prs @@ -47,6 +47,11 @@ pipeline { options { disableConcurrentBuilds() timeout(time: 90, unit: 'MINUTES') + buildDiscarder(logRotator( + numToKeepStr: '10', + daysToKeepStr: '30', + artifactNumToKeepStr: '1', + )) } stages { diff --git a/ci/tests/Jenkinsfile.e2e-upgrade b/ci/tests/Jenkinsfile.e2e-upgrade index aea81c2519..6343b8b549 100644 --- a/ci/tests/Jenkinsfile.e2e-upgrade +++ b/ci/tests/Jenkinsfile.e2e-upgrade @@ -28,6 +28,11 @@ pipeline { options { disableConcurrentBuilds() + buildDiscarder(logRotator( + numToKeepStr: '10', + daysToKeepStr: '30', + artifactNumToKeepStr: '1', + )) } diff --git a/ci/tools/Jenkinsfile.nix-cache b/ci/tools/Jenkinsfile.nix-cache index 1e6be2907a..4a3e95a882 100644 --- a/ci/tools/Jenkinsfile.nix-cache +++ b/ci/tools/Jenkinsfile.nix-cache @@ -34,6 +34,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '20', daysToKeepStr: '30', + artifactNumToKeepStr: '1', )) }