blob: 2f9f1293665ccc56b1dee8fe3834cdf5c055acd6 [file] [log] [blame]
import hudson.model.*;
import jenkins.model.*;
Thread.start {
sleep 10000
println "--> setting agent port for jnlp"
Jenkins.instance.setSlaveAgentPort(env['JENKINS_SLAVE_AGENT_PORT'])
println "--> setting agent port for jnlp... done"
}