Is there a way to reliably check if a plugin is running on the master node?
Currently I'm doing this:
boolean isMaster = abstractBuild.getBuiltOn().getNodeName().equals("");
But this seems like a bit of a hack to me. Is there a better way?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" 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.