Monday, 11 February 2013

Changing build agent working directory

Changing build agent working directory


default location after installation is:


Working directory
$(SystemDrive)\Builds\$(BuildAgentId)\$(BuildDefinitionPath)

It is desirable to move this location as the builds will add up and it will be taking a lot of space in you system drive. This is useful too if you have multiple builds and you want to retain build history.


If you had already run any build you will have to move existing folder, as results to your builds are in that directory.


When you have moved the build folder make sure that you check permissions on the build directory.