I have switched my Git repos to authenticate with Crowd instead of basic authentication. It's all working great when anyone can authenticate, but I have problems with two commands, any ideas how to solve it?
git ls-remote -h HEAD I do not have a way to specify any credentials here (it's in Jenkins)
git remote update How to pass credentials here?
In Jenkins, when configuring Git repository URL I get following:
Failed to connect to repository : Command "git ls-remote -h http://---/---.git HEAD" returned status code 128:
stdout:
stderr: fatal: Authentication failed