所有2015年vNext版本都无法从Git获取源,但未找到404 [英] All 2015 vNext builds fail on fetching source from Git with 404 not found

查看:88
本文介绍了所有2015年vNext版本都无法从Git获取源,但未找到404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在几个不同的vNext构建服务器上尝试了几个不同的构建版本,这些版本在较旧的2013 XAML构建定义下工作,并且所有构建服务器中的worker_xxxxxxxx-xxxxxx-utc_xxxx.txt文件中的以下错误都失败了


在git clone期间捕获LibGit2SharpException,重试3个中的1个
。异常:LibGit2Sharp.LibGit2SharpException:响应状态代码不表示成功:404(未找到)。

   at LibGit2Sharp.Core.Ensure.HandleError(Int32 results)

   at LibGit2Sharp.Core.Proxy.git_clone(String url,String workdir,GitCloneOptions& opts)

   at LibGit2Sharp.Repository.Clone(String sourceUrl,String workdirPath,CloneOptions options)

  在Microsoft.TeamFoundation.DistributedTask.Task.Internal.Core.GitHelper.CloneRepository(String repositoryPath,Uri repositoryUrl,Boolean checkoutSubmodules,String username,String password)


存储库网址是正确的,构建服务在一个可以访问存储库的帐户下运行。


我想不出还有什么可以解决这个问题 - vNext构建系统在这种状态下无法使用。 / p>

感激不尽的任何帮助


标记。


解决方案

嗨马克,  



感谢您的帖子。



你正在使用TFS 2015 RTM,这个问题发生在你的Git团队项目vNext构建定义中,以便从你的Git团队项目中获取repo文件吗?



我将在TFS 2015 RTM Server中测试这种情况并检查结果。



如果您对此问题有任何进一步的研究,请在此分享您的经验。


I've tried several different builds that work under older 2013 XAML build definitions, on several different vNext build servers, and all fail with the following error in the worker_xxxxxxxx-xxxxxx-utc_xxxx.txt files in the _diag dir

Catch LibGit2SharpException during git clone, retried 1 of 3
.Exception: LibGit2Sharp.LibGit2SharpException: Response status code does not indicate success: 404 (Not Found).
   at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
   at LibGit2Sharp.Core.Proxy.git_clone(String url, String workdir, GitCloneOptions& opts)
   at LibGit2Sharp.Repository.Clone(String sourceUrl, String workdirPath, CloneOptions options)
   at Microsoft.TeamFoundation.DistributedTask.Task.Internal.Core.GitHelper.CloneRepository(String repositoryPath, Uri repositoryUrl, Boolean checkoutSubmodules, String username, String password)

The repository url is correct and the build service is running under an account that has access to the repository.

I can't think what else to try to fix this - the vNext build system is just unusable in this state.

Any help gratefully received

Mark.

解决方案

Hi Mark,  

Thanks for your post.

You’re using TFS 2015 RTM and this issue happened in your Git team project vNext build definition to get repo files from your Git team project?

I will test this scenario in my TFS 2015 RTM Server and check the result.

If you have any further research of this issue, please share your experience here.


这篇关于所有2015年vNext版本都无法从Git获取源,但未找到404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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