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:
parent
47ddb954bd
commit
febfbd0f65
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user