summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2016-11-25 01:47:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-25 01:47:50 +0000
commit722ba6cfd0014a296b58c1b086ca68e35789b802 (patch)
treed85270edd615f750bf3cb1b6a858fd96df4acb64
parentc4833254e4b721d8863a615e2a7d570dffcd37a0 (diff)
parent21028ecd8c90502d4aa03396965dabd30f96c6b9 (diff)
Merge "Adding GS_PROXY prefix to GS_URL in proxy scenario"
-rwxr-xr-xjjb/fuel/fuel-download-artifact.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/fuel/fuel-download-artifact.sh b/jjb/fuel/fuel-download-artifact.sh
index 1f4aa8f85..2a0f09a3f 100755
--- 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
-[[ "$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"