-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Ubuntu 13.04 64bit
Command being run inside build script:
java -jar jenkins-cli.jar set-build-result aborted
Intermittently results in this crash:
Exception in thread "main" java.lang.NegativeArraySizeException
at hudson.cli.Connection.readByteArray(Connection.java:131)
at hudson.cli.CLI.connectViaCliPort(CLI.java:243)
at hudson.cli.CLI.<init>(CLI.java:134)
at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
at hudson.cli.CLI._main(CLI.java:469)
at hudson.cli.CLI.main(CLI.java:384)
Build is a matrix job if that makes any difference
- relates to
-
JENKINS-41745 Remoting-free CLI
-
- Resolved
-
I see this in my setup, v 1.550:
java -jar /var/lib/jenkins/jenkins-cli.jar -s http://10.7.0.182:8080/ set-build-description some_txt 980 'GIT: e4e1681511df4548ac6365adad064b2818280833' --username name --password 'word'
Exception in thread "main" java.lang.NegativeArraySizeException
at hudson.cli.Connection.readByteArray(Connection.java:131)
at hudson.cli.CLI.connectViaCliPort(CLI.java:243)
at hudson.cli.CLI.<init>(CLI.java:134)
at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
at hudson.cli.CLI._main(CLI.java:469)
at hudson.cli.CLI.main(CLI.java:384)
Build step 'Execute shell' marked build as failure