Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72416

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.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • git-client-plugin
    • None

      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.

            nyendwa Janny
            nyendwa Janny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: