Maybe a virus scanner is damaging the file during download? On Wed, Jul 17, 2019, 3:29 AM Mathieu Delrocq <[email protected]> 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 agent.jar". > I download agent.jar with a command "curl". > > My Jenkins is launched with the war (java -jar jenkins.war) and I tried > with the versions 2.150.3 and 2.176.1. > > Do you have any idea? > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/783cb7df-9e6e-4c2c-866e-214f71de4b10%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/783cb7df-9e6e-4c2c-866e-214f71de4b10%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtFgwz4vN8yTfpOeWghp%2BPr2L5XwRUi4Bh6cpDdG4BgAPg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
