Git command fails on Windows when git installed in default place (C:\Program Files\Git).

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I am running Jenkins on a Linux machine with a Windows slave. On the Windows machine have git installed in its default place (C:\Program Files\Git). I included the git bin directory (C:\Program Files\Git\bin) in the Windows machine's path, hence putting git.exe on the path, and the slave still failed to find the git command.

      When I moved the git install to C:\Git, and updated my path, it started to work.

            Assignee:
            Andrew Bayer
            Reporter:
            Anthony Berent
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: