Paul Allen commented on New Feature JENKINS-24512

Ok, so this works for slaves, but I totally forgot if you don't use slaves then NODE_NAME returns 'master'. Unless you're Jenkins server's hostname is 'master' this isn't much use.

I have added some helper function to access the real hostname from the Computer object, but this gives a FQDN; is that an issue or should I look to shorten it to just the machine alias? e.g.

foo.domain.com --> foo

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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to