同步Git repo时构建错误:路径中的非法字符

时间:2015-12-08 14:00:06

标签: git tfs team-build tfs2015

在TFS 2015中启动构建Web-Access显示日志,它尝试从git-repo中检索当前源:(这是德语输出,我试图翻译...)

******************************************************************************
Started: Pull the sources
******************************************************************************
Syncing repository: MyRepoName (Git)
845042f7a1d5f22b55fa41c7fe9c888337358d08 to C:\tfsbuildagent\_work\c492b04c\MyRepoName checking out
Checked out branch refs/heads/MyBranchName for repository MyRepoName at commit 845042f7a1d5f22b55fa41c7fe9c888337358d08

Illegal characters in path.
The worker Worker-afa1a91e-6364-49ab-afa2-1a5ebd33682a has finished execution of the task afa1a91e-6364-49ab-afa2-1a5ebd33682a.

******************************************************************************
Build finished
******************************************************************************

我已经尝试完全删除build-slave上的工作文件夹以再次强制进行干净检查 - 然后按预期结束时,结帐需要一些时间,但之后会导致相同的错误。我不知道路径是什么意思,非法字符可能是什么。

昨天早上构建工作仍然很好(之前很多次),然后我提交了一些小的代码更改,解决了合并冲突,再次推送,我更改了构建定义,这一切...... - (

2 个答案:

答案 0 :(得分:3)

当我收到该错误消息时,这是因为系统因为正在使用而无法删除该文件,但它也可能是“拒绝访问”错误。产品团队已经进行了修复,因此显示的是真正的错误消息而不是此消息。它应该推出S92部署(发生在现在和接下来的两周之间)

答案 1 :(得分:0)

我已经通过添加" Visual Studio Build"尝试了vNext构建。在Git团队项目下构建项目的步骤,日志如下:

******************************************************************************
Starting: Get sources
******************************************************************************
Syncing repository: GitXa (Git)
Checking out ea7fa9989e7af544c4896ad62cbbc5210a2cc96c to E:\1116\agent\_work\1\s
Checked out branch refs/heads/master for repository GitXa at commit ea7fa9989e7af544c4896ad62cbbc5210a2cc96c
******************************************************************************
Running tasks 

您的日志" 845042f7a1d5f22b55fa41c7fe9c888337358d08 to C:\tfsbuildagent\_work\c492b04c\MyRepoName checking out"不是一条正确的道路。