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

pull/3339/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -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 {} +
sudo find /tmp/ ! -wholename "/tmp/" ! -name "buildkite*" ! -name "job-env-*" -type d,f -exec rm -rf {} +