Browse Source

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
tags/REL_4_1_0
Dominik Stadler 5 years ago
parent
commit
a1cc75ccc0
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      jenkins/create_jobs.groovy

+ 4
- 0
jenkins/create_jobs.groovy 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') {

Loading…
Cancel
Save