From 7c56f10bd78e37bbf5b5dce58ae7f4627565ba0c Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Fri, 30 Sep 2016 03:14:23 -0400 Subject: dovetail: chown for output results file JIRA: DOVETAIL-14 Change-Id: I5953a8368503329aa668f7ae27ed2a816e562f54 Signed-off-by: MatthewLi --- jjb/dovetail/dovetail-run.sh | 3 +++ 1 file changed, 3 insertions(+) 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!" -- cgit 1.2.3-korg