|You are viewing documentation of TeamCity 6.5.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.|
To modify the default directory location, see Build Agent Configuration.
For more information on handling the directories inside the agent work directory, please refer to Build Checkout Directory section.
Please note that TeamCity assumes control over the directory and can delete subdirectories if they are not used by any of the builds.