diff options
author | Dominik Stadler <centic@apache.org> | 2018-12-28 20:19:58 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2018-12-28 20:19:58 +0000 |
commit | a1cc75ccc02fbce07c564a5f3ff893eb18f10172 (patch) | |
tree | 4831f00faf6c4756e3abc670ee3405bdcbeb6ace /jenkins | |
parent | 22bdfcf39996980ab46cbfb3340a58861a89097a (diff) | |
download | poi-a1cc75ccc02fbce07c564a5f3ff893eb18f10172.tar.gz poi-a1cc75ccc02fbce07c564a5f3ff893eb18f10172.zip |
Jenkins DSL: throttle Github PR builds to not run many at once
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/create_jobs.groovy | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index a0a8df5805..a17bb24899 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -275,6 +275,10 @@ poijobs.each { poijob -> checkoutRetryCount(3) if (poijob.githubpr) { + throttleConcurrentBuilds { + maxPerNode(1) + maxTotal(1) + } parameters { /* plugin not available: gitParam('sha1') { |