|
Hello there,
I have got a bitbucket repository and git installed.
I wan to to connect my bitbucket with jenkins and vice versa.
However, it does not work. I get this error in my Jenkins project:
Failed to connect to repository url : Error performing command: C:\Program Files (x86)\Git\cmd ls-remote -h [email protected]:test/test-test2.git HEAD
I have put my Git/cmd folder as executable in general settings for Jenkins, but when I try to enter the repository url, the above error is being displayed.
I have added the SSH keys but no luck so far. I have added the PIDs of the agents in the files in order to be recognized, but no progress.
I have also tried to run the JENKINS service by logging as a user rather than a local user but also didn't work.
I know it should have been working just by adding the id_rsa key to bitbucket's account, but I am exhausted already.
Any help would be really really appreciated, I have been struggling with this issue for quite some time now.
|