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:56:40 +01:00
parent 00f1b10b0e
commit 11bfc84155
No known key found for this signature in database
GPG Key ID: DEA1FE58DD8BF7FA
8 changed files with 8 additions and 8 deletions

View File

@ -51,7 +51,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '10', numToKeepStr: '10',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '3', artifactNumToKeepStr: '1',
)) ))
/* Allows combined build to copy */ /* Allows combined build to copy */
copyArtifactPermission('/status-desktop/*') copyArtifactPermission('/status-desktop/*')

View File

@ -51,7 +51,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '10', numToKeepStr: '10',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '3', artifactNumToKeepStr: '1',
)) ))
/* Allows combined build to copy */ /* Allows combined build to copy */
copyArtifactPermission('/status-desktop/*') copyArtifactPermission('/status-desktop/*')

View File

@ -33,7 +33,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '10', numToKeepStr: '10',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '3', artifactNumToKeepStr: '1',
)) ))
/* Abort old PR builds. */ /* Abort old PR builds. */
disableConcurrentBuilds( disableConcurrentBuilds(

View File

@ -25,7 +25,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '10', numToKeepStr: '10',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '3', artifactNumToKeepStr: '1',
)) ))
/* Abort old PR builds. */ /* Abort old PR builds. */
disableConcurrentBuilds( disableConcurrentBuilds(

View File

@ -43,7 +43,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '10', numToKeepStr: '10',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '3', artifactNumToKeepStr: '1',
)) ))
/* Allows combined build to copy */ /* Allows combined build to copy */
copyArtifactPermission('/status-desktop/*') copyArtifactPermission('/status-desktop/*')

View File

@ -36,7 +36,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '10', numToKeepStr: '10',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '3', artifactNumToKeepStr: '1',
)) ))
/* Abort old PR builds. */ /* Abort old PR builds. */
disableConcurrentBuilds( disableConcurrentBuilds(

View File

@ -33,7 +33,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '10', numToKeepStr: '10',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '3', artifactNumToKeepStr: '1',
)) ))
/* Abort old PR builds. */ /* Abort old PR builds. */
disableConcurrentBuilds( disableConcurrentBuilds(

View File

@ -33,7 +33,7 @@ pipeline {
buildDiscarder(logRotator( buildDiscarder(logRotator(
numToKeepStr: '10', numToKeepStr: '10',
daysToKeepStr: '30', daysToKeepStr: '30',
artifactNumToKeepStr: '3', artifactNumToKeepStr: '1',
)) ))
/* Abort old PR builds. */ /* Abort old PR builds. */
disableConcurrentBuilds( disableConcurrentBuilds(