同步Git仓库时出现构建错误:路径中存在非法字符 [英] Build Error while syncing the Git repo: Illegal characters in path

查看:605
本文介绍了同步Git仓库时出现构建错误:路径中存在非法字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在TFS 2015 Web-Access内开始构建日志,它试图从git-repo中检索当前源代码:(这是德语输出,我试图翻译...)

Starting the build within TFS 2015 Web-Access shows the log, it tries to retrieve the current sources from the git-repo: (it´s the German output, that I tried to translate...)

******************************************************************************
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上的工作文件夹,以再次强制执行清理检出 - 然后按预期结账花费更多时间,但之后导致相同的错误。我不知道这条道路是什么意思,什么是非法角色。

I have already tried to delete the work-folder on the build-slave completely to force a clean checkout again - then as expected the checkout took some more time but afterwards it resulted in the same error. I have no idea WHICH path is meant and WHAT illegal characters might be in it.

昨天早上这个建筑工作得很好(之前很多次),然后我提交了一些小的代码更改,解决了合并冲突,再次推送,并且我稍微改变了构建定义,这就是所有...; - ()

Yesterday in the morning the build worked still well (as many times before), then I committed some minor code changes, solved merge conflicts, pushed again, and I changed the build definition a bit, that´s all... ;-(

推荐答案

当我收到该错误消息时,系统无法删除该文件,因为它正在使用中,但也可能是Access Denied错误。真正的错误信息会显示出来,而不是这一个。它应该随着S92的部署而推出(从现在开始到接下来的两周内)

When I received that error message, it was because the system was unable to delete the file because it was in use, but it could also be an Access Denied error. The product team has made a fix so the real error message shows up and not this one. It should roll out with the S92 deployment (happens between now and the next 2 weeks)

这篇关于同步Git仓库时出现构建错误:路径中存在非法字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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