Can a pipeline trigger from multiple repositories?

I'm currently working on a project with Bitbucket Cloud that uses Google Repo ( to manage multiple repositories within the project.  Is it possible to configure pipelines such that a commit to any repository in the project will trigger "the build"?  I'm used to doing this with Bamboo, but I'm not sure how to set this up with pipelines in the cloud. 

2 answers

0 vote
Joshua Tjhin Atlassian Team Jan 26, 2017

Could you explain your set up a bit more and why you would like to trigger another repository from a push?

A possible way is to trigger another repository is by using our REST API

from your pipeline steps.

The project is build on Yocto ( which has layers from multiple repositories.  The individual repositories can't be built independently.  I'm using Google's Repo tool to fetch all of the repositories before running the build script that is in one of the repositories, but needs all of the repositories to build successfully.  

My goal is to run the one build if any of the repositories get a commit pushed to them.  

The REST API might be a good solution.  I'll look into that. Thanks. 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,770 views 1 5
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