diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2016-09-30 03:14:23 -0400 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2016-09-30 05:09:10 -0400 |
commit | 7c56f10bd78e37bbf5b5dce58ae7f4627565ba0c (patch) | |
tree | b9f1ece049bfb1f31d6e56d83aa516a14d01fb5f /jjb/dovetail | |
parent | 028c430fa193ef7cdb6d83b64d0b474ab4b6e6c3 (diff) |
dovetail: chown for output results file
JIRA: DOVETAIL-14
Change-Id: I5953a8368503329aa668f7ae27ed2a816e562f54
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'jjb/dovetail')
-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!" |