Backstage
Docs
Github
Preparing search index...
@backstage/plugin-scaffolder-backend-module-bitbucket-cloud
createBitbucketPipelinesRunAction
Function createBitbucketPipelinesRunAction
createBitbucketPipelinesRunAction
(
options
:
{
integrations
:
ScmIntegrationRegistry
}
,
)
:
TemplateAction
<
{
body
?:
{
target
?:
{
commit
?:
{
hash
:
string
;
type
:
string
}
;
destination
?:
string
;
destination_commit
?:
{
hash
:
string
}
;
pull_request
?:
{
id
:
string
}
;
ref_name
?:
string
;
ref_type
?:
string
;
selector
?:
{
pattern
:
string
;
type
:
string
}
;
source
?:
string
;
type
?:
string
;
}
;
variables
?:
{
key
:
string
;
secured
:
boolean
;
value
:
string
}
[]
;
}
;
repo_slug
:
string
;
token
?:
string
;
workspace
:
string
;
}
,
{
buildNumber
?:
number
;
pipelinesUrl
?:
string
;
repoUrl
?:
string
}
,
"v2"
,
>
Creates a new action that triggers a run of a bitbucket pipeline
Parameters
options
:
{
integrations
:
ScmIntegrationRegistry
}
Returns
TemplateAction
<
{
body
?:
{
target
?:
{
commit
?:
{
hash
:
string
;
type
:
string
}
;
destination
?:
string
;
destination_commit
?:
{
hash
:
string
}
;
pull_request
?:
{
id
:
string
}
;
ref_name
?:
string
;
ref_type
?:
string
;
selector
?:
{
pattern
:
string
;
type
:
string
}
;
source
?:
string
;
type
?:
string
;
}
;
variables
?:
{
key
:
string
;
secured
:
boolean
;
value
:
string
}
[]
;
}
;
repo_slug
:
string
;
token
?:
string
;
workspace
:
string
;
}
,
{
buildNumber
?:
number
;
pipelinesUrl
?:
string
;
repoUrl
?:
string
}
,
"v2"
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...
Creates a new action that triggers a run of a bitbucket pipeline