mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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:
parent
22bdfcf399
commit
a1cc75ccc0
@ -275,6 +275,10 @@ poijobs.each { poijob ->
|
||||
checkoutRetryCount(3)
|
||||
|
||||
if (poijob.githubpr) {
|
||||
throttleConcurrentBuilds {
|
||||
maxPerNode(1)
|
||||
maxTotal(1)
|
||||
}
|
||||
parameters {
|
||||
/* plugin not available:
|
||||
gitParam('sha1') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user