Setting TeamCity teamcity.build.checkoutDir from Custom Build

I'm setting the teamcity.build.checkoutDir configuration parameter via the 'Run Custom Build' dialog as I want to control the build location.

When looking at the 'Build Parameters' page of the build, I can see the teamcity.build.checkoutDirparameter is correctly using my set value, but the 'Actual Parameters on Agent' value always remains set to the default checkout path.

I've tried setting the Version Control Settings->Checkout Directory to Custom Path and theteamcity.build.checkoutDir parameter still does not use my custom setting.

Please can someone help me with this?

Please sign in to leave a comment.