diff options
author | 2017-06-19 07:57:31 +0000 | |
---|---|---|
committer | 2017-06-19 07:57:31 +0000 | |
commit | d1d8f1b6847ce24edac723c6746fb8635904696a (patch) | |
tree | 43f3edda185aafe529648d7970dade902f5843d8 /jjb/fuel/fuel-download-artifact.sh | |
parent | 3726a8e5506b6a8567256df83393d308cca9c4f8 (diff) | |
parent | 854bb6ae5137efbf47a245f0b18c42a7baaaaf40 (diff) |
Merge "[fuel] Disable iso download for master branch"
Diffstat (limited to 'jjb/fuel/fuel-download-artifact.sh')
-rwxr-xr-x | jjb/fuel/fuel-download-artifact.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-download-artifact.sh b/jjb/fuel/fuel-download-artifact.sh index 8cc552e8d..c3b8253de 100755 --- a/jjb/fuel/fuel-download-artifact.sh +++ b/jjb/fuel/fuel-download-artifact.sh @@ -10,6 +10,9 @@ set -o errexit set -o pipefail +# disable Fuel ISO download for master branch +[[ "$BRANCH" == 'master' ]] && exit 0 + # use proxy url to replace the nomral URL, for googleusercontent.com will be blocked randomly [[ "$NODE_NAME" =~ (zte) ]] && GS_URL=${GS_BASE_PROXY%%/*}/$GS_URL |