diff --git a/Jenkinsfile.github b/Jenkinsfile.github index b2ed97be20c..d6cbe6bfb25 100644 --- a/Jenkinsfile.github +++ b/Jenkinsfile.github @@ -25,7 +25,13 @@ pipeline { options { // N.B. this is per-branch, which means per PR disableConcurrentBuilds() - buildDiscarder(logRotator(daysToKeepStr: '15', artifactDaysToKeepStr: '5')) + buildDiscarder(logRotator( + daysToKeepStr: '3', + artifactDaysToKeepStr: '3', + numToKeepStr: '2', + artifactNumToKeepStr: '2' + )) + rateLimitBuilds(throttle: [count: 2, durationName: 'day', userBoost: true]) timeout (time: 11, unit: 'HOURS') timestamps() skipDefaultCheckout()