diff --git a/cli/src/main/java/hudson/cli/CLI.java b/cli/src/main/java/hudson/cli/CLI.java index 6549c39d7373cecf51501c1dbe883fe5d361fd31..2ee12793cdfe3a5545f8242e65201dc8bd30098d 100644 --- a/cli/src/main/java/hudson/cli/CLI.java +++ b/cli/src/main/java/hudson/cli/CLI.java @@ -261,7 +261,7 @@ public class CLI { /** * If the server advertises CLI endpoint, returns its location. */ - private CliPort getCliTcpPort(String url) throws IOException { + protected CliPort getCliTcpPort(String url) throws IOException { URL _url = new URL(url); if (_url.getHost()==null || _url.getHost().length()==0) { throw new IOException("Invalid URL: "+url);