From: MatthewLi Date: Fri, 30 Sep 2016 07:14:23 +0000 (-0400) Subject: dovetail: chown for output results file X-Git-Tag: danube.1.0~762^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=7c56f10bd78e37bbf5b5dce58ae7f4627565ba0c;p=releng.git dovetail: chown for output results file JIRA: DOVETAIL-14 Change-Id: I5953a8368503329aa668f7ae27ed2a816e562f54 Signed-off-by: MatthewLi --- 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!"