History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3605
Type: Improvement Improvement
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Robin Shen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

A node attribute to return fully qualified domain name

Created: 30/Jul/20 11:06 PM   Updated: 18/Feb/21 02:25 PM
Component/s: None
Affects Version/s: 10.0.21
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Hostname on Windows build agents are not fully qualified with domain
Our Linux build agents return a fully qualified hostname xyz.test.com
But Windows only returns xyz.
This seems to be a difference in the hostname os command between windows and linux.
We use the Node hostname in a lot of places and can have same hostname in 2 different domains.
Is there some way to override using "hostname"?

Maybe if os = windows instead of "hostname" os command
Execute: net config workstation | findstr /C:"Full Computer name"
Or Java code use:
InetAddress.getLocalHost().getCanonicalHostName()

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.