According to Javadoc, hostname is null if...
> ... if the host name cannot be computed (for example because this computer is offline, because the slave is behind the firewall, etc.)

The hostname is being calculated using java.net.InetAddress::getCanonicalHostName(), so the real result depends on the implementation in JVM. I see a glitch in Perforce Plugin code, which may cause an NPE. However, it should not cause the described behavior.

Currently, the most of plugin EnvVar substitutions will fail if they really need ${hostname}.
I would vote for merging https://github.com/jenkinsci/perforce-plugin/pull/66

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