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.

    • 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.

          [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.

          Janny created issue -
          Janny made changes -
          Description Original: 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:nyendwa/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.
          New: 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.
          Janny made changes -
          Attachment New: Jenkins Error.png [ 61655 ]
          Janny made changes -
          Attachment New: Git Configuration.png [ 61656 ]
          Mark Waite made changes -
          Link New: This issue duplicates JENKINS-54053 [ JENKINS-54053 ]
          Mark Waite made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: