From c3240b296cb4bc2f9e51b72df62d1300d927f6f7 Mon Sep 17 00:00:00 2001 From: Anton Iakimov Date: Wed, 28 Feb 2024 15:47:23 +0100 Subject: [PATCH] ci: cleanup more build artifacts Should be cleaning artifacts for more than 1+1 build for each branch. --- _assets/ci/Jenkinsfile | 1 + _assets/ci/Jenkinsfile.android | 1 + _assets/ci/Jenkinsfile.docker | 1 + _assets/ci/Jenkinsfile.ios | 1 + _assets/ci/Jenkinsfile.linux | 1 + _assets/ci/Jenkinsfile.tests | 1 + 6 files changed, 6 insertions(+) diff --git a/_assets/ci/Jenkinsfile b/_assets/ci/Jenkinsfile index 4c824a192..c303f3d83 100644 --- a/_assets/ci/Jenkinsfile +++ b/_assets/ci/Jenkinsfile @@ -27,6 +27,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '5', daysToKeepStr: '30', + artifactNumToKeepStr: '1', )) } diff --git a/_assets/ci/Jenkinsfile.android b/_assets/ci/Jenkinsfile.android index 24da7b606..159c21016 100644 --- a/_assets/ci/Jenkinsfile.android +++ b/_assets/ci/Jenkinsfile.android @@ -26,6 +26,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '5', daysToKeepStr: '30', + artifactNumToKeepStr: '1', )) } diff --git a/_assets/ci/Jenkinsfile.docker b/_assets/ci/Jenkinsfile.docker index 757b5fdb3..bcbc1c94b 100644 --- a/_assets/ci/Jenkinsfile.docker +++ b/_assets/ci/Jenkinsfile.docker @@ -28,6 +28,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '5', daysToKeepStr: '30', + artifactNumToKeepStr: '1', )) } diff --git a/_assets/ci/Jenkinsfile.ios b/_assets/ci/Jenkinsfile.ios index 61349954b..efd62fda9 100644 --- a/_assets/ci/Jenkinsfile.ios +++ b/_assets/ci/Jenkinsfile.ios @@ -26,6 +26,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '5', daysToKeepStr: '30', + artifactNumToKeepStr: '1', )) } diff --git a/_assets/ci/Jenkinsfile.linux b/_assets/ci/Jenkinsfile.linux index 0ec421035..25f6d17b6 100644 --- a/_assets/ci/Jenkinsfile.linux +++ b/_assets/ci/Jenkinsfile.linux @@ -26,6 +26,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '5', daysToKeepStr: '30', + artifactNumToKeepStr: '1', )) } diff --git a/_assets/ci/Jenkinsfile.tests b/_assets/ci/Jenkinsfile.tests index 91e1987ff..7481cc3d4 100644 --- a/_assets/ci/Jenkinsfile.tests +++ b/_assets/ci/Jenkinsfile.tests @@ -41,6 +41,7 @@ pipeline { buildDiscarder(logRotator( numToKeepStr: '5', daysToKeepStr: '30', + artifactNumToKeepStr: '1', )) }