commit | aebb8b2423af1cc251868b035debcb5076d85966 | [log] [tgz] |
---|---|---|
author | jeichel <jeichel@miovision.com> | Mon Aug 10 12:38:20 2015 -0400 |
committer | jeichel <jeichel@miovision.com> | Mon Aug 10 12:38:20 2015 -0400 |
tree | 2e5bdb88e1532aa6a598921298ade54904e902e6 | |
parent | beabf9a8e39a632b860b53ee6c3e9bad1ae74fe1 [diff] [blame] |
Added jenkins slave agent port settings through the environmental variable JENKINS_SLAVE_AGENT_PORT
diff --git a/init.groovy b/init.groovy index a42a733..2f9f129 100644 --- a/init.groovy +++ b/init.groovy
@@ -5,6 +5,6 @@ Thread.start { sleep 10000 println "--> setting agent port for jnlp" - Jenkins.instance.setSlaveAgentPort(50000) + Jenkins.instance.setSlaveAgentPort(env['JENKINS_SLAVE_AGENT_PORT']) println "--> setting agent port for jnlp... done" }