Title: [41278] trunk/hudson/plugins/vncviewer/src/main/java/org/jenkinsci/plugins/vncviewer/VncViewerBuildWrapper.java: fixed wrong local port in the url
Revision
41278
Author
tbaum
Date
2015-03-26 08:13:04 -0400 (Thu, 26 Mar 2015)

Log Message

fixed wrong local port in the url

Modified Paths


Diff

Modified: trunk/hudson/plugins/vncviewer/src/main/java/org/jenkinsci/plugins/vncviewer/VncViewerBuildWrapper.java (41277 => 41278)


--- trunk/hudson/plugins/vncviewer/src/main/java/org/jenkinsci/plugins/vncviewer/VncViewerBuildWrapper.java	2015-03-26 10:53:32 UTC (rev 41277)
+++ trunk/hudson/plugins/vncviewer/src/main/java/org/jenkinsci/plugins/vncviewer/VncViewerBuildWrapper.java	2015-03-26 12:13:04 UTC (rev 41278)
@@ -129,7 +129,7 @@
 		}
 
 		String hostAddr = InetAddress.getLocalHost().getHostName();
-		String url = "" + hostAddr + ":" + localPort + "/vnc_auto.html?host=" + hostAddr + "&port=" + localPort;
+		String url = "" + hostAddr + ":" + lp + "/vnc_auto.html?host=" + hostAddr + "&port=" + lp;
 		String txt = "Start vnc viewer for " + vncServReplaced;
 		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.

Reply via email to