createBitbucketPipelinesRunAction()
Home > @backstage/plugin-scaffolder-backend-module-bitbucket-cloud
> createBitbucketPipelinesRunAction
Creates a new action that triggers a run of a bitbucket pipeline
Signature:
createBitbucketPipelinesRunAction: (options: {
integrations: ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
workspace: string;
repo_slug: string;
body?: {
target?: {
type?: string | undefined;
source?: string | undefined;
selector?: {
type: string;
pattern: string;
} | undefined;
pull_request?: {
id: string;
} | undefined;
commit?: {
type: string;
hash: string;
} | undefined;
destination?: string | undefined;
ref_name?: string | undefined;
ref_type?: string | undefined;
destination_commit?: {
hash: string;
} | undefined;
} | undefined;
variables?: {
key: string;
value: string;
secured: boolean;
}[] | undefined;
} | undefined;
token?: string | undefined;
}, {
buildNumber?: number | undefined;
repoUrl?: string | undefined;
pipelinesUrl?: string | undefined;
}, "v2">
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ integrations: ScmIntegrationRegistry; } |
import("@backstage/plugin-scaffolder-node").TemplateAction<{ workspace: string; repo_slug: string; body?: { target?: { type?: string | undefined; source?: string | undefined; selector?: { type: string; pattern: string; } | undefined; pull_request?: { id: string; } | undefined; commit?: { type: string; hash: string; } | undefined; destination?: string | undefined; ref_name?: string | undefined; ref_type?: string | undefined; destination_commit?: { hash: string; } | undefined; } | undefined; variables?: { key: string; value: string; secured: boolean; }[] | undefined; } | undefined; token?: string | undefined; }, { buildNumber?: number | undefined; repoUrl?: string | undefined; pipelinesUrl?: string | undefined; }, "v2">