I just upgraded both Bamboo and Bitbucket to the latest version (4.3.2 & 220.127.116.11) and having trouble integrating my Bitbucket repositories with Bamboo now.
When I try to create a linked (Bitbucket) repository in Bamboo I can find this error in the log files:
Can't authenticate with Bitbucket Server despite successful public key storage: ssh-rsa <MY_KEY> http://my_url/bamboo
And it seem that I run into the already known New access key is required but could not be added to Bitbucket Server problem - but the suggested workaround is not working in my case
I created a system ssh private/public key pair with "http://my_url/bamboo" as label. I added the private key as shared credentials in Bamboo and stored my public key on the Bitbucket repository. But each time I try to create the linked repository another public key will be added to repository. Where does this public key come from and to which private key does it belong?
Bamboo and Bitbucket are running in Docker containers and I wonder if this might cause the problems.
I already scanned through the Atlassian docs but cannot find anything helpful so far.
Any hint pointing me to the right direction would be very much appreciated!
Found a solution!
I missed this log entry right before the can´t authenticate entry:
Command was canceled: command /bin/git version failed with code -1. Working directory was [/].
Which pointed me to the right direction and I finally found out that the location of my git executable was stored with a wrong path: /bin/git instead of /usr/bin/git
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs