Exception in thread "main" java.io.IOException: Premature EOF in jenkins-cli.jar

180 views
Skip to first unread message

cpow

unread,
Aug 11, 2011, 11:13:23 AM8/11/11
to Jenkins Users
I am trying to use the CLI to build a job remotely instead of using
SCM polling. I have the CLI set up and I am just not sure what is
happening here to be honest. anyone have any insight?

$ java -jar _jenkins-cli.jar -s https://jenkins.<compoany>.com/hudson/
help
Exception in thread "main" java.io.IOException: Premature EOF
at
sun.net.www.http.ChunkedInputStream.readAheadBlocking(ChunkedInputStream.java:
538)
at
sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:
582)
at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:
669)
at java.io.FilterInputStream.read(FilterInputStream.java:116)
at sun.net.www.protocol.http.HttpURLConnection
$HttpInputStream.read(HttpURLConnection.java:2676)
at sun.net.www.protocol.http.HttpURLConnection
$HttpInputStream.read(HttpURLConnection.java:2671)
at sun.net.www.protocol.http.HttpURLConnection
$HttpInputStream.read(HttpURLConnection.java:2660)
at hudson.remoting.Channel.<init>(Channel.java:393)
at hudson.remoting.Channel.<init>(Channel.java:354)
at hudson.remoting.Channel.<init>(Channel.java:315)
at hudson.remoting.Channel.<init>(Channel.java:311)
at hudson.remoting.Channel.<init>(Channel.java:299)
at hudson.cli.CLI.<init>(CLI.java:111)
at hudson.cli.CLI.<init>(CLI.java:82)
at hudson.cli.CLI._main(CLI.java:250)
at hudson.cli.CLI.main(CLI.java:199)
Reply all
Reply to author
Forward
0 new messages