From 1ec08ec6bdc27d943731eeee10d0e9b32c8489f8 Mon Sep 17 00:00:00 2001
From: Daniel Agar <daniel@agar.ca>
Date: Sat, 19 Jan 2019 12:00:51 -0500
Subject: [PATCH] Jenkins more aggressively discard large builds

---
 .ci/Jenkinsfile-SITL_tests | 2 +-
 .ci/Jenkinsfile-compile    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.ci/Jenkinsfile-SITL_tests b/.ci/Jenkinsfile-SITL_tests
index aeef32efca..f1274ee314 100644
--- a/.ci/Jenkinsfile-SITL_tests
+++ b/.ci/Jenkinsfile-SITL_tests
@@ -202,7 +202,7 @@ pipeline {
   }
 
   options {
-    buildDiscarder(logRotator(numToKeepStr: '5', artifactDaysToKeepStr: '30'))
+    buildDiscarder(logRotator(numToKeepStr: '2', artifactDaysToKeepStr: '14'))
     timeout(time: 60, unit: 'MINUTES')
   }
 } // pipeline
diff --git a/.ci/Jenkinsfile-compile b/.ci/Jenkinsfile-compile
index 01aa237ac5..a09ba89d93 100644
--- a/.ci/Jenkinsfile-compile
+++ b/.ci/Jenkinsfile-compile
@@ -158,7 +158,7 @@ pipeline {
     CI = true
   }
   options {
-    buildDiscarder(logRotator(numToKeepStr: '5', artifactDaysToKeepStr: '30'))
+    buildDiscarder(logRotator(numToKeepStr: '2', artifactDaysToKeepStr: '14'))
     timeout(time: 60, unit: 'MINUTES')
   }
 }
-- 
GitLab