3rd party ci: Fix bug introduced by wiping out the WORKSPACE itself
[releng.git] / jjb / 3rd_party_ci / download-netvirt-artifact.sh
index 20d6cc5..0a48e3a 100755 (executable)
@@ -2,7 +2,7 @@
 set -e
 
 # wipe the WORKSPACE
-/bin/rm -rf $WORKSPACE
+/bin/rm -rf $WORKSPACE/*
 
 echo "Attempting to fetch the artifact location from ODL Jenkins"
 CHANGE_DETAILS_URL="https://git.opendaylight.org/gerrit/changes/netvirt~master~$GERRIT_CHANGE_ID/detail"