TeamCity 9.0 Help

Agent Work Directory

Agent work directory is the directory on a build agent that is used as a containing directory for the default Build Checkout Directory. By default, this is the <Build agent home> /work directory.

To modify the default directory location, see workDir parameter in 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.

Last modified: 20 April 2023