There's no such executable C:\Program Files\Git\bin\git.exe in PATH: /opt/java/openjdk/bin, /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin.

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

XMLWordPrintable

      I am trying to link a project from GitHub to Jenkins however I am facing two issues in my Source Code management 
      "Failed to connect to repository : Command "git ls-remote -h – git@github.com:********/MSBuildTest.git HEAD" returned status code 128:
      stdout:
      stderr: Host key verification failed.
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists."

      I went to Tool Configuration but that hasn't helped my case either as I am facing this error There's no such executable C:\Program Files\Git\bin\git.exe in PATH: /opt/java/openjdk/bin, /usr/local/sbin, /usr/local/bin, /usr/sbin, /usr/bin, /sbin, /bin.

      I am on Windows 11 and been stuck for over 48 hrs trying to link GitHub to Jenkins for automatic testing.

            Assignee:
            Janny
            Reporter:
            Janny
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: