Hi, 

I am trying to delete the old build from cli using the command

java -jar jenkins-cli.jar -s http://example.com:8080 delete-builds 
myproject '25-26' --username $user --password $pwd

but getting these errors :

java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A
        at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:806)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
        at 
hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48)
        at 
hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
        at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:59)

hudson.remoting.RequestAbortedException: java.io.StreamCorruptedException: 
invalid stream header: 0A0A0A0A
        at hudson.remoting.Request.abort(Request.java:303)
        at hudson.remoting.Channel.terminate(Channel.java:863)
        at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:92)
        at ......remote call to Chunked connection to 
http://example.com:8080/cli(Native Method)
        at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1433)
        at hudson.remoting.Request.call(Request.java:172)
        at hudson.remoting.Channel.call(Channel.java:796)
        at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:252)
        at hudson.remoting.$Proxy1.waitForProperty(Unknown Source)
        at hudson.remoting.Channel.waitForRemoteProperty(Channel.java:1275)
        at hudson.cli.CLI.<init>(CLI.java:141)
        at 
hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
        at hudson.cli.CLI._main(CLI.java:473)
        at hudson.cli.CLI.main(CLI.java:384)
Caused by: java.io.StreamCorruptedException: invalid stream header: 0A0A0A0A
        at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:806)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
        at 
hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48)
        at 
hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
        at 
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:59)

-- 
DISCLAIMER: The information in this message is "Powerupcloud Technologies" 
confidential and may be legally privileged. It is intended solely for the 
addressee. Access to this message by anyone else is unauthorized. If you 
are not the intended recipient, any disclosure, copying, or distribution of 
the message, or any action or omission taken by you in reliance on it, is 
prohibited and may be unlawful. Please contact [email protected] 
immediately if you have received this message in error. Thank you.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/263920d7-e86b-4130-a29a-f2fe90b95cdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to