-
Bug
-
Resolution: Not A Defect
-
Critical
-
Linux (CentOS -7)
Hi Team,
I'm new to Jenkins and i have installed GIT & Jenkins on same machine (Centos) and created sample project in jenkins dashboard.
when i input GIT URL for a project i'm facing below error
Failed to connect to repository : Error performing command: ls-remote -h git@192.168.10.124:PRODUCT_IMPORT HEAD.
Note: I have created a Key without password and its updated in GIT Server. both Jenkins & GIT are available in same server.
Please use the jenkins-user mailing list for configuration help, rather than a bug report. Far more users read the jenkins user mailing list than read individual bug reports, so you're more likely to receive timely help.
Though, based on the message, you likely have a system configuration error. The global settings for the git plugin include a location to define the git executable. On a CentOS machine (and almost every other case), it should have the value "git". It appears from your output that the value is empty.
If it had not been empty, the error message would have been:
Instead, you have the error message: