From b60bcec5734d0b727dd5a27b69705a0566408217 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Fri, 28 Dec 2018 20:19:58 +0000 Subject: [PATCH] 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 --- jenkins/create_jobs.groovy | 4 ++++ 1 file changed, 4 insertions(+) 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') { -- 2.39.5