ci: specify explicit throttle limits for Jenkins (#3913)

Otherwise they appear to not have any effect:
https://issues.jenkins.io/browse/JENKINS-49173
https://github.com/jenkinsci/throttle-concurrent-builds-plugin/pull/68

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-07-25 16:24:02 +02:00 committed by GitHub
parent dcea09ea5c
commit 5b66cd141e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

6
ci/Jenkinsfile vendored
View File

@ -23,9 +23,11 @@ pipeline {
))
/* Throttle number of concurrent builds. */
throttleJobProperty(
categories: ['nimbus-eth2'],
throttleEnabled: true,
throttleOption: 'category'
throttleOption: 'category',
categories: ['nimbus-eth2'],
maxConcurrentPerNode: 1,
maxConcurrentTotal: 6
)
/* Abort old builds for non-main branches. */
disableConcurrentBuilds(