]> source.dussan.org Git - poi.git/commitdiff
Jenkins DSL: throttle Github PR builds to not run many at once
authorDominik Stadler <centic@apache.org>
Fri, 28 Dec 2018 20:19:58 +0000 (20:19 +0000)
committerDominik Stadler <centic@apache.org>
Fri, 28 Dec 2018 20:19:58 +0000 (20:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849884 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

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