E.Meir
E.Meir

Reputation: 2216

Teamcity "git repository" error

After migrating a project from "subversion" to "githhub" successfully, I am trying to build it by hitting "run" in "teamcity" but getting the following error: enter image description here

How can i solve it?

Upvotes: 1

Views: 82

Answers (1)

Matt
Matt

Reputation: 3704

This is expecting to be inside an actual Git repository so it can generate the GitVersion correctly.

You'll need to install git on your build agents and ensure that code is checked out on the agent. Further information as to why this needs to be done can be found in the TeamCity Checkout Mode Documentation

enter image description here

Hope this helps

Upvotes: 1

Related Questions