Cleaning Non-default Checkout Directories
In previous releases, if you have specified build checkout directory explicitly using absolute path, TeamCity would not clean the content of the directory to free space on the disk.
This is no longer the case.
So if you have absolute path specified for the checkout directory and you need the directory to be present on agent for other build or for the machine environment, please set
system.teamcity.build.checkoutDir.expireHoursproperty to "never" and re-run the build. Please take into account that using custom checkout directory is not recommended.