From b9624720da72b53d0c29acf4aabc9b81a6c1e5de Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Thu, 18 Jan 2018 14:13:00 +0800 Subject: [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 --- jjb/daisy4nfv/daisy-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg