-
Notifications
You must be signed in to change notification settings - Fork 654
[Improvement] The executable 'git' could not be found #543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Currently assume git is installed on the %PATH%, is git actually installed on the box which had the error? |
To be honest git isn't installed on any of my build agents. |
Maybe we can investigate if we really need git.exe for this or if we can use libgit2sharp as well. |
This is not possible unless we re implement the graph drawing stuff from log. |
This is not required for any core parts of gitversion, it is only when there is an unhandled exception, we attempt to dump out a |
That error message is a bit misleading. We use TeamCity and I forgot to select VCS checkout mode: Automatically on agent. By default it will checkout on server --> the build agent has not local |
Can you paste your logs, I thought we detected that condition and gave a decent error message. I will improve the error message around the missing git exe as well, its causing a lot of confusion |
NuGet: GitVersion.CommandLine (3.0.2) Sorry, German region settings:
|
We need to get a test around that.. thats a regression :( Will get it fixed |
Wait.. there is a new version 3.1.0 from last weekend.. let me check this first :-) |
Nope, same problem with 3.1.0. |
Haven't really dug into this problem, but it's related to #542 (I found this out via that issue):
Maybe the path determination should be improved a bit?
The text was updated successfully, but these errors were encountered: