Hi Team,

I have a custom plugin which during the post-build phase needs the 
hostname/IP address of the node where the build is executing,

build.getExecutor().getOwner().getNode().toComputer().getHostName()

I have been using the above method, but it does not give me the right host 
name

Regards
Lokesh Raju S

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8a045919-216b-4a60-ba63-127bf2efd395%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to