/bitbucket-pipelines | Type: Application | PCID required: Yes
Tools
| Tool | Description |
|---|---|
bitbucket_pipelines_create_environment | Create an environment |
bitbucket_pipelines_create_pipeline | Run a pipeline |
bitbucket_pipelines_create_pipeline_variable | Create a variable for a repository |
bitbucket_pipelines_delete_environment | Delete an environment |
bitbucket_pipelines_get_deployment | Get a deployment |
bitbucket_pipelines_get_environment | Get an environment |
bitbucket_pipelines_get_pipeline | Get a pipeline |
bitbucket_pipelines_get_pipeline_config | Get configuration |
bitbucket_pipelines_get_pipeline_step | Get a step of a pipeline |
bitbucket_pipelines_get_pipeline_step_log | Get log file for a step |
bitbucket_pipelines_list_deployments | List deployments |
bitbucket_pipelines_list_environments | List environments |
bitbucket_pipelines_list_pipeline_steps | List steps for a pipeline |
bitbucket_pipelines_list_pipeline_variables | List variables for a repository |
bitbucket_pipelines_list_pipelines | List pipelines |
bitbucket_pipelines_stop_pipeline | Stop a pipeline |
bitbucket_pipelines_update_pipeline_config | Update configuration |
bitbucket_pipelines_create_environment
Create an environment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
name | string | No | — | The name of the environment. |
type | string | Yes | — | The type value |
uuid | string | No | — | The UUID identifying the environment. |
bitbucket_pipelines_create_pipeline
Run a pipeline Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
build_number | integer | No | — | The build number of the pipeline. |
build_seconds_used | integer | No | — | The number of build seconds used by this pipeline. |
completed_on | string | No | — | The timestamp when the Pipeline was completed. This is not set if the pipeline is still in progress. |
configuration_sources | object[] | No | — | An ordered list of sources of the pipeline configuration |
created_on | string | No | — | The timestamp when the pipeline was created. |
creator | object | No | — | The creator value |
links | object | No | — | The links value |
repository | object | No | — | The repository value |
state | object | No | — | The state value |
target | object | No | — | The target value |
trigger | object | No | — | The trigger value |
type | string | Yes | — | The type value |
uuid | string | No | — | The UUID identifying the pipeline. |
variables | any[] | No | — | The variables for the pipeline. |
bitbucket_pipelines_create_pipeline_variable
Create a variable for a repository Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
key | string | No | — | The unique name of the variable. |
secured | boolean | No | — | If true, this variable will be treated as secured. The value will never be exposed in the logs or the REST API. |
type | string | Yes | — | The type value |
uuid | string | No | — | The UUID identifying the variable. |
value | string | No | — | The value of the variable. If the variable is secured, this will be empty. |
bitbucket_pipelines_delete_environment
Delete an environment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
environment_uuid | string | Yes | — | The environment UUID. |
bitbucket_pipelines_get_deployment
Get a deployment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
deployment_uuid | string | Yes | — | The deployment UUID. |
bitbucket_pipelines_get_environment
Get an environment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
environment_uuid | string | Yes | — | The environment UUID. |
bitbucket_pipelines_get_pipeline
Get a pipeline Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
pipeline_uuid | string | Yes | — | The pipeline UUID. |
bitbucket_pipelines_get_pipeline_config
Get configuration Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | The account. |
repo_slug | string | Yes | — | The repository. |
bitbucket_pipelines_get_pipeline_step
Get a step of a pipeline Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
pipeline_uuid | string | Yes | — | The UUID of the pipeline. |
step_uuid | string | Yes | — | The UUID of the step. |
bitbucket_pipelines_get_pipeline_step_log
Get log file for a step Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
pipeline_uuid | string | Yes | — | The UUID of the pipeline. |
step_uuid | string | Yes | — | The UUID of the step. |
bitbucket_pipelines_list_deployments
List deployments Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
bitbucket_pipelines_list_environments
List environments Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
bitbucket_pipelines_list_pipeline_steps
List steps for a pipeline Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
pipeline_uuid | string | Yes | — | The UUID of the pipeline. |
bitbucket_pipelines_list_pipeline_variables
List variables for a repository Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
bitbucket_pipelines_list_pipelines
List pipelines Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
creator.uuid | string | No | — | The UUID of the creator of the pipeline to filter by. |
target.ref_type | string | No | — | The type of the reference to filter by. |
target.ref_name | string | No | — | The reference name to filter by. |
target.branch | string | No | — | The name of the branch to filter by. |
target.commit.hash | string | No | — | The revision to filter by. |
target.selector.pattern | string | No | — | The pipeline pattern to filter by. |
target.selector.type | string | No | — | The type of pipeline to filter by. |
created_on | string | No | — | The creation date to filter by. |
trigger_type | string | No | — | The trigger type to filter by. |
status | string | No | — | The pipeline status to filter by. |
sort | string | No | — | The attribute name to sort on. |
page | integer | No | — | The page number of elements to retrieve. |
pagelen | integer | No | — | The maximum number of results to return. |
bitbucket_pipelines_stop_pipeline
Stop a pipeline Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
pipeline_uuid | string | Yes | — | The UUID of the pipeline. |
bitbucket_pipelines_update_pipeline_config
Update configuration Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
workspace | string | Yes | — | This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}. |
repo_slug | string | Yes | — | The repository. |
enabled | boolean | No | — | Whether Pipelines is enabled for the repository. |
repository | object | No | — | The repository value |
type | string | Yes | — | The type value |

