Run pipeline
run_pipelineTrigger a Bitbucket pipeline build for a branch or commit, passing variables and custom pipeline definitions. Confirm custom pipelines before running.
Instructions
Start a Bitbucket pipeline — a re-run of a branch's build, or a definition from the custom: section of bitbucket-pipelines.yml. branch defaults to the current git branch; commit pins the build to a specific SHA instead of the branch tip. Consumes build minutes and can deploy, so confirm with the user before running a custom pipeline you did not pick out together. Requires the pipeline:write OAuth scope (re-run bitbucket-mcp setup if the server was set up before that scope existed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Bitbucket repo slug. | |
| branch | No | Branch to build. Defaults to the current git branch. | |
| commit | No | Commit SHA to build. Defaults to the branch tip. | |
| variables | No | Variables to pass to the build. | |
| workspace | No | Bitbucket workspace (slug). | |
| custom_pipeline | No | Name of a definition under `custom:` in bitbucket-pipelines.yml. |