Welcome to the Artifactory plugin for Backstage!
The purpose of this plugin is to bring software artifacts forward - where developer can see them. You can now easily connect your software components and services to their binary artifacts and browse the relevant artifacts directly from your Bacsktage IDP.
In order to use this plugin please also install the Artifactory Backend plugin
Yarn:
yarn add @stagecentral/plugin-artifactory
Npm:
npm -i @stagecentral/plugin-artifactory
In packages/app/src/components/catalog/EntityPage.tsx
:
import { EntityArtifactoryContent } from '@stagecentral/plugin-artifactory';
...
const serviceEntityPage = (
<EntityLayout>
/* Add the route after other EntityLayout.Route entries */
<EntityLayout.Route path="/artifactory" title="Artifactory">
<EntityArtifactoryContent />
</EntityLayout.Route>
</EntityLayout>
);
Most of the configuration is needed in the correspnding backend plugin.
This plugin only uses the Artifactory URL in order to generate artifact paths in the UI.
In your app-config.yaml
(or wherever you inject Backstage config from):
artifactory:
url: https://myorg.jfrog.io
Note: this is the URL to Jfrog platform. The plugin adds /artifactory
to this path.