开发者

TFS 2010 Multiple build Agent User Management

With a Windows 2008 Server, that is the Build Server (TFS 2010), that has 2 Build Agents, how do you configure these agents that use the same account, to use multip开发者_如何学编程le workspaces ( or to stop it from using multiple workspaces) with the same paths?

Currently, the behavior i am seeing is IT is creating multiple workspaces, with the same user and the same paths. I have to manually delete the duplicate workspaces. a few build attempts later, more workspaces have been auto-created, and then fail to build because there are multiple workspaces with the same paths. Again, this is happening automatically, and having to delete workspaces manually every 10 minutes or so, is not an answer.

Thanks.

EDIT : uninstalled and reinstalled TFS Build Agent, and this resolved the issue.


(I'm not entirely sure if this answers the question, but...) IIRC you can configure the root working folder for each build agent. Then they are able to work alongside each other in their own workspace without any clashes.


Each of your build agents should be using their own working directory. I have multiple build agents on a build server and when set up so, I don't have any issues with regards to workspaces.

The default working directory for a build agent is something like:

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

So there should be different folders based on $(BuildAgentId).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜