Hi!

I've successfully implemented the use of a url call to toggle the status of
a build note to either be online, or offline:

<jenkinsurl>/computer/<node_name>/toggleOffline?offlineMessage=Offline

Which works fine.  However, each call of this URL just toggles the current
status.  Is there another parameter that I could call that either
explicitly tries to take it offline, or put it online?

The reason I ask is that I'm concerned that if my script dies part of the
way through, that an agent machine might be left in the wrong state, and
the next invocation of the script will flip the status the wrong way,
rather than explicitly taking it offline.

Thanks!
Scott

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to