Invalid or corrupted jar file

im working on docker file which downloads jenkins.war and jenkins-cli.jar and when i run image in bash it causing me the error:Invalid or corrupted jar file
if i copy from my system to container it will work fine.

how can i resolve this may

How does this relate to Snowplow @Hithesh?