Files
backstage/plugins/events-backend-module-bitbucket-server/README.md
T
David Lilienfeld bb305509fd Fix all suggestions | working tests
Signed-off-by: David Lilienfeld <davidlilienfeld4@gmail.com>
2025-03-02 22:53:15 -05:00

1.2 KiB

events-backend-module-bitbucket-server

Welcome to the events-backend-module-bitbucket-server backend plugin!

This package is a module for the events-backend backend plugin and extends the event system with an BitbucketServerEventRouter.

The event router will subscribe to the topic bitbucketServer and route the events to more concrete topics based on the value of the provided x-event-key metadata field.

Examples:

x-event-key topic
repo:refs_changed bitbucketServer.repo:refs_changed
repo:modified bitbucketServer.repo:modified

Please find all possible webhook event types at the official documentation.

Installation

Install the events-backend plugin.

Install this module:

# From your Backstage root directory
yarn add --cwd packages/backend @backstage/plugin-events-backend-module-bitbucket-server
// packages/backend/src/index.ts
backend.add(import('@backstage/plugin-events-backend-module-bitbucket-server'));