From 01f4b5b68030020adcdfc5116803d7608fd7772a Mon Sep 17 00:00:00 2001 From: acpaquette Date: Tue, 28 Nov 2023 16:41:37 -0700 Subject: [PATCH] Set minimum number of logs to keep in Jenkins (#5351) --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 4d16630276..527d88417d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,6 +11,9 @@ pipeline { registryUrl 'https://950438895271.dkr.ecr.us-west-2.amazonaws.com' args '--entrypoint= -v /astro_efs:/astro_efs' } + options { + buildDiscarder(logRotator(numToKeepStr: '5')) + } } environment { ISISDATA = '/astro_efs/isis_data'