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

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

sgiam December 18, 2019

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
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 19, 2019

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.

sgiam December 19, 2019

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

Like Daniel Santos likes this
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2019

You are welcome!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events