fix(ci): don't clean the archive before build
The run_local_ci.sh script will have done that ahead of time so its
pointless. Having it causes problems when setting `set -x` in
run_package.sh because the log file gets deleted and the output is lost.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: I6e93cfd04134796e7e96dd4e432c8394301a9b24
diff --git a/script/build_package.sh b/script/build_package.sh
index f98daf1..f6e63bb 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -1214,14 +1214,6 @@
popd
}
-# Clear workspace for a local run
-if not_upon "$jenkins_run" && not_upon "$dont_clean"; then
- rm -rf "$workspace"
-
- # Clear residue from previous runs
- rm -rf "$archive"
-fi
-
mkdir -p "$workspace"
mkdir -p "$archive"
set_package_var "TEST_CONFIG" "$test_config"