Make artifact download fail on non-successful HTTP status codes

This commit is contained in:
Simon Sapin 2018-09-20 19:14:51 +02:00
parent c7234642a3
commit 72cbc0e6e1
2 changed files with 3 additions and 10 deletions

View file

@ -8,5 +8,6 @@ curl \
--retry 5 \
--connect-timeout 10 \
--location \
--fail \
"$url" \
"$@"