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

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

Can a manual deployment be setup (custom) so it can only be run on a particular branch?

I've successfully set up a manual (custom) deployment pipeline that is intended to be used for our production deployments. A little concerned that human error could result in this being run on a development branch instead of our production brance. Is there any way to setup a manual deployment that can only be run on a particular branch?

1 answer

1 accepted

0 votes
Answer accepted

Hi @sgiam

Yes, you can do it if you have a premium account.
You need to go to Settings >> Pipelines >> Deployment >> (selected deployment) and define what branches will be available to deploy it.

The following page is a reference for the feature you want:

I hope that helps.

Thank you, a little of a bummer being on standard plan, but good to know.

Like Daniel Santos likes this

You are welcome!

Suggest an answer

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

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

3,761 views 64 20
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