Hi all,

I have a private repo using gogs and trying to setup a connection from my 
jenkins project via http but getting the following error:

Failed to connect to repository : Command "git ls-remote -h 
http://myrepourl.git HEAD" returned status code 128:
stdout: 

stderr: fatal: unable to access 'http://myrepourl.git/': The requested URL 
returned error: 500

I have added a jenkins user to gogs and tested it.  I can wget the url from 
the jenkins server ok and also run the git -ls remote repourl HEAD command 
ok, aswell as clone the repo using git clone on the cli.  I do get prompted 
for access to the gogs repo when cloning however the username and password 
i have added to the connection config in the jenkins project works fine.  

There is nothing being outputted to /var/log/jenkins/jenkins.log relating 
to this so im at a bit of a loss as to how to continue troubleshooting 
this, I tried using an ssh key but had similar problems, any input would be 
greatly appreciated.

Many Thanks

Sam


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b775c6b1-0fb5-4baa-8371-49ba9a620177%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to