Key: |
QB-3605
|
Type: |
Improvement
|
Status: |
Closed
|
Resolution: |
Won't Fix
|
Priority: |
Major
|
Assignee: |
Robin Shen
|
Reporter: |
Robin Shen
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
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
|
|
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()
|
Description
|
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() |
Show » |
No work has yet been logged on this issue.
|
|