Pipelines - Access Bitbucket Repository

Hello All,

During my build process for my App I need to access another private Bitbucket repository through Bower. This repository is under the same project as the one that is being built. Here is the definition inside of my bower file:

ui-common: git@bitbucket.org:my-project/commonui.git

 

Is there anyway for me to assign a user for pipelines to pull the code down as?

 

Thanks,

Bryan

1 answer

This widget could not be displayed.
Joshua Tjhin Atlassian Team Nov 23, 2016

Hey Bryan,

Thanks for explaining your issue.

I believe since the git protocol falls back to SSH for private repositories you will need to do 2 things:

  1. Generate a ssh key pair
  2. Add the public key to the Bitbucket repositories as a deployment key
  3. Add the private key to your repository as a pipeline environment variable

Cheers,

Joshua

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,319 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