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?




1 answer

0 votes
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



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

433 views 6 9
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