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:
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