Steps to reproduce

1. Install Jenkins via Homebrew
2. Download jenkins-cli.jar -
3. run

    java -jar jenkins-cli.jar -s http://localhost:8080/ help

response:

Enter passphrase for /Users/jenkins/.ssh/id_rsa:

Exception in thread "main" java.io.IOException: There's no Jenkins running 
at http://localhost:8080/

at hudson.cli.CLI.getCliTcpPort(CLI.java:281)

at hudson.cli.CLI.<init>(CLI.java:126)

at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)

at hudson.cli.CLI._main(CLI.java:466)

at hudson.cli.CLI.main(CLI.java:382)

Suppressed: java.net.SocketException: Connection reset

 at java.net.SocketInputStream.read(SocketInputStream.java:209)

 at java.net.SocketInputStream.read(SocketInputStream.java:141)

 at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:704)

 at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647)

 at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:675)

 at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1535)

 at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)

 at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:78)

 at hudson.cli.CLI.connectViaHttp(CLI.java:156)

 at hudson.cli.CLI.<init>(CLI.java:130)

 ... 3 more

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/46df016d-9e73-4912-bcb5-e5f8eec95367%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to