Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-27 Thread Eric Pyle
I don't think that will help. The CLI changed in a recent release, and even without the reverse proxy you have to change how you use it. Did you have a look at the "Common Problems with the CLI client" in the docs? Remember that the username you are passing with -user is a Jenkins user id, not

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
Thanks Eric! I updated my java version to 1.8 and it appears my command line has changed since the version of java-cli.jar I was using. the -i doesn't work together with the -s without a -ssh and the -ssh needs a -user, lol. But once I put all those together, I get: java -cp /my/path/to/jar/

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Pyle
It's telling you the Java version is not correct. What version of Java are you using? Needs to be 1.8 for current Jenkins. On 6/25/2019 11:27 AM, Eric Fetzer wrote: OK, that was a flop.  I downloaded the correct jenkins-cli.jar from : http://myJenkinsServer:8080 /

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
OK, that was a flop. I downloaded the correct jenkins-cli.jar from : http://myJenkinsServer:8080 / jnlpJars/jenkins-cli.jar , and now I get: Exception in thread "main" java.lang.UnsupportedClassVersionError: hu

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
OK, I think I've been getting lucky for years. It appears I'm supposed to be updating jenkins-cli.jar as jenkins is updated (happening from yum update all, but it's not me doing it so I don't think about it). Updating the jenkins client, I'll respond how that worked in a bit. Thanks! On Tue

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
Looks like this issue was fixed with Jenkins 1.424: java.io.EOFException > $ java -jar jenkins-cli.jar -s YOUR_SERVER_URL login > Exception in thread "main" java.io.EOFException > at java.io.DataInputStream.readBoolean(DataInputStream.java:227) > at hudson.cli.Connection.readBoolean(Connec

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
OK, fixed the typo in my export statement and the actual error I'm getting is: Exception in thread "main" java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readUTF(DataInputStream.java:609) at java.io.DataInputSt

Re: jenkins-cli.jar stopped working for not apparent reason

2019-06-25 Thread Eric Fetzer
I can figure out why I can't connect on port 8080. Just need to figure out why all-of-a-sudden, he doesn't understand the -s. Thanks, Eric On Tuesday, June 25, 2019 at 8:12:58 AM UTC-6, Eric Fetzer wrote: > > This makes no sense. When I run the command: > > java -cp /my/path/to/jar/jenkins-cli