ci: cleanup more build artifacts
Should be cleaning artifacts for more than 1+1 build for each branch.
This commit is contained in:
parent
00f1b10b0e
commit
11bfc84155
|
@ -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/*')
|
||||||
|
|
|
@ -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/*')
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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/*')
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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(
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue