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 Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

296 views 0 12
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