Jenkins discard artifacts sooner

This commit is contained in:
Daniel Agar
2019-10-27 12:52:28 -04:00
committed by GitHub
parent e2cf501f9d
commit 7b94c501cd
8 changed files with 8 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ pipeline {
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} // pipeline } // pipeline

View File

@@ -122,7 +122,7 @@ pipeline {
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} // pipeline } // pipeline

View File

@@ -128,7 +128,7 @@ pipeline {
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} // pipeline } // pipeline

View File

@@ -84,7 +84,7 @@ pipeline {
CI = true CI = true
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
timeout(time: 120, unit: 'MINUTES') timeout(time: 120, unit: 'MINUTES')
} }
} }

View File

@@ -955,7 +955,7 @@ pipeline {
CI = true CI = true
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} }

View File

@@ -35,7 +35,7 @@ pipeline {
CI = true CI = true
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} }

View File

@@ -42,7 +42,7 @@ pipeline {
HEXAGON_TOOLS_ROOT="/home/jenkins/Qualcomm/HEXAGON_Tools/7.2.12/Tools" HEXAGON_TOOLS_ROOT="/home/jenkins/Qualcomm/HEXAGON_Tools/7.2.12/Tools"
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} }

2
Jenkinsfile vendored
View File

@@ -711,7 +711,7 @@ pipeline {
GIT_COMMITTER_NAME = "PX4BuildBot" GIT_COMMITTER_NAME = "PX4BuildBot"
} }
options { options {
buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30')) buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20'))
timeout(time: 60, unit: 'MINUTES') timeout(time: 60, unit: 'MINUTES')
} }
} }