Bitbucket/Stash Application integration, share key with Bamboo agents

We have an integration between Bamboo and Bitcbuket that allows us to use the bitcbuket/Stash server as a repo source for builds instead of just HTTP, however when a remote agent runs the build SSH there is an access denied message. Is there a way to get Bamboo to share the key pair created when adding the repo to a build via Bitbucket/Stash integration with the remote agents so they can checkout from the bitbucket repo?

This is the integration im refering to: https://confluence.atlassian.com/bitbucketserver/bamboo-integration-776639871.html

Thanks,
Chris

1 answer

This widget could not be displayed.

Hi Chris,

You shouldn't have to do anything special.  The only reason you should need to have the SSH keys inside the remote agent is if you're working with submodules per BAM-11369.

At this point if that is not the case, I would make sure SSH access is turned on in BitBucket per the Bamboo Integration knowledge base and try.

Finally, try with a local agent and see if that works.

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,205 views 8 11
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you