Re: Need Help Getting host name

2017-12-06 Thread Ramanathan Muthaiah
> > 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 >

Need Help Getting host name

2017-12-05 Thread LOKESH RAJU
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