Skip to content

Commit

Permalink
Reduce kept files in Jenkins
Browse files Browse the repository at this point in the history
daysToKeepStr deletes the entire build, not just the artifacts, after
the days value is reached.

We can reduce the number of days we keep the builds too.
  • Loading branch information
UniversalSuperBox authored and doniks committed Aug 28, 2021
1 parent 584084f commit 36a4b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pipeline {
}
}
options {
buildDiscarder(logRotator(artifactDaysToKeepStr: '180'))
buildDiscarder(logRotator(daysToKeepStr: '120'))
}
environment {
HOME = "${env.WORKSPACE}"
Expand Down

0 comments on commit 36a4b4a

Please sign in to comment.