Re: JNLP : Error: Invalid or corrupt jarfile agent.jar

2019-07-18 Thread Mark Strasser
Also make sure to launch with at least Java 8, preferably the exact version of Java running Jenkins. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: JNLP : Error: Invalid or corrupt jarfile agent.jar

2019-07-17 Thread Mark Waite
Maybe a virus scanner is damaging the file during download? On Wed, Jul 17, 2019, 3:29 AM Mathieu Delrocq wrote: > Hello, > > My problem is when try to launch the command "java -jar agent.jar ... " to > connect my Jenkins agent via JNLP, I got the error "Error: Invalid or > corrupt jarfile

JNLP : Error: Invalid or corrupt jarfile agent.jar

2019-07-17 Thread Mathieu Delrocq
Hello, My problem is when try to launch the command "java -jar agent.jar ... " to connect my Jenkins agent via JNLP, I got the error "Error: Invalid or corrupt jarfile agent.jar". I download agent.jar with a command "curl". My Jenkins is launched with the war (java -jar jenkins.war) and I