Skip to content

Commit

Permalink
Jenkinsfile: longer history, less artifacts
Browse files Browse the repository at this point in the history
Keep more builds to get better statistics for master and BETA branches.
But less builds for others (especially PRs).

eclipse-platform/eclipse.platform.releng.aggregator#2653
  • Loading branch information
jukzi committed Dec 17, 2024
1 parent 9d3138b commit e69701a
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 @@
pipeline {
options {
timeout(time: 90, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr:'15'))
buildDiscarder(logRotator(numToKeepStr: (env.BRANCH_NAME == 'master' || env.BRANCH_NAME ==~ 'BETA.*') ? '100':'5', artifactNumToKeepStr: (env.BRANCH_NAME == 'master' || env.BRANCH_NAME ==~ 'BETA.*') ? '15':'2'))
disableConcurrentBuilds(abortPrevious: true)
timestamps()
}
Expand Down

0 comments on commit e69701a

Please sign in to comment.