From a92e50f2620670cd8d90421c31bd913bf3e941a4 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Tue, 23 May 2017 10:47:58 +0800 Subject: 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 --- jjb/compass4nfv/compass-deploy.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'jjb/compass4nfv/compass-deploy.sh') 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 -- cgit 1.2.3-korg