summaryrefslogtreecommitdiffstats
path: root/jjb/compass4nfv/compass-download-artifact.sh
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2017-06-07 11:38:17 +0800
committerwutianwei <wutianwei1@huawei.com>2017-06-07 11:38:17 +0800
commit73c548c48ec2d79045f03dedd92b143d603139f2 (patch)
tree80172e39871be8fd74b40e6731821a93cfc36532 /jjb/compass4nfv/compass-download-artifact.sh
parenta92e50f2620670cd8d90421c31bd913bf3e941a4 (diff)
fix the judgement condition
when in danube branch the $BRANCH is stable/danube so we need fix the judgement condition Change-Id: If3a0a40b60098cbd0baf2e64fad8763fae128cb1 Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'jjb/compass4nfv/compass-download-artifact.sh')
-rw-r--r--jjb/compass4nfv/compass-download-artifact.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/compass4nfv/compass-download-artifact.sh b/jjb/compass4nfv/compass-download-artifact.sh
index c09a70c8b..f8915643f 100644
--- a/jjb/compass4nfv/compass-download-artifact.sh
+++ b/jjb/compass4nfv/compass-download-artifact.sh
@@ -18,7 +18,7 @@ curl -s -o $BUILD_DIRECTORY/latest.properties http://$GS_URL/latest.properties
# source the file so we get OPNFV vars
source $BUILD_DIRECTORY/latest.properties
-if [[ "$BRANCH" == 'danube' ]]; then
+if [[ "$BRANCH" == 'stable/danube' ]]; then
# download the file
curl -s -o $BUILD_DIRECTORY/compass.iso http://$OPNFV_ARTIFACT_URL > gsutil.iso.log 2>&1
# list the file