Hi there,
I've started with Pipelines configuration and would like someone to bring some light on following:
During pipeline step I have to perform "git clone" for another repo. It is located under the same account and has the public key of my own added.
How should I perform that properly? Getting repo doesn't exist accessing simply via git clone -b <branch> git@bitbucket/<address>.git
In other words I need the correct syntax and clarification for activity described here (https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html) -> Step3 -> Other Bitbucket cloud repositories
Thank you in advance for any help
What exactly do you need clarification on?
All you need to do is
1. Generate an SSH key in the repo where you are running the build https://bitbucket.org/<repo path>/admin/addon/admin/pipelines/ssh-keys
2. Copy the public key generated and add it to the access keys of the repository that you are cloning https://bitbucket.org/<repo path>admin/access-keys/
What error are you seeing? You might need to tweak permissions.
Let me know if this helps,
Davina
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.