Atlassian

Cloning another Bitbucket repository in Bitbucket Pipelines

Mar 7, 2020Ayush Sharma
Cloning another Bitbucket repository in Bitbucket Pipelines
SummaryAI, from the source post

This post details how to configure Bitbucket Pipelines to clone another Bitbucket repository using SSH keys. It explains the process of generating SSH keys within Bitbucket, adding the public key to the target repository's access keys, and then using `git clone` with the SSH URL in the pipeline script. This enables pipelines to access submodules or other dependent repositories.

More from the Bitbucket Pipelines Runner trail