TFS 2015构建未获取映射路径 [英] TFS 2015 Build is not getting the Mapped path

查看:93
本文介绍了TFS 2015构建未获取映射路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于长路径映射,出于某种原因,我的构建定义无法正常工作。如果我使用路径$ / Project / Samples,则可以正常运行。

For some reason my build definition are not working properly if long path mappings. If I were using the path $/Project/Samples it works OK.

我的版本在存储库选项卡中具有以下内容:

My build has this in the repository tab:

然后,日志显示未找到SLN,并且我确认没有下载任何内容到代理工作文件夹:

Then the logs show that there is no SLN found, and I confirmed that nothing was downloaded to the agent working folders:

对我来说,这是获取源代码时的一个错误,因为我看不到为什么它没有正确获取文件的错误。我已经尝试在上面的某些文件夹中添加文件,并且可以正常工作。有什么想法吗?

For me it's a bug when getting sources, as I can't see a good why it is not getting correctly the files. I already tried to add files in some folders above and it works. Some ideas?

推荐答案

工作区版本-1通常在没有访问源控件的权限时发生。检查源控件中文件夹的继承设置,并确保将其设置为打开。请参阅此链接以获取详细信息: TFS 2015 Build Agent无法同步存储库

"workspace version -1" usually occurs when there is no permission to access to the source control. Check the "Inheritance" settings for the folders in your source control and make sure it is set to "On". Refer to this link for details: TFS 2015 Build Agent failing syncing the repository.

此处存在类似问题: TFS 2015构建代理无法同步TFVC

这篇关于TFS 2015构建未获取映射路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆