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
This commit is contained in:
Dominik Stadler 2018-12-28 20:19:58 +00:00
parent 22bdfcf399
commit a1cc75ccc0
1 changed files with 4 additions and 0 deletions

View File

@ -275,6 +275,10 @@ poijobs.each { poijob ->
checkoutRetryCount(3)
if (poijob.githubpr) {
throttleConcurrentBuilds {
maxPerNode(1)
maxTotal(1)
}
parameters {
/* plugin not available:
gitParam('sha1') {