At moment I'm trying to create connection from jenkins to my bitbucket repository, using the git plugin that I've installed in jenkins.
When I enter to the repository URL, I get the following message notification shown in the figure:
"Failed to connect to repository : Command "ls-remote -h [email protected]:safe2school-ondemand/s2s-android-padres.git HEAD" returned status code 128: stdout: stderr: Permission denied (publickey). fatal: The remote end hung up unexpectedly"
I've install jenkins on apache tomcat container, which is located in a path /srv/apache-tomcat
In the system I have a root ssh-key and I add this key to bitbucket. I appreciate your support :)
You can try with user-password authentication credential, this is the alternative way that this plugin gives us.
Finally, the absence of errors (like red messages under repo url input) means that the process had success.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments