8156733: JIB fails to follow redirects

Make jib more resilient, let it follow redirects, and handle network hickups with 3 retries.

Reviewed-by: erikj
This commit is contained in:
Stefan Sarne 2016-05-11 13:42:31 +02:00 committed by Erik Joelsson
parent 47ddb954bd
commit febfbd0f65

View File

@ -89,7 +89,7 @@ install_jib() {
fi
if command -v curl > /dev/null; then
getcmd="curl -s"
getcmd="curl -s -L --retry 3 --retry-delay 5"
elif command -v wget > /dev/null; then
getcmd="wget --quiet -O -"
else