We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b81d69 commit df27e70Copy full SHA for df27e70
src/main/java/pl/project13/maven/git/GitCommitIdMojo.java
@@ -479,7 +479,7 @@ void loadBuildTimeData(@NotNull Properties properties) {
479
void loadBuildHostData(@NotNull Properties properties) {
480
String buildHost = null;
481
try {
482
- buildHost = InetAddress.getLocalHost().toString();
+ buildHost = InetAddress.getLocalHost().getHostName();
483
} catch (UnknownHostException e) {
484
log("Unable to get build host");
485
}
0 commit comments