It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trigger Azure pipelines from BB pipelines

I want to able to trigger an Azure build from the BB pipelines. This part is easy, just use Azure API to trigger a manual build.

The use case is to defer more expensive tasks until the sanity tests have passed (unit tests, lint tests, etc).

The problem I am facing is that in the PR, it does not detect that build running on Azure.

How does bitbucket detect the builds running on various CI providers? Does the provider have to call a webhook every time the status of build changes (started, failed, succeeded?

This was working with Buildkite. It was able to detect the build started manually.

This does not seem to work with Azure pipelines. When I trigger the build on Azure, it's not reflected in the PR.

Is there anything I can do in Azure to so that BB would show that build. Something like calling a bitbucket API or something else.

PS: If I just enable "continuous integration" on Azure, then while raising a PR, 2 builds starts simultaneously. One on BB pipelines and the other on Azure. My use case if different as described above.

Is this possible? Any help is highly appreciated.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,052 views 0 3
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you