I have a home server with git repositories. Now I'm trying to configure Jenkins on existing PHP repositories.
I installed Jenkins normally, but I get an error when creating a Job:
Repository URL = / home / git / repositories / testing.git
Error:
Failed to connect to the repository: the command "git ls-remote -h / home / git / repositories / testing.git HEAD" returns a status code of 128: stdout: stderr: fatal: '/home/git/repositories/testing.git' not makes it seem like this git repository is fatal: the remote end hung up unexpectedly
Help solve this problem.
Thanks.
PS I'm even trying to put the url that I use to remotely clone the repo:
SSH: // git @ 192.168.1.110: /testing.git
But I still get the error:
Failed to connect to the repository: the command "git ls-remote -h ssh: // git @ 192.168.1.110: /testing.git HEAD" returns a status code of 128: stdout: stderr: ssh: Failed to resolve the host name 192.168.1.110: : Name or service not known fatal: remote end unexpectedly hung up
source share