summaryrefslogtreecommitdiffstats
path: root/jjb/compass4nfv/compass-deploy.sh
diff options
context:
space:
mode:
authorwutianwei <wutianwei1@huawei.com>2017-05-23 10:47:58 +0800
committerwutianwei <wutianwei1@huawei.com>2017-06-06 09:13:31 +0800
commita92e50f2620670cd8d90421c31bd913bf3e941a4 (patch)
tree3d71c040e408462631382e0a4218eb4341509a93 /jjb/compass4nfv/compass-deploy.sh
parent3d39c8ea99b850b728f2b7753e139943bdcc0807 (diff)
set the openstack version for branch
set the openstack version newton for danube set the openstack version ocata for master danube branch use the compass.iso master branch use the compass.tar.gz separate the branch in the different pod Change-Id: Iec1e3206cac26bb2ad5379fa2600ede0451d997d Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'jjb/compass4nfv/compass-deploy.sh')
-rw-r--r--jjb/compass4nfv/compass-deploy.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/jjb/compass4nfv/compass-deploy.sh b/jjb/compass4nfv/compass-deploy.sh
index 534e17e62..111ac665c 100644
--- a/jjb/compass4nfv/compass-deploy.sh
+++ b/jjb/compass4nfv/compass-deploy.sh
@@ -23,7 +23,11 @@ fi
echo 1 > /proc/sys/vm/drop_caches
export CONFDIR=$WORKSPACE/deploy/conf
-export ISO_URL=file://$BUILD_DIRECTORY/compass.iso
+if [[ "$BRANCH" = 'danube' ]]; then
+ export ISO_URL=file://$BUILD_DIRECTORY/compass.iso
+else
+ export ISO_URL=file://$BUILD_DIRECTORY/compass.tar.gz
+fi
cd $WORKSPACE