Fix surefire logs in project distribution-check
[releng/builder.git] / jjb / integration / integration-distribution-check.sh
index 3099a010dbc8a7dcf16319d570760f7103e4c58d..0b6b446fdd178b65ee463ffad2539de469fb1c14 100644 (file)
@@ -9,8 +9,8 @@ BUNDLE_PATH="/tmp/r/org/opendaylight/integration/${KARAF_ARTIFACT}/${BUNDLEVERSI
 echo "Kill any controller running"
 ps axf | grep karaf | grep -v grep | awk '{print "kill -9 " $1}' | sh
 
-echo "Clean workspace"
-rm -rf *
+echo "Clean Existing distribution"
+rm -rf ${BUNDLEFOLDER}
 
 echo "Copying the distribution..."
 cp "${BUNDLE_PATH}" .