Different checkout folder on agents

Hello,

I have a build and 2 agents (using TeamCity 6.5.6)

One of the agents does not have a D:\ drive and the other has.

I would like to be able to set the VCS roots on each agent to be able to work in this way.

I cannot find a way to do this.

One solution may be to set the agent checkout folder to %agent.workdir% but i can't seem to update the agent parameters, where do i set them?

Thanks
Lior

1 comment
Comment actions Permalink

We recommend to leave this field blank, so build agents choose the directory automatically.
The only reason to set the directory explicitly is situation where your build script has paths hardcoded and cannot be executed from any other location.

workDir property in buildAgent.properties configuration file allow to relocate checkout directories on each agent individually.

0

Please sign in to leave a comment.