is anybody out there? my script syntax for this is
cmd = 'java -jar ~/Downloads/jenkins-cli.jar -noKeyAuth -s https://stt-jenkins.disruptorbeam.com/ -auth rginga:0793b086e3c9272ddeb0daff1093518c connect-node ' + params.NODENAME st = sh(returnStatus: true, script: cmd) On Wed, Oct 4, 2017 at 10:08 AM, Richard Ginga <rgi...@disruptorbeam.com> wrote: > I see a thread happening on CLI issues. I have a different question/issue > and do not want to hijack that other discussion. > > when running any cli in a pipeline script I an getting below but the > command works > > *00:04:11.368* + java -jar /Users/jenkins/Downloads/jenkins-cli.jar > -noKeyAuth -s https://stt-jenkins.disruptorbeam.com/ -auth rginga:xxxxxxxxxx > connect-node perf-test-client3 > > *00:04:28.597* Oct 04, 2017 9:52:34 AM hudson.cli.CLI$5 run*00:04:28.597* > WARNING: null*00:04:28.597* java.io.IOException: Stream is > closed*00:04:28.597* at > sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(HttpURLConnection.java:3512)*00:04:28.597* > at > sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(HttpURLConnection.java:3486)*00:04:28.597* > at > java.io.DataOutputStream.writeInt(DataOutputStream.java:197)*00:04:28.597* > at > hudson.cli.PlainCLIProtocol$EitherSide.send(PlainCLIProtocol.java:175)*00:04:28.597* > at > hudson.cli.PlainCLIProtocol$ClientSide.sendEndStdin(PlainCLIProtocol.java:347)*00:04:28.597* > at hudson.cli.CLI$5.run(CLI.java:679)*00:04:28.597* > > -- > Dick Ginga > Build Engineer > rgi...@disruptorbeam.com > > -- Dick Ginga Build Engineer rgi...@disruptorbeam.com -- 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/CAL3PpaU2vJiaU65icq6vBNwBs%3D7_%3DvG_a4_tOq_vdVxHbLo4Ug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.