Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

is it possible to not run on branch push pipeline when the latest push has a tag?

i am using a tag based release. When i want to release i tag the commit with release-${version} and push it. But doing so, causes two pipelines to run one for the push on master and another for the tag. is it possible to just run tag pipeline and not the push pipeline if the latest pushed commit has a tag.

1 answer

1 accepted

1 vote
Answer accepted
Mark C Atlassian Team May 29, 2022

Hi @Siddhant

Welcome to the community.

Unfortunately, it's not possible to stop a branch push trigger when there's a specific tag on a push.
As a workaround, you can add a script in the branch/default trigger that validates if a pushed commit has a specific tag.
Then return exit command to stop executing the build further.

    - step:
        name: Default trigger
          - # validate if there's a tag then return exit to stop executing the build further
          - #Some scripts here
      - step:
          name: Release
            - #Some scripts here

Hope it helps and do let me know if you have further questions that I can help with.

Mark C

Thanks for replying.
This will definitely save some of the build minutes...
Btw, Is there any chance of this kind of feature being added in near future?

Mark C Atlassian Team Jun 01, 2022

Hi @Siddhant

We do have an existing feature request for it that can be located through this link. -
You can upvote and watch it for now so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.
Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy here.

Hope it helps and let me know if you have further questions.

Mark C

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events