4
I climbed a Jenkins into an Ubuntu Server 13 VM and I’m trying to create a job so I can clone a repository via SSH. Credentials are already configured and via the command line works perfectly.
Missing any step or configuration?
WORKAROUND I removed the password from the public key and it worked, but there is still a need to use it encrypted.
Make sure you put the Jenkins user’s public key into Git.
– Rodrigo Rigotti
@rodrigorigotti put yes. Thank you.
– Idemax
Are you running Jenkins with the same user who cloned via shell? I know everyone is circulating the same questions, but it seems like some other little slip like this is really a problem with Jenkins/git
– Luiz Cavalcanti
@mollusk who makes the clone, in the way I’m trying to do, is Jenkins himself (with the user Jenkins), and after I removed the password from the public key worked perfectly. The problem is Jenkins passing the configured password to the shell. Thank you!
– Idemax