Add yarn command for installing jenkins-backend plugin

Signed-off-by: Tim Jacomb <tim.jacomb@hmcts.net>
This commit is contained in:
Tim Jacomb
2021-11-03 14:33:43 +00:00
committed by Tim Jacomb
parent f669d062bd
commit 7d95e98682
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -12,6 +12,12 @@ This is the backend half of the 2 Jenkins plugins and is responsible for:
This plugin needs to be added to an existing backstage instance.
```bash
# From your Backstage root directory
cd packages/backend
yarn add @backstage/plugin-jenkins-backend
```
Typically, this means creating a `src/plugins/jenkins.ts` file and adding a reference to it to `src/index.ts`
### jenkins.ts
+1 -1
View File
@@ -16,7 +16,7 @@ cd packages/app
yarn add @backstage/plugin-jenkins
```
2. Add and configure the backend plugin according to it's instructions
2. Add and configure the [jenkins-backend](../jenkins-backend) plugin according to it's instructions
3. Add the `EntityJenkinsContent` extension to the `CI/CD` page and `EntityLatestJenkinsRunCard` to the `overview` page in the app (or wherever you'd prefer):