Michael Neale | 57de5eb | 2014-07-15 19:41:30 +1000 | [diff] [blame] | 1 | import hudson.model.*; |
2 | import jenkins.model.*; | ||||
3 | |||||
Michael Neale | fe68374 | 2014-09-26 20:49:30 +1000 | [diff] [blame^] | 4 | |
5 | Thread.start { | ||||
6 | sleep 10000 | ||||
7 | println "--> setting agent port for jnlp" | ||||
8 | Jenkins.instance.setSlaveAgentPort(50000) | ||||
9 | } |