I've encountered the following problem. When a p4 workspace on a build agent is not used for a week, it gets deleted by TeamCity. The following appears in the teamcity-agent.log
INFO - l.directories.DirectoryMapImpl - Delete <CheckoutDirectory>. Build directory has expired or unused
WARN - jetbrains.buildServer.VCS.P4 - Stale workspace detected: <Workspace>, last access: Mon Apr 18 00:00:00 BST 2011, stale msecs: 604800000
In our project, we do not want this behavior - we explicitly want the project checkout directory to stay on the agent, even if no build has taken place for a week (or more). Could you please advise where is this setting configured or how this behavior can be changed?
Please note that this seems to start occurring after our upgrade to TeamCity Enterprise Version6.5 EAP (build 17521) from a previous version.