Pipelines - Access Bitbucket Repository

bryantp November 18, 2016

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

0 votes
xtjhin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 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
TAGS
AUG Leaders

Atlassian Community Events