Skip to main content
Version: Next

createBitbucketPipelinesRunAction()

Home > @backstage/plugin-scaffolder-backend-module-bitbucket > createBitbucketPipelinesRunAction

Warning: This API is now obsolete.

use import from @backstage/plugin-scaffolder-backend-module-bitbucket-cloud instead

Signature:

createBitbucketPipelinesRunAction: (options: {
integrations: import("@backstage/integration").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: import("@backstage/integration").ScmIntegrationRegistry; }

**Returns:**

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">