【问题标题】:Teamcity agent - Failed to perform checkout on agent. HTTP code = 404Teamcity 代理 - 无法对代理执行结帐。 HTTP 代码 = 404
【发布时间】:2020-02-24 21:16:56
【问题描述】:

我第一次使用 teamcity,我在服务器本身上安装了一个代理。当我运行构建时,我收到以下错误消息。

我应该在某个地方指定 git creds 让代理读取它们吗?这就是显示以下错误的原因吗?我已经在项目设置中为vcs root 添加了信誉。

gitlab 托管在本地主机上,代理在本地主机上,teamcity 也在本地主机上。

Failed to perform checkout on agent: '/usr/bin/git -c core.askpass=/root/buildAgent/temp/buildTmp/pass2043620868177620056 fetch --progress origin +refs/heads/master:refs/heads/master' command failed.
exit code: 128
stderr: error: RPC failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly 

仅供参考,我知道这个问题看起来与其他问题相似,但没有一个是完全相同的错误 - HTTP code = 404fatal: The remote end hung up unexpectedly

【问题讨论】:

    标签: git gitlab teamcity


    【解决方案1】:

    找到了解决办法。

    解决方案是将.git 放在vcs root 的网址末尾。

    Git error: RPC failed; result=22, HTTP code = 404

    【讨论】:

      猜你喜欢
      • 2012-06-06
      • 2017-03-01
      • 2018-02-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-04-26
      • 1970-01-01
      相关资源
      最近更新 更多