同步 Git 存储库时发生构建错误:路径中存在非法字符
Build Error while syncing the Git repo: Illegal characters in path
在 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 上的工作文件夹以再次强制进行干净的签出 - 然后正如预期的那样,签出花费了更多时间但之后它导致了同样的错误。我不知道指的是哪条路径,也不知道其中可能包含哪些非法字符。
昨天早上构建仍然运行良好(和之前多次一样),然后我提交了一些小的代码更改,解决了合并冲突,再次推送,我稍微更改了构建定义,仅此而已。 ..;-(
我已经尝试通过添加 "Visual Studio Build" 步骤在 Git 团队项目下构建项目的 vNext 构建,日志如下所示:
******************************************************************************
Starting: Get sources
******************************************************************************
Syncing repository: GitXa (Git)
Checking out ea7fa9989e7af544c4896ad62cbbc5210a2cc96c to E:16\agent\_work\s
Checked out branch refs/heads/master for repository GitXa at commit ea7fa9989e7af544c4896ad62cbbc5210a2cc96c
******************************************************************************
Running tasks
您的日志“845042f7a1d5f22b55fa41c7fe9c888337358d08 to C:\tfsbuildagent\_work\c492b04c\MyRepoName checking out
”路径不正确。
当我收到该错误消息时,是因为系统无法删除该文件,因为它正在使用中,但也可能是拒绝访问错误。产品团队已进行修复,因此会显示真正的错误消息,而不是这条消息。它应该与 S92 部署一起推出(发生在现在和接下来的 2 周之间)
在 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 上的工作文件夹以再次强制进行干净的签出 - 然后正如预期的那样,签出花费了更多时间但之后它导致了同样的错误。我不知道指的是哪条路径,也不知道其中可能包含哪些非法字符。
昨天早上构建仍然运行良好(和之前多次一样),然后我提交了一些小的代码更改,解决了合并冲突,再次推送,我稍微更改了构建定义,仅此而已。 ..;-(
我已经尝试通过添加 "Visual Studio Build" 步骤在 Git 团队项目下构建项目的 vNext 构建,日志如下所示:
******************************************************************************
Starting: Get sources
******************************************************************************
Syncing repository: GitXa (Git)
Checking out ea7fa9989e7af544c4896ad62cbbc5210a2cc96c to E:16\agent\_work\s
Checked out branch refs/heads/master for repository GitXa at commit ea7fa9989e7af544c4896ad62cbbc5210a2cc96c
******************************************************************************
Running tasks
您的日志“845042f7a1d5f22b55fa41c7fe9c888337358d08 to C:\tfsbuildagent\_work\c492b04c\MyRepoName checking out
”路径不正确。
当我收到该错误消息时,是因为系统无法删除该文件,因为它正在使用中,但也可能是拒绝访问错误。产品团队已进行修复,因此会显示真正的错误消息,而不是这条消息。它应该与 S92 部署一起推出(发生在现在和接下来的 2 周之间)