Can i build, test and depoly multiple repo of bitbucket in single pipeline ?

I want  to  build ,test and deploy multiple project as in single Project's pipeline as i want to test end to end flow .

1 answer

1 accepted

1 vote
Accepted answer
Geoff Crain Atlassian Team Nov 07, 2017

Hi Parth,

As Pipelines is repository-centric, we don't support this natively. Though there are a couple of setups you could use, depending on your use case.

The first is if you have dependent repositories. So if you have two things you release independently of each other, but you don't want to release if you've broken an integration point between them.

For this I'd suggest having your Repo #1 pipeline clone Repo #2 and then you can do your E2E testing there. (if both can potentially break the integration, you'd want to do the equivalent in both repositories). For details on how to set up cloning via SSH:

The second is if the repositories need to be built and deployed together. 

In this case you could use sub repositories, and have your pipeline run on the combined repository.

Hopefully this helps.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

416 views 5 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you