Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[APEX][BGPVPN] Remove l2 from Name
[releng.git]
/
jjb
/
fuel
/
fuel-download-artifact.sh
diff --git
a/jjb/fuel/fuel-download-artifact.sh
b/jjb/fuel/fuel-download-artifact.sh
index
fd824ca
..
2a0f09a
100755
(executable)
--- a/
jjb/fuel/fuel-download-artifact.sh
+++ b/
jjb/fuel/fuel-download-artifact.sh
@@
-11,7
+11,7
@@
set -o errexit
set -o pipefail
# use proxy url to replace the nomral URL, for googleusercontent.com will be blocked randomly
set -o pipefail
# use proxy url to replace the nomral URL, for googleusercontent.com will be blocked randomly
-[[ "$NODE_NAME" =~ (zte) ]] && GS_URL=$
GS_BASE_PROXY
+[[ "$NODE_NAME" =~ (zte) ]] && GS_URL=$
{GS_BASE_PROXY%%/*}/$GS_URL
if [[ "$JOB_NAME" =~ "merge" ]]; then
echo "Downloading http://$GS_URL/opnfv-gerrit-$GERRIT_CHANGE_NUMBER.properties"
if [[ "$JOB_NAME" =~ "merge" ]]; then
echo "Downloading http://$GS_URL/opnfv-gerrit-$GERRIT_CHANGE_NUMBER.properties"
@@
-59,7
+59,7
@@
echo "--------------------------------------------------------"
echo
# download the file
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
# list the file
ls -al $WORKSPACE/opnfv.iso