summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-gluster-org/scripts/gd2-smoke.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/gd2-smoke.sh b/build-gluster-org/scripts/gd2-smoke.sh
index 799fdf7..c50f7b1 100644
--- a/build-gluster-org/scripts/gd2-smoke.sh
+++ b/build-gluster-org/scripts/gd2-smoke.sh
@@ -3,6 +3,7 @@
set -e
JDIRS="/var/log/glusterfs /var/lib/glusterd /var/lib/glusterd/groups/virt /var/run/gluster /d /d/archived_builds /d/backends /d/build /d/logs /home/jenkins/root /build/*"
+sudo rm -rf $JDIRS
sudo mkdir -p $JDIRS
echo Return code = $?
sudo chown -RH jenkins:jenkins $JDIRS