-
Bug
-
Resolution: Duplicate
-
Critical
-
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.
- duplicates
-
JENKINS-54053 Git plugin uses git.exe as default on Windows server, even for Linux agents
-
- Open
-
[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.
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. |
Attachment | New: Jenkins Error.png [ 61655 ] |
Attachment | New: Git Configuration.png [ 61656 ] |
Link | New: This issue duplicates JENKINS-54053 [ JENKINS-54053 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |