Skip to content

Commit 5f4d4bf

Browse files
committed
ci: cleanup more build artifacts
Should be cleaning artifacts for more than 1+1 build for each branch.
1 parent 26dd51c commit 5f4d4bf

9 files changed

+21
-4
lines changed

ci/Jenkinsfile.android

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pipeline {
1515
buildDiscarder(logRotator(
1616
numToKeepStr: '10',
1717
daysToKeepStr: '20',
18-
artifactNumToKeepStr: '10',
18+
artifactNumToKeepStr: '1',
1919
))
2020
/* Allows combined build to copy */
2121
copyArtifactPermission('/status-mobile/*')

ci/Jenkinsfile.combined

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pipeline {
1313
buildDiscarder(logRotator(
1414
numToKeepStr: '10',
1515
daysToKeepStr: '30',
16-
artifactNumToKeepStr: '10',
16+
artifactNumToKeepStr: '1',
1717
))
1818
}
1919

ci/Jenkinsfile.e2e-nightly

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pipeline {
2323
buildDiscarder(logRotator(
2424
numToKeepStr: '10',
2525
daysToKeepStr: '30',
26+
artifactNumToKeepStr: '1',
2627
))
2728
}
2829

ci/Jenkinsfile.ios

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pipeline {
2323
buildDiscarder(logRotator(
2424
numToKeepStr: '10',
2525
daysToKeepStr: '20',
26-
artifactNumToKeepStr: '10',
26+
artifactNumToKeepStr: '1',
2727
))
2828
/* Allows combined build to copy */
2929
copyArtifactPermission('/status-mobile/*')

ci/Jenkinsfile.tests

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pipeline {
1515
buildDiscarder(logRotator(
1616
numToKeepStr: '10',
1717
daysToKeepStr: '20',
18-
artifactNumToKeepStr: '10',
18+
artifactNumToKeepStr: '1',
1919
))
2020
/* Abort old PR builds. */
2121
disableConcurrentBuilds(

ci/tests/Jenkinsfile.e2e-nightly

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ pipeline {
2929

3030
options {
3131
disableConcurrentBuilds()
32+
buildDiscarder(logRotator(
33+
numToKeepStr: '10',
34+
daysToKeepStr: '30',
35+
artifactNumToKeepStr: '1',
36+
))
3237
}
3338

3439
stages {

ci/tests/Jenkinsfile.e2e-prs

+5
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ pipeline {
4747
options {
4848
disableConcurrentBuilds()
4949
timeout(time: 90, unit: 'MINUTES')
50+
buildDiscarder(logRotator(
51+
numToKeepStr: '10',
52+
daysToKeepStr: '30',
53+
artifactNumToKeepStr: '1',
54+
))
5055
}
5156

5257
stages {

ci/tests/Jenkinsfile.e2e-upgrade

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ pipeline {
2828

2929
options {
3030
disableConcurrentBuilds()
31+
buildDiscarder(logRotator(
32+
numToKeepStr: '10',
33+
daysToKeepStr: '30',
34+
artifactNumToKeepStr: '1',
35+
))
3136
}
3237

3338

ci/tools/Jenkinsfile.nix-cache

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ pipeline {
3434
buildDiscarder(logRotator(
3535
numToKeepStr: '20',
3636
daysToKeepStr: '30',
37+
artifactNumToKeepStr: '1',
3738
))
3839
}
3940

0 commit comments

Comments
 (0)