Merge "Use --globoff when downloading artifacts"

This commit is contained in:
Jenkins 2016-11-08 15:19:19 +00:00 committed by Gerrit Code Review
commit 82f50a2d2d

@ -8,7 +8,7 @@ trap cleanup EXIT
if [ -n "$artifact_urls" ]; then
for URL in $(echo $artifact_urls | sed -e "s| |\n|g" | sort -u); do
curl -o $TMP_DATA/file_data "$artifact_urls"
curl --globoff -o $TMP_DATA/file_data "$artifact_urls"
if file -b $TMP_DATA/file_data | grep RPM &>/dev/null; then
yum install -y $TMP_DATA/file_data
elif file -b $TMP_DATA/file_data | grep 'gzip compressed data' &>/dev/null; then