Log Message
fixed novnc url
Modified Paths
Diff
Modified: trunk/hudson/plugins/vncviewer/src/main/java/org/jenkinsci/plugins/vncviewer/VncViewerBuildWrapper.java (41270 => 41271)
--- trunk/hudson/plugins/vncviewer/src/main/java/org/jenkinsci/plugins/vncviewer/VncViewerBuildWrapper.java 2015-03-25 16:36:09 UTC (rev 41270)
+++ trunk/hudson/plugins/vncviewer/src/main/java/org/jenkinsci/plugins/vncviewer/VncViewerBuildWrapper.java 2015-03-25 17:29:22 UTC (rev 41271)
@@ -128,7 +128,8 @@
e.printStackTrace();
}
- String url = "" + InetAddress.getLocalHost().getHostAddress() + ":" + localPort + "/vnc_auto.html?host=dude17&port=" + localPort;
+ String hostAddr = InetAddress.getLocalHost().getHostAddress();
+ String url = "" + hostAddr + ":" + localPort + "/vnc_auto.html?host=" + hostAddr + "&port=" + localPort;
String txt = "Start vnc viewer for " + vncServ;
listener.getLogger().print('\n');
listener.annotate(new VncHyperlinkNote(url,txt.length()));
You received this message because you are subscribed to the Google Groups "Jenkins Commits" 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.
