Skip to content

Commit

Permalink
ci: Keep only the artifacts of the last 2 builds (#5383)
Browse files Browse the repository at this point in the history
Keep only the arfifacts of the last 2 builds

In order to save disk space, the number of builds to keep with artifacts should be limited to 2.

This change should be applied to all branches.
  • Loading branch information
fredg02 authored Sep 30, 2024
1 parent 5e80391 commit d6985ba
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
@@ -1,7 +1,7 @@
node {
properties([
disableConcurrentBuilds(abortPrevious: true),
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '10')),
buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '2', daysToKeepStr: '', numToKeepStr: '10')),
gitLabConnection('gitlab.eclipse.org'),
[$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false],
[$class: 'JobLocalConfiguration', changeReasonComment: '']
Expand Down

0 comments on commit d6985ba

Please sign in to comment.