ci: cleanup more build artifacts

Should be cleaning artifacts for more than 1+1 build for each branch.
This commit is contained in:
Anton Iakimov 2024-02-28 15:47:23 +01:00
parent 00f50a4112
commit c3240b296c
No known key found for this signature in database
GPG Key ID: DEA1FE58DD8BF7FA
6 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '5', numToKeepStr: '5',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '1',
)) ))
} }

View File

@ -26,6 +26,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '5', numToKeepStr: '5',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '1',
)) ))
} }

View File

@ -28,6 +28,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '5', numToKeepStr: '5',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '1',
)) ))
} }

View File

@ -26,6 +26,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '5', numToKeepStr: '5',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '1',
)) ))
} }

View File

@ -26,6 +26,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '5', numToKeepStr: '5',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '1',
)) ))
} }

View File

@ -41,6 +41,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '5', numToKeepStr: '5',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '1',
)) ))
} }