From 9b812b0b8f537d19fcbda93122054959d802067f Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Tue, 10 May 2022 17:57:04 +1000 Subject: [PATCH] ci(buildkite): exclude additional file from pre-exit clean up (#3337) --- .buildkite/hooks/pre-exit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/hooks/pre-exit b/.buildkite/hooks/pre-exit index 01a1e20bb..bfde65ddd 100755 --- a/.buildkite/hooks/pre-exit +++ b/.buildkite/hooks/pre-exit @@ -8,4 +8,4 @@ if [[ ! "${BUILDKITE_COMMAND}" =~ "buildkite-agent pipeline upload" ]] && \ docker system prune -af --volumes fi -sudo find /tmp/ ! -wholename "/tmp/" ! -name "buildkite*" -type d,f -exec rm -rf {} + \ No newline at end of file +sudo find /tmp/ ! -wholename "/tmp/" ! -name "buildkite*" ! -name "job-env-*" -type d,f -exec rm -rf {} + \ No newline at end of file