summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-09-30 09:22:41 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-30 09:22:42 +0000
commit609bf2f9c9c6885b0a1c6acf292e33d80bf1c3f7 (patch)
tree4b718c6b1e14824da47c7ce17673bc41a31b97d8
parent44b389bc5af56a2d3e7cfb432434b471a645d801 (diff)
parent7c56f10bd78e37bbf5b5dce58ae7f4627565ba0c (diff)
Merge "dovetail: chown for output results file"
-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 6453425ce..3f7a47bee 100755
--- a/jjb/dovetail/dovetail-run.sh
+++ b/jjb/dovetail/dovetail-run.sh
@@ -48,5 +48,8 @@ sudo docker run ${opts} ${envs} ${labconfig} ${sshkey} opnfv/dovetail:${DOCKER_T
echo "Dovetail: store results..."
sudo cp -r /home/opnfv/dovetail/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
echo "Dovetail: done!"