poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1849884 - /poi/trunk/jenkins/create_jobs.groovy
Date Fri, 28 Dec 2018 20:19:58 GMT
Author: centic
Date: Fri Dec 28 20:19:58 2018
New Revision: 1849884

URL: http://svn.apache.org/viewvc?rev=1849884&view=rev
Log:
Jenkins DSL: throttle Github PR builds to not run many at once

Modified:
    poi/trunk/jenkins/create_jobs.groovy

Modified: poi/trunk/jenkins/create_jobs.groovy
URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1849884&r1=1849883&r2=1849884&view=diff
==============================================================================
--- poi/trunk/jenkins/create_jobs.groovy (original)
+++ poi/trunk/jenkins/create_jobs.groovy Fri Dec 28 20:19:58 2018
@@ -275,6 +275,10 @@ poijobs.each { poijob ->
         checkoutRetryCount(3)
 
         if (poijob.githubpr) {
+            throttleConcurrentBuilds {
+                maxPerNode(1)
+                maxTotal(1)
+            }
             parameters {
                 /* plugin not available:
                 gitParam('sha1') {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message