Skip to content

Commit 13964f1

Browse files
committed
fix rateLimitBuilds warning
https://issues.jenkins.io/browse/JENKINS-63573 >WARNING: Unknown parameter(s) found for class type 'jenkins.branch.RateLimitBranchProperty$JobPropertyImpl': count,durationName,userBoost > >Searching for other examples it appears that the correct syntax is rateLimitBuilds(throttle: [count: 1, durationName: 'week', userBoost: true]).
1 parent 1f97130 commit 13964f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile.deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ properties([
33
disableConcurrentBuilds(),
44
disableResume(),
55
durabilityHint('PERFORMANCE_OPTIMIZED'),
6-
rateLimitBuilds([
6+
rateLimitBuilds(throttle: [
77
count: 1,
88
durationName: 'hour',
99
userBoost: true,

0 commit comments

Comments
 (0)