Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Run manual build on tag

Is it possible to run manual builds on tags in bitbucket pipelines ?

3 answers

The only way we were able to solve this was copying the tag build into a duplicate custom build where we could pass in the tag name.  For example,

bitbucket-pipelines_yml_—_lineage-apps.png

You can then trigger the build and pass in the tag name as a variable

lineagenext___sunnyvale-automation-apps___Pipelines_—_Bitbucket.png

It's stupid that we have to work around something simple like this, but hopefully it'll be fixed by Atlassian in a future release.

I've hit this problem as well, there is not way to run a pipeline for a tag, even if you select a tagged commit, it will only run the pipeline for the commit and BITBUCKET_TAG is empty. You have to delete and then re-push the tag to trigger a tag build pipeline.

You should be able to trigger a build for any ref you wish, like CodeBuild and others can.

0 votes
xtjhin Atlassian Team Jun 14, 2017

Hi Aashish,

Is there any reason why you don't set up a pipeline to run on tags? Then use the tag feature in Bitbucket to trigger the pipeline?

One use case i can think of is, if you are following the GitFlow where you create a tag on your master when the build is released and you decide to rollback, you would like to redeploy an old version of your code. 

Like # people like this

it would be a cool feature to have so i dont have to create a separate branch to redeploy. 

Could be useful when bitbucket is failing and don't run tags pipeline by itself (like now)

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

228 views 2 9
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