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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.