Fix url presented by JenkinsRule#interactiveBreak

This commit is contained in:
Oliver Gondža committed 2015-07-09 16:14:50 +02:00
1 parent 38fc3e53e2
commit f32e9673af
1 file changed
+1 -1
@@ -967,7 +967,7 @@ public class JenkinsRule implements TestRule, MethodRule, RootAction {
* This is useful during debugging a test so that one can inspect the state of Hudson through the web browser.
*/
public void interactiveBreak() throws Exception {
System.out.println("Jenkins is running at http://localhost:"+localPort+"/");
System.out.println("Jenkins is running at " + getURL());
new BufferedReader(new InputStreamReader(System.in)).readLine();
}