diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2016-09-30 09:22:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-30 09:22:42 +0000 |
commit | 609bf2f9c9c6885b0a1c6acf292e33d80bf1c3f7 (patch) | |
tree | 4b718c6b1e14824da47c7ce17673bc41a31b97d8 | |
parent | 44b389bc5af56a2d3e7cfb432434b471a645d801 (diff) | |
parent | 7c56f10bd78e37bbf5b5dce58ae7f4627565ba0c (diff) |
Merge "dovetail: chown for output results file"
-rwxr-xr-x | jjb/dovetail/dovetail-run.sh | 3 |
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!" |