summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2018-01-02 03:52:30 -0500
committerxudan <xudan16@huawei.com>2018-01-02 03:52:30 -0500
commit05795d0fc3d2e197c3967292b41014993caa9e96 (patch)
treec387c886b909e1dd32f87e04227ecb262a577b43 /jjb
parent543ccac9c57847695cb038d6153cf782b499491a (diff)
Bugfix: Lack of DEPLOY_TYPE
Set the value of DEPLOY_TYPE according to BUILG_TAG Change-Id: I08e720dc6e049c54e249172503bcbdb7c314dc6d Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/dovetail/dovetail-run.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh
index 80c9929db..0c389e9ee 100755
--- a/jjb/dovetail/dovetail-run.sh
+++ b/jjb/dovetail/dovetail-run.sh
@@ -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}