Using an init.groovy script to modify attributes of a slave

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Using an init.groovy script to modify attributes of a slave

Andy H
Hi,

I'm using DC/OS (Mesos / Marathon) and I'm trying to get Windows slaves working through a Jenkins master. It does work if I tunnel through the IP address of the mesos slave that the jenkins master is running on and the port exposed for JNLP but when the jenkins master is restarted these settings will not be correct as the IP address and port will change. I'm looking to have a script in init.groovy.d to correct these settings on startup just not sure where to start, any advice?

Thanks

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/29519df7-10b8-48f9-afd6-b8ccb424f195%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.