Unverified Commit 602d1377 authored by Vincent Privat's avatar Vincent Privat Committed by GitHub

Ignore https redirection errors for ivy download

Bintray can redirect https requests to their CDN using http.
Ant get task does not allow that, so it's better to ignore this kind of errors, as it makes our Jenkind build fail for nothing when the jar has already been downloaded before.
parent 6efc7828
Pipeline #30892678 passed with stages
in 6 minutes and 58 seconds
......@@ -29,7 +29,7 @@
<target name="download-ivy">
<mkdir dir="${ivy.jar.dir}"/>
<get src="https://jcenter.bintray.com/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar" dest="${ivy.jar.file}" usetimestamp="true"/>
<get src="https://jcenter.bintray.com/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar" dest="${ivy.jar.file}" usetimestamp="true" ignoreerrors="true"/>
</target>
<target name="init-ivy" depends="download-ivy">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment