Skip to main content
Version: Next

createTriggerGitlabPipelineAction()

Home > @backstage/plugin-scaffolder-backend-module-gitlab > createTriggerGitlabPipelineAction

Creates a gitlab:pipeline:trigger Scaffolder action.

Signature:

createTriggerGitlabPipelineAction: (options: {
integrations: ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
branch: string;
repoUrl: string;
projectId: number;
tokenDescription: string;
token?: string | undefined;
variables?: Record<string, string> | undefined;
}, {
pipelineUrl: string;
}>

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; }

Templating configuration.

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ branch: string; repoUrl: string; projectId: number; tokenDescription: string; token?: string | undefined; variables?: Record<string, string> | undefined; }, { pipelineUrl: string; }>