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
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
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