我的构建 (TFS2010) 有问题。直到今天,这个构建最近一切都很好,我现在几乎在构建开始时就收到错误:
Delete Sources Directory (00:00) The Directory is not empty.
我查看了服务器,发现\builds\1\myproject\sources\是空的.. 里面什么都没有!错误提示并非如此,但它肯定是空的。
我想知道在这种情况下它是否不应该为空?谁能告诉我我可能会采取什么行动来让构建再次运行?
这是构建失败的日志:
Overall Build Process
00:00
Update Build Number
00:00
Create the Drop Location
00:03
Run On Agent (reserved build agent Default Agent - server1)
00:00
Delete Test Results Directory
00:00
Delete Binaries Directory
00:00
Delete Workspace
00:00
Delete Sources Directory
The directory is not empty.
非常感谢您的帮助!
最佳答案
如果其他进程在文件系统上有句柄,通常会发生这种情况。资源管理器或命令提示符窗口通常是罪魁祸首。
关于visual-studio - TFS 构建损坏 - 源目录上的目录不为空,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18696408/