Our git remote server is Gitolite and is has the public key of all the users
This has worked in Jenkins for standard project types, FreeStyle, Maven, Multiconfiguration. The user jenkins
Now using Pipeline, it fails to authenticate indexing the added repository. I have not set up any credentials for the repository. I had the same problem on a local test instance of Jenkins where using credentials solved that. However I do not have access to neither the password nor the private key of the user git on our company remote git server.
I have no problem accessing the repository on the command line with the user jenkins.