diff options
author | Julien <zhang.jun3g@zte.com.cn> | 2016-11-23 22:21:20 +0800 |
---|---|---|
committer | Julien <zhang.jun3g@zte.com.cn> | 2016-11-23 22:30:50 +0800 |
commit | 4da12f732e8aa918719c2a8c30e7a78dc0b15428 (patch) | |
tree | 28f471c2d4e1d5168fbb01c3cc98e64b3a1c68fc /jjb/fuel/fuel-download-artifact.sh | |
parent | 0eec8a270dc3c416d6c93e14708c9cb5c3b53dce (diff) |
Add -L parameter to curl for download ISO files
same as patch 24385, which just fixed the latest.properties file
curl:
-L, --location
(HTTP/HTTPS) If the server reports that the requested page has moved
to a different location (indicated with a Location: header and a 3XX
response code), this option will make curl redo the request on the
new place.
without -L, curl just download the redirects info not the file.
JIRA: FUEL-225
Change-Id: I20a01b628ca1545def68bd4e0b24594c24ee7f85
Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
Diffstat (limited to 'jjb/fuel/fuel-download-artifact.sh')
-rwxr-xr-x | jjb/fuel/fuel-download-artifact.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/fuel/fuel-download-artifact.sh b/jjb/fuel/fuel-download-artifact.sh index fd824ca44..1f4aa8f85 100755 --- a/jjb/fuel/fuel-download-artifact.sh +++ b/jjb/fuel/fuel-download-artifact.sh @@ -59,7 +59,7 @@ echo "--------------------------------------------------------" echo # download the file -curl -s -o $WORKSPACE/opnfv.iso http://$OPNFV_ARTIFACT_URL > gsutil.iso.log 2>&1 +curl -L -s -o $WORKSPACE/opnfv.iso http://$OPNFV_ARTIFACT_URL > gsutil.iso.log 2>&1 # list the file ls -al $WORKSPACE/opnfv.iso |