diff --git a/Jenkinsfile b/Jenkinsfile index 58e2752..db4dfd1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -92,6 +92,7 @@ spec: } options { disableConcurrentBuilds() + buildDiscarder(logRotator(daysToKeepStr: '30', numToKeepStr: '200', artifactDaysToKeepStr: '30', artifactNumToKeepStr: '120')) } triggers { // Poll every 2 minutes; notifyCommit can also trigger, but polling keeps it moving without webhook tokens.