在获取源步骤后 TFS 保持不同步 [英] TFS remains out of sync after Get Sources step

查看:34
本文介绍了在获取源步骤后 TFS 保持不同步的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近迁移到了 TFS 2015 RTM,并成功地创建了构建池、配置构建代理和构建定义.

We migrated to TFS 2015 RTM recently and were successful in creating build pools, configuring build agents and build definitions.

在构建过程中,TFS 执行 Get Sources 任务并成功完成相同的任务并将自身标记为绿色.

During the build process, TFS performs Get Sources task and successfully completes the same and marks itself in green.

问题从这里开始,其中构建过程不会下载整个文件和文件夹集,只选择几个文件夹并完全下载它们,而忽略其余的.我们在构建定义的 Repository 选项卡中将 Clean 选项设置为 True.也已将文件标记为已映射.

The problem begins here wherein the build process does not download the entire set of files and folders, picks few folders and downloads them completely and ignores the rest. We have set Clean option to True in the Repository tab of our build definition. Also have marked the files as mapped.

任何解决此问题的帮助或建议都会很棒.提前致谢.

Any help or suggestions in resolving this issue would be great. Thanks in advance.

> 2015-12-17T11:51:44.4623378Z Starting: Get sources
2015-12-17T11:51:44.4779612Z Clean is set to true. Removing all repository folders.
2015-12-17T11:53:38.9214724Z Entering TfvcSourceProvider.PrepareRepositoryAsync
2015-12-17T11:53:38.9214724Z localPath=E:\agent\_work\9cf6b32b\Platform
2015-12-17T11:53:38.9214724Z clean=True
2015-12-17T11:53:38.9214724Z sourceVersion=C8496
2015-12-17T11:53:38.9214724Z mappingJson={"mappings":[{"serverPath":"$/Platform/Kernel/Release/350/src/Build","mappingType":"map"}]}
2015-12-17T11:53:38.9214724Z Syncing repository: Platform (TFVC)
2015-12-17T11:53:38.9214724Z workspaceName=ws_9cf6b32b_7
2015-12-17T11:53:46.6600633Z Workspace Name: ws_9cf6b32b_7;
2015-12-17T11:53:49.4179203Z Done syncing repository Platform to version C8496 (workspace version -1)
2015-12-17T11:53:49.4179203Z Leaving TfvcSourceProvider.PrepareRepositoryAsync

推荐答案

根据日志:

2015-12-17T11:53:49.4179203Z 完成同步存储库平台版本 C8496(工作区版本 -1)

2015-12-17T11:53:49.4179203Z Done syncing repository Platform toversion C8496 (workspace version -1)

这似乎是一个与安全相关的问题.

This seems to be a security related issue.

请确保项目集合构建服务"有权访问您的代码文件夹.请参阅这篇文章 了解详情.

Please make sure "Project Collection Build Service" has the permission to access to your code folder. Refer to this article for details.

这篇关于在获取源步骤后 TFS 保持不同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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