We migrated to TFS 2015 RTM recently and were successful in creating build pools, configuring build agents and build definitions.
在构建过程中,TFS 执行“获取源”任务并成功完成该任务并将其自身标记为绿色。
问题从这里开始,其中构建过程不会下载整套文件和文件夹,而是选择几个文件夹并完全下载它们并忽略其余部分。
我们已在构建定义的“存储库”选项卡中将 Clean 选项设置为 True。还将文件标记为映射。
解决此问题的任何帮助或建议都会很棒。提前致谢。
> 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)
这似乎是一个与安全相关的问题。
请确保“项目集合构建服务”有权访问您的代码文件夹。参考本文 http://blog.majcica.com/2015/12/24/tfs-2015-build-agent-failing-syncing-the-repository/了解详情。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)