- the checkout directories that were marked for deletion;
- contents of other build's checkout directories in the reversed most recently used order
- the cache of previously downloaded artifacts (that were downloaded to the agent via TeamCity artifact dependencies)
- cleaning the local Docker caches
cleaning the local NuGet packages caches
If you need to make sure a checkout directory is never deleted while freeing disk space, set the
system.teamcity.build.checkoutDir.expireHours property to
"never" value. See more at Build Checkout Directory.