ci: cleanup more build artifacts
Should be cleaning artifacts for more than 1+1 build for each branch.
This commit is contained in:
parent
26dd51c5da
commit
5f4d4bfc11
|
@ -15,7 +15,7 @@ pipeline {
|
||||||
buildDiscarder(logRotator(
|
buildDiscarder(logRotator(
|
||||||
numToKeepStr: '10',
|
numToKeepStr: '10',
|
||||||
daysToKeepStr: '20',
|
daysToKeepStr: '20',
|
||||||
artifactNumToKeepStr: '10',
|
artifactNumToKeepStr: '1',
|
||||||
))
|
))
|
||||||
/* Allows combined build to copy */
|
/* Allows combined build to copy */
|
||||||
copyArtifactPermission('/status-mobile/*')
|
copyArtifactPermission('/status-mobile/*')
|
||||||
|
|
|
@ -13,7 +13,7 @@ pipeline {
|
||||||
buildDiscarder(logRotator(
|
buildDiscarder(logRotator(
|
||||||
numToKeepStr: '10',
|
numToKeepStr: '10',
|
||||||
daysToKeepStr: '30',
|
daysToKeepStr: '30',
|
||||||
artifactNumToKeepStr: '10',
|
artifactNumToKeepStr: '1',
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ pipeline {
|
||||||
buildDiscarder(logRotator(
|
buildDiscarder(logRotator(
|
||||||
numToKeepStr: '10',
|
numToKeepStr: '10',
|
||||||
daysToKeepStr: '30',
|
daysToKeepStr: '30',
|
||||||
|
artifactNumToKeepStr: '1',
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ pipeline {
|
||||||
buildDiscarder(logRotator(
|
buildDiscarder(logRotator(
|
||||||
numToKeepStr: '10',
|
numToKeepStr: '10',
|
||||||
daysToKeepStr: '20',
|
daysToKeepStr: '20',
|
||||||
artifactNumToKeepStr: '10',
|
artifactNumToKeepStr: '1',
|
||||||
))
|
))
|
||||||
/* Allows combined build to copy */
|
/* Allows combined build to copy */
|
||||||
copyArtifactPermission('/status-mobile/*')
|
copyArtifactPermission('/status-mobile/*')
|
||||||
|
|
|
@ -15,7 +15,7 @@ pipeline {
|
||||||
buildDiscarder(logRotator(
|
buildDiscarder(logRotator(
|
||||||
numToKeepStr: '10',
|
numToKeepStr: '10',
|
||||||
daysToKeepStr: '20',
|
daysToKeepStr: '20',
|
||||||
artifactNumToKeepStr: '10',
|
artifactNumToKeepStr: '1',
|
||||||
))
|
))
|
||||||
/* Abort old PR builds. */
|
/* Abort old PR builds. */
|
||||||
disableConcurrentBuilds(
|
disableConcurrentBuilds(
|
||||||
|
|
|
@ -29,6 +29,11 @@ pipeline {
|
||||||
|
|
||||||
options {
|
options {
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
|
buildDiscarder(logRotator(
|
||||||
|
numToKeepStr: '10',
|
||||||
|
daysToKeepStr: '30',
|
||||||
|
artifactNumToKeepStr: '1',
|
||||||
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
|
@ -47,6 +47,11 @@ pipeline {
|
||||||
options {
|
options {
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
timeout(time: 90, unit: 'MINUTES')
|
timeout(time: 90, unit: 'MINUTES')
|
||||||
|
buildDiscarder(logRotator(
|
||||||
|
numToKeepStr: '10',
|
||||||
|
daysToKeepStr: '30',
|
||||||
|
artifactNumToKeepStr: '1',
|
||||||
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
|
@ -28,6 +28,11 @@ pipeline {
|
||||||
|
|
||||||
options {
|
options {
|
||||||
disableConcurrentBuilds()
|
disableConcurrentBuilds()
|
||||||
|
buildDiscarder(logRotator(
|
||||||
|
numToKeepStr: '10',
|
||||||
|
daysToKeepStr: '30',
|
||||||
|
artifactNumToKeepStr: '1',
|
||||||
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ pipeline {
|
||||||
buildDiscarder(logRotator(
|
buildDiscarder(logRotator(
|
||||||
numToKeepStr: '20',
|
numToKeepStr: '20',
|
||||||
daysToKeepStr: '30',
|
daysToKeepStr: '30',
|
||||||
|
artifactNumToKeepStr: '1',
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue