Jenkins does not have permissions to change from the repository. The public key of my current user on the server cat ~/.ssh/id_rsa.pub added to the Deploy keys repository. Machine Win 2012 R2, Jenkins 2.6.
Added Credentials in two ways.
The first one used the Username with password setting and added the username / pass of the user with known sufficient rights.
stderr: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists The second one - used the SSH Username with private key setting SSH Username with private key + From the Jenkins master ~/.ssh , where I copied ~/.ssh
stderr: Load key "C:\\Windows\\TEMP\\ssh5189845575748942561.key": invalid format Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Where do I make a mistake? And how do I deal with the data for connecting jenkins to the gitlab?
Load key "...": invalid formathints that the key is invalid. You gave him exactly the rightid_rsa? - Nick Volynkin ♦репозиторий вообще пингуется с дженкинса. Through the web interface somehow or through the console with a user change to jenkins (is the repository available through my current user)? Unfortunately, I don’t see such user in Win - while1pass