Skip to content

Commit

Permalink
ci: enable concurrent builds with a rate limit per hour
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed May 6, 2020
1 parent 7afb57d commit 8f16020
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ pipeline {
ansiColor('xterm')
disableResume()
durabilityHint('PERFORMANCE_OPTIMIZED')
disableConcurrentBuilds()
quietPeriod(10)
rateLimitBuilds(throttle: [count: 60, durationName: 'hour', userBoost: true])
}
triggers {
issueCommentTrigger('(?i).*(?:jenkins\\W+)?run\\W+(?:the\\W+)?tests(?:\\W+please)?.*')
Expand Down

0 comments on commit 8f16020

Please sign in to comment.