From 7b94c501cd939c5d3a26fbc4c202dde6881bf389 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sun, 27 Oct 2019 12:52:28 -0400 Subject: [PATCH] Jenkins discard artifacts sooner --- .ci/Jenkinsfile-SITL_tests | 2 +- .ci/Jenkinsfile-SITL_tests_ASan | 2 +- .ci/Jenkinsfile-SITL_tests_coverage | 2 +- .ci/Jenkinsfile-compile_mac | 2 +- .ci/Jenkinsfile-hardware | 2 +- .ci/Jenkinsfile-hardware_linux | 2 +- .ci/Jenkinsfile-hardware_snapdragon | 2 +- Jenkinsfile | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.ci/Jenkinsfile-SITL_tests b/.ci/Jenkinsfile-SITL_tests index 7d7820457d..df6206586b 100644 --- a/.ci/Jenkinsfile-SITL_tests +++ b/.ci/Jenkinsfile-SITL_tests @@ -121,7 +121,7 @@ pipeline { } options { - buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20')) timeout(time: 60, unit: 'MINUTES') } } // pipeline diff --git a/.ci/Jenkinsfile-SITL_tests_ASan b/.ci/Jenkinsfile-SITL_tests_ASan index cc39f3e485..88c685a504 100644 --- a/.ci/Jenkinsfile-SITL_tests_ASan +++ b/.ci/Jenkinsfile-SITL_tests_ASan @@ -122,7 +122,7 @@ pipeline { } options { - buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20')) timeout(time: 60, unit: 'MINUTES') } } // pipeline diff --git a/.ci/Jenkinsfile-SITL_tests_coverage b/.ci/Jenkinsfile-SITL_tests_coverage index 5eba66cf49..9757d4c1d3 100644 --- a/.ci/Jenkinsfile-SITL_tests_coverage +++ b/.ci/Jenkinsfile-SITL_tests_coverage @@ -128,7 +128,7 @@ pipeline { } options { - buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20')) timeout(time: 60, unit: 'MINUTES') } } // pipeline diff --git a/.ci/Jenkinsfile-compile_mac b/.ci/Jenkinsfile-compile_mac index 019e9a0ae5..ef6a4c9ced 100644 --- a/.ci/Jenkinsfile-compile_mac +++ b/.ci/Jenkinsfile-compile_mac @@ -84,7 +84,7 @@ pipeline { CI = true } options { - buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20')) timeout(time: 120, unit: 'MINUTES') } } diff --git a/.ci/Jenkinsfile-hardware b/.ci/Jenkinsfile-hardware index 652f2b95a4..a6bf702727 100644 --- a/.ci/Jenkinsfile-hardware +++ b/.ci/Jenkinsfile-hardware @@ -955,7 +955,7 @@ pipeline { CI = true } options { - buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20')) timeout(time: 60, unit: 'MINUTES') } } diff --git a/.ci/Jenkinsfile-hardware_linux b/.ci/Jenkinsfile-hardware_linux index d884183aa3..c6797d67df 100644 --- a/.ci/Jenkinsfile-hardware_linux +++ b/.ci/Jenkinsfile-hardware_linux @@ -35,7 +35,7 @@ pipeline { CI = true } options { - buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20')) timeout(time: 60, unit: 'MINUTES') } } diff --git a/.ci/Jenkinsfile-hardware_snapdragon b/.ci/Jenkinsfile-hardware_snapdragon index b5b042dae4..db06eb9fa2 100644 --- a/.ci/Jenkinsfile-hardware_snapdragon +++ b/.ci/Jenkinsfile-hardware_snapdragon @@ -42,7 +42,7 @@ pipeline { HEXAGON_TOOLS_ROOT="/home/jenkins/Qualcomm/HEXAGON_Tools/7.2.12/Tools" } options { - buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20')) timeout(time: 60, unit: 'MINUTES') } } diff --git a/Jenkinsfile b/Jenkinsfile index 5faee9cb62..3cab0aa23e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -711,7 +711,7 @@ pipeline { GIT_COMMITTER_NAME = "PX4BuildBot" } options { - buildDiscarder(logRotator(numToKeepStr: '20', artifactDaysToKeepStr: '30')) + buildDiscarder(logRotator(numToKeepStr: '10', artifactDaysToKeepStr: '20')) timeout(time: 60, unit: 'MINUTES') } }