summaryrefslogtreecommitdiffstats
path: root/jjb/dovetail
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2017-05-31 00:12:20 -0400
committerxudan <xudan16@huawei.com>2017-05-31 00:12:20 -0400
commita765f12000378217a4b533525740bcceea3249d3 (patch)
tree24db3cc3fdc29a05b4d565ec280432bdf30aec0d /jjb/dovetail
parent9b0a74b28d1bc9129d6f83ca931f04245f2a5730 (diff)
Dovetail CI job failed on lf-pod2
JIRA: DOVETAIL-443 Change Change the file path from /home/opnfv/cvp to $WORKSPACE/cvp to ensure Jenkins has all rights about the files. Change-Id: Ic83123956716f9e5d6467dc6e380352539027d46 Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to 'jjb/dovetail')
-rwxr-xr-xjjb/dovetail/dovetail-run.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh
index 5a81c54af..becf56a47 100755
--- a/jjb/dovetail/dovetail-run.sh
+++ b/jjb/dovetail/dovetail-run.sh
@@ -6,7 +6,7 @@
set -e
[[ $CI_DEBUG == true ]] && redirect="/dev/stdout" || redirect="/dev/null"
-DOVETAIL_HOME=/home/opnfv/cvp
+DOVETAIL_HOME=${WORKSPACE}/cvp
if [ -d ${DOVETAIL_HOME} ]; then
sudo rm -rf ${DOVETAIL_HOME}/*
else
@@ -54,7 +54,8 @@ if [[ -f $OPENRC ]]; then
echo "INFO: openstack credentials path is $OPENRC"
cat $OPENRC
else
- echo "ERROR: file $OPENRC does not exist."
+ echo "ERROR: cannot find file $OPENRC. Please check if it is existing."
+ sudo ls -al ${DOVETAIL_CONFIG}
exit 1
fi
@@ -88,7 +89,8 @@ if [ -f ${DOVETAIL_CONFIG}/pod.yaml ]; then
echo "file ${DOVETAIL_CONFIG}/pod.yaml:"
cat ${DOVETAIL_CONFIG}/pod.yaml
else
- echo "Error: There doesn't exist file ${DOVETAIL_CONFIG}/pod.yaml."
+ echo "Error: cannot find file ${DOVETAIL_CONFIG}/pod.yaml. Please check if it is existing."
+ sudo ls -al ${DOVETAIL_CONFIG}
echo "HA test cases may not run properly."
fi