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...........
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.