summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2018-01-18 14:13:00 +0800
committerAlex Yang <yangyang1@zte.com.cn>2018-01-18 14:13:00 +0800
commitb9624720da72b53d0c29acf4aabc9b81a6c1e5de (patch)
tree7275a15ca99243cc9e982232008bbe274336927f
parent887c61bb5e98d2e527d966d1a2efe10e293d3407 (diff)
[daisy] delete tmp dir with sudo
Permission denied occured in [1]. [1]: https://build.opnfv.org/ci/job/daisy-deploy-zte-pod9-daily-master/7/console Change-Id: Ic7e67eed8a121cae0ea2c05ab4cc9005358fcda5 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
-rwxr-xr-xjjb/daisy4nfv/daisy-deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/daisy4nfv/daisy-deploy.sh b/jjb/daisy4nfv/daisy-deploy.sh
index 1723fd109..f729c380e 100755
--- a/jjb/daisy4nfv/daisy-deploy.sh
+++ b/jjb/daisy4nfv/daisy-deploy.sh
@@ -30,7 +30,7 @@ fi
LABS_DIR=/var/tmp/opnfv-${CONFIG_REPO_NAME}
echo "Cloning ${CONFIG_REPO_NAME} repo $BRANCH to $LABS_DIR"
-rm -rf $LABS_DIR
+sudo rm -rf $LABS_DIR
git clone ssh://jenkins-zte@gerrit.opnfv.org:29418/${CONFIG_REPO_NAME} \
--quiet --branch $BRANCH $LABS_DIR