summaryrefslogtreecommitdiffstats
path: root/jjb/dovetail
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-12-06 07:19:02 -0500
committerMatthewLi <matthew.lijun@huawei.com>2016-12-06 07:19:51 -0500
commit12feb50ad649b223ed4dad4874f453362bdb2cbe (patch)
treebeae626aa5d08653ef842091fb4cfe732b5cb355 /jjb/dovetail
parent9e638c7531675092d431e473c2c2861adf5d88c0 (diff)
dovetail: bugfix for cmd running
JIRA: DOVETAIL-150 Change-Id: Ia1e26b99cc8591fb17169c13c59138db2237a2c2 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'jjb/dovetail')
-rwxr-xr-xjjb/dovetail/dovetail-run.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/dovetail/dovetail-run.sh b/jjb/dovetail/dovetail-run.sh
index c792b1e6b..a310d5258 100755
--- a/jjb/dovetail/dovetail-run.sh
+++ b/jjb/dovetail/dovetail-run.sh
@@ -47,11 +47,11 @@ docker pull opnfv/dovetail:$DOCKER_TAG >$redirect
# Run docker
echo "Dovetail: docker running..."
-cmds = "${DOVETAIL_REPO_DIR}/dovetail/run.py --testsuite $TESTSUITE"
-sudo docker run ${opts} ${envs} ${labconfig} ${sshkey} opnfv/dovetail:${DOCKER_TAG} ${cmds}
+sudo docker run ${opts} ${envs} ${labconfig} ${sshkey} opnfv/dovetail:${DOCKER_TAG} \
+"${DOVETAIL_REPO_DIR}/dovetail/run.py --testsuite ${TESTSUITE}"
echo "Dovetail: store results..."
-sudo cp -r /home/opnfv/dovetail/results ./
+sudo cp -r ${DOVETAIL_REPO_DIR}/results ./
#To make sure the file owner is jenkins, for the copied results files in the above line
#if not, there will be error when next time to wipe workspace
sudo chown -R jenkins:jenkins ${WORKSPACE}/results