>
> Hi,
>
>I want to have a script (bash) which can disconnect &
reconnect a Jenkins slave connected through JNLP.
Please do the needful.
Thanks & Regards,
Sridevi
--
You received this message because you are subscribed to the Googl
My code snippet was just a starting point. To elaborate your use case
you may need to
do some investigations; a good start point may be
http://javadoc.jenkins-ci.org/
On 2014-10-21 01:18, pjl83...@gmail.com wrote:
Just to be clear, the solution you proposed for connecting is not just
for han
Just to be clear, the solution you proposed for connecting is not just for
handling the temporary offline case?
Do you also have a solution for *disconnecting a slave,* not just
temporarily taking it offline (I want to close the channel of communication
between master and slave)?
In the* reco
something like
import jenkins.model.*;
for (slave in Jenkins.instance.slaves) {
def comp=slave.computer;
if (comp.isOffline()) {
if (comp.getOfflineCauseReason().matches(".*computer was idle.*")) {
comp.connect(true);
} else {
println("${comp.name} went offline unexpected"
On Friday, October 17, 2014 11:09:04 AM UTC-7, pjl8...@gmail.com wrote:
>
> Hi
>
> I need to disconnect and reconnect nodes programmatically ( in groovy if
> possible)
> is there a way to do this?
>
> Thanks
> Peter
>
--
You received this message because you are subscribed to the Google Gro
On Friday, October 17, 2014 11:09:04 AM UTC-7, pjl8...@gmail.com wrote:
>
> Hi
>
> I need to disconnect and reconnect nodes programmatically ( in groovy if
> possible)
> is there a way to do this?
>
> Thanks
> Peter
>
--
You received this message because you are subscribed to the Google Gro