blob: 491715f55292cc5d71fada3723cb75dde3843438 [file] [log] [blame]
import hudson.model.*;
import jenkins.model.*;
Thread.start {
sleep 10000
println "--> setting maximum number of executors on master"
Jenkins.instance.setNumExecutors(1)
Jenkins.instance.reload()
}