Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

HI Team, How can I communicate with 2 repos at build time?

Sandeep Maheshwaram
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 10, 2023

am trying to communicate 2 repos at time of build , in the 1st pipeline the code will take from 2 repo , but am getting Error  git@bitbucket.org permission denied .npm ERR! /usr/bin/git ls-remote -h -t ssh://git@bitbucket.org/ . can you help to resolve this am added my SSH keys also still am not able to get the solution...........

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 12, 2023

Hey Sandeep,

I would suggest reading through this blog post below - it will show you how to clone from another repo at build time if you just need read permissions for the build:
https://bitbucket.org/blog/cloning-another-bitbucket-repository-in-bitbucket-pipelines

You can also set  an AppPassword or use SSH to push back to another repository by following the steps below if write permissions is what you need:
https://support.atlassian.com/bitbucket-cloud/docs/push-back-to-your-repository/

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events