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

0 vote
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: https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html.

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.

Cheers,

Geoff

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

25,975 views 26 12
Join discussion

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