diff --git a/.gitlab/ci/shared_script.gitlab-ci.yml b/.gitlab/ci/shared_script.gitlab-ci.yml
index 1fd1699e06db6717a1d7011d19e8af2a12b549e8..59ad55727075023620ceed6f722e2725c7532855 100644
--- a/.gitlab/ci/shared_script.gitlab-ci.yml
+++ b/.gitlab/ci/shared_script.gitlab-ci.yml
@@ -95,4 +95,4 @@
     - 'curl "https://gitlab.eclipse.org/api/v4/projects/$DependencyId/jobs/artifacts/$BRANCH_TO_PULL/download?job=$DEPENDENCY_JOB" -o build_artifacts.zip'
 
     - Expand-Archive -Path build_artifacts.zip -DestinationPath . -Force
-    - Remove-Item .\build_cpp\ -Recurse -ErrorAction Ignore
+