Bugfix: wrong work directory 17/34117/1
authorxudan <xudan16@huawei.com>
Wed, 3 May 2017 08:56:39 +0000 (08:56 +0000)
committerxudan <xudan16@huawei.com>
Wed, 3 May 2017 08:56:39 +0000 (08:56 +0000)
JIRA: DOVETAIL-420

CI wrong with:
Archiving artifacts
WARN: No artifacts found that match the file pattern "results/*/". Configuration error?
WARN: ?results/*/? doesn?t match anything, but ?*/? does. Perhaps that?s what you mean?

Change-Id: Ia548cb4e3b5e34f43c130c2860892364bffad233
Signed-off-by: xudan <xudan16@huawei.com>
jjb/dovetail/dovetail-run.sh

index 1b1b4d2..5f462e9 100755 (executable)
@@ -71,6 +71,8 @@ ${cmd}
 
 deactivate
 
+cd ${WORKSPACE}
+
 if [ -f ${pod_file_dir}/pod.yaml ]; then
     echo "file ${pod_file_dir}/pod.yaml:"
     cat ${pod_file_dir}/pod.yaml