Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Manual job for specific branch

Samantha Adrichem September 13, 2017

We're new to using pipelines and we're currently using it to deploy our system to the production environment.

Now we could write a pipeline that auto deploys when something is merged in master. But for uploads we'd prefer to trigger the job manually just to be safe.

So that would result in a custom pipeline. The problem with custom pipelines however is that i can execute it on any branch. Resulting in the posibility to deploy a branch other than master to the production environment.

- Is it possible to make a master only pipeline that needs to be executed manually?

OR

- is it possible to lock custom pipelines to specific branches?

 

Can't seem to find it in the docs

1 answer

1 accepted

0 votes
Answer accepted
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 3, 2019

Restricting Pipeline execution is currently not supported.

However we are currently working on Deployment restrictions. This will allow for configuring users who can perform a deployment step, as well as which branch the deployment can be deployed from. 

More details on this feature request: https://bitbucket.org/site/master/issues/13676/ability-to-restrict-who-can-run-deployment

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events