Team build error: the path already mapped to workspace … AGAIN AND AGAIN

我是研究僧i 提交于 2020-01-17 12:25:09

问题


So I have reviewed the link to solve this problem, as referenced below.

Team build error: the path already mapped to workspace

But my problem is that EVERY time i queue that Build Definition i get the same problem. Ok, i go delete the tfs workspace it's complaining about. Great it works! Then run the build again... ok now it doesn't and i have to go delete the TFS service workspace all over again.

How come TFS build service is stepping on itself every time it does a build. The error is " Unable to create the workspace 'xxx' due to mapping conflict... the path xxx is already mapped in workspace 'xxx'" but the mapping is to a workspace that the previous BUILD created. Not anything from a specific user.


回答1:


ok, this seemed to occur because (i hadn't noticed) that i changed the "Build Agent Folder" specification by accident to a fixed path. rather than keeping it with $(SourceDir). I changed the entry in the build definition to this and it worked fine, after multiple builds using same build definition.



来源:https://stackoverflow.com/questions/29632550/team-build-error-the-path-already-mapped-to-workspace-again-and-again

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!