Plugin procedures can be used in procedure steps, process steps, and pipeline tasks, allowing you to orchestrate third-party tools at the appropriate time in your component, application process, or pipeline.
Approve pull request
Approves a pull request with the credentials of the service account configured for the plugin.
Input parameters
Parameter | Description |
---|---|
Name |
Required. The previously defined configuration for the plugin. |
Workspace |
Required. This can either be the workspace ID (slug) or the workspace UUID, surrounded by curly braces. For example, |
Repository slug |
Required. This can either be the repository slug or the UUID of the repository, surrounded by curly braces. For example, |
Pull request ID |
Required. The pull request ID number. |
Create pull request
Creates a pull request.
Input parameters
Parameter | Description |
---|---|
Name |
Required. The previously defined configuration for the plugin. |
Workspace |
Required. This can either be the workspace ID (slug) or the workspace UUID, surrounded by curly braces. For example, |
Repository slug |
Required. This can either be the repository slug or the UUID of the repository, surrounded by curly braces. For example, |
Source |
Required. The source branch name. For example, |
Destination |
The destination branch name. The default is |
Title |
The pull request title. |
Description |
The description for the pull request. |
Reviewers |
The UUIDs of the reviewers, separated by a newline, or the usernames of the reviewers. If a username is provided, the user must exist in the workspace. |
Close source branch |
Specifies if the source branch should be closed when merged. |
Post commit status
Posts a status of the build associated with the commit.
Input parameters
Parameter | Description |
---|---|
Name |
Required. The previously defined configuration for the plugin. |
Workspace |
Required. This can either be the workspace ID (slug) or the workspace UUID surrounded by curly braces. For example, |
Repository slug |
Required. This can either be the repository slug or the UUID of the repository, surrounded by curly braces. For example, |
Commit ID |
Required. The ID (SHA1) of the commit to post the status to. For example, |
Key |
An identifier for the status that is unique to its type. The default is |
URL |
A URL that links to the vendor or build system for providing more information about the process that produced the post commit status. This field accepts a context variables repository and a commit that Bitbucket evaluates at runtime. For example, if you use |
Description |
A description of the build. For example, "Unit tests in CloudBees CD/RO". |
Mimic runtime status |
If selected, the Bitbucket status is posted according to the status of the current CloudBees CD/RO runtime. |
Status |
Provides an indication of the status of the commit. |