How can I trigger build after merged event ?

This question is in reference to Atlassian Documentation: Event Payloads

I am trying to find a way to trigger a specific event I already how to trigger a build after commit . But what the script willl look like If I have an event such as merge, branch...  For instance ,let's said I have source branch calls Feature and a target branch calls Develop ;so, in this case, it’s the event of triggering a build when any feature branch (feature/*) is merged into the develop branch.What would the script will look  like  with pipelines ?

1 answer

0 votes

A merge will kick off a build just like a normal commit. This is because merging is seen by git as being a new commit with two parents.

At the moment Pipelines builds will only be triggered on a push webhook from Bitbucket.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 9 hours ago in Agile

Managing Projects in Several Jiras at the Same Time

Have you ever noticed that fixing specific problems might be a door opener for a bigger challenge, affecting a wider audience? This was exactly the case when we, as a service company working with mul...

57 views 0 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