Teamcity“git repository”错误

时间:2016-08-03 13:45:19

标签: github teamcity

将项目从“subversion”迁移到“githhub”成功之后, 我试图通过在“teamcity”中点击“run”来构建它,但得到以下内容 错误: enter image description here

我该如何解决?

1 个答案:

答案 0 :(得分:1)

期望在实际的Git存储库中,因此它可以正确生成GitVersion。

您需要在构建代理上安装git ,并确保在代理上签出代码。有关为何需要这样做的更多信息,请参阅TeamCity Checkout Mode Documentation

enter image description here

希望这有帮助