ci(buildkite): exclude additional file from pre-exit clean up (#3337)

This commit is contained in:
Amir Zarrinkafsh 2022-05-10 17:57:04 +10:00 committed by GitHub
parent 6353eb710f
commit 9b812b0b8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,4 +8,4 @@ if [[ ! "${BUILDKITE_COMMAND}" =~ "buildkite-agent pipeline upload" ]] && \
docker system prune -af --volumes docker system prune -af --volumes
fi fi
sudo find /tmp/ ! -wholename "/tmp/" ! -name "buildkite*" -type d,f -exec rm -rf {} + sudo find /tmp/ ! -wholename "/tmp/" ! -name "buildkite*" ! -name "job-env-*" -type d,f -exec rm -rf {} +