We use Perforce on our project and configured it in TeamCity. As our project grows larger the build time is now taking longer, and each time when TeamCity performs a clean VCS checkout on build agents, it would further prolong the build time.
So far we've identified one condition which can cause this, which is when we modify the perforce client mapping of build agents. We noticed that this also happens at seemingtly random times as well, but we have already changed the system property: system.teamcity.build.checkoutDir.expireHours to 'never'.
I'm just wondering what are the other conditions in TeamCity that could cause clean VCS checkout and if we can disable it or control it somehow?
With Kind Regards,