Merge "Bugfix: Lack of DEPLOY_TYPE"
authormei mei <meimei@huawei.com>
Wed, 3 Jan 2018 01:41:48 +0000 (01:41 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 3 Jan 2018 01:41:48 +0000 (01:41 +0000)
jjb/dovetail/dovetail-run.sh

index 80c9929..0c389e9 100755 (executable)
@@ -13,6 +13,9 @@
 set -e
 [[ $CI_DEBUG == true ]] && redirect="/dev/stdout" || redirect="/dev/null"
 
+DEPLOY_TYPE=baremetal
+[[ $BUILD_TAG =~ "virtual" ]] && DEPLOY_TYPE=virt
+
 DOVETAIL_HOME=${WORKSPACE}/cvp
 [ -d ${DOVETAIL_HOME} ] && sudo rm -rf ${DOVETAIL_HOME}