I want to add my Gerrit Server to Jenkins by using the Gerrit Trigger plugin. However, When i click the "Test Connection" button i get the error "Connection error : com.jcraft.jsch.JSchException: Auth fail"
I have verified that the Jenkins account can SSH into the Gerrit server without specifying a password, I have also verified that i can open my Gerrit Website from my Jenkins Server.
I dont know why the connection fails, And i haven't been able to find a start to finish guide for adding Gerrit servers in Jenkins.
Solved. It took me a while to find a guide that included this step. But i solved it by adding the public ssh key in the Gerrit interface. Now the connection succeeds on this step.