@backstage-community/plugin-allure
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

Welcome to the Backstage Allure plugin. This plugin add an entity service page to display Allure test reports related to the service.

Install

# From your Backstage root directory
yarn --cwd packages/app add @backstage-community/plugin-allure

Configure

Configure Allure service

Add below configuration in the app-config.yaml.

allure:
  baseUrl: <ALLURE_SERVICE_BASE_URL> # Example: https://allure.my-company.net or when running allure locally, http://localhost:5050/allure-docker-service

Setup entity service page

Add EntityAllureReportContent in the EntityPage.tsx like below:

+ import { EntityAllureReportContent } from '@backstage-community/plugin-allure';

...

const serviceEntityPage = (
  <EntityLayoutWrapper>
    ...
+    <EntityLayout.Route path="/allure" title="Allure Report">
+        <EntityAllureReportContent />
+    </EntityLayout.Route>
  </EntityLayoutWrapper>
);

Readme

Keywords

none

Package Sidebar

Install

npm i @backstage-community/plugin-allure

Homepage

backstage.io

Weekly Downloads

79

Version

0.6.0

License

Apache-2.0

Unpacked Size

51.9 kB

Total Files

18

Last publish

Collaborators

  • patriko