Skip to content

Commit

Permalink
feat(executors): support bitbucket product option
Browse files Browse the repository at this point in the history
update the install executor to support the bitbucket product option

Closes #123
  • Loading branch information
tbinna committed Jul 3, 2024
1 parent a0750a1 commit 1cf9b69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/reference/executors.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,13 @@ _Mirrors the [install command](https://developer.atlassian.com/platform/forge/cl
- _Atlassian site URL (example.atlassian.net)_
- Type: `string`
- <b id="#/properties/product">product</b> `required`
- _Atlassian product: jira, confluence, compass_
- _Atlassian product: jira, confluence, compass, bitbucket_
- Type: `string`
- The value is restricted to the following:
1. _"jira"_
2. _"confluence"_
3. _"compass"_
4. _"bitbucket"_
- <b id="#/properties/environment">environment</b>
- _Environment to install to._
- Type: `string`
Expand Down
2 changes: 1 addition & 1 deletion packages/nx-forge/src/executors/install/schema.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export interface InstallExecutorOptions {
outputPath: string;
site: string;
product: 'jira' | 'confluence' | 'compass';
product: 'jira' | 'confluence' | 'compass' | 'bitbucket';
environment: string;
upgrade: boolean;
confirmScopes: boolean;
Expand Down
4 changes: 2 additions & 2 deletions packages/nx-forge/src/executors/install/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"product": {
"type": "string",
"description": "Atlassian product: jira, confluence, compass",
"enum": ["jira", "confluence", "compass"],
"description": "Atlassian product: jira, confluence, compass, bitbucket",
"enum": ["jira", "confluence", "compass", "bitbucket"],
"alias": "p"
},
"environment": {
Expand Down

0 comments on commit 1cf9b69

Please sign in to comment.