Paul Allen commented on New Feature JENKINS-24512

Hi Dan, just running some tests now...

I had some issues determining the Node name/host. I can implement this in two ways:

1. hostname = envVars.get("NODE_NAME", "");
2. hostname = InetAddress.getLocalHost().getHostName();

Option 2 is not totally reliable and option 1 relies on Users calling the Node the same as the hostname.

I will likely need to add some checks to see if the host is already set, or should I override any previous values at the start of the build?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" 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