diff --git a/gitlab/after_build.sh b/gitlab/after_build.sh index 3d26868fa4d692964989c2f3205cc0dfb041079d..26ca3d6c68dc6641d6f002a35327835b290969d8 100755 --- a/gitlab/after_build.sh +++ b/gitlab/after_build.sh @@ -4,11 +4,11 @@ source $(dirname ${0})/functions.sh # delete the bob packages from the cache otherwise the cache keeps increasing # over and over. See https://gitlab.idiap.ch/bob/bob.admin/issues/65 -rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2 +run_cmd rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2 # run git clean to clean everything that is not needed. This helps to keep the # disk usage on CI machines to minimum. -git clean -ffdx \ +run_cmd git clean -ffdx \ --exclude="miniconda.sh" \ --exclude="miniconda/pkgs/*.tar.bz2" \ --exclude="miniconda/pkgs/urls.txt" \