Update Atlassian skill prereq checks
This commit is contained in:
@@ -23,6 +23,8 @@ pnpm --dir skills/atlassian/shared/scripts sync:agents
|
||||
- `ATLASSIAN_EMAIL`
|
||||
- `ATLASSIAN_API_TOKEN`
|
||||
|
||||
The `ATLASSIAN_*` values may come from the shell environment or a `.env` file in the installed agent-specific `scripts/` folder.
|
||||
|
||||
Optional:
|
||||
|
||||
- `ATLASSIAN_JIRA_BASE_URL`
|
||||
@@ -121,9 +123,7 @@ Run in the installed `scripts/` folder:
|
||||
|
||||
```bash
|
||||
node -e "require.resolve('commander');require.resolve('dotenv');console.log('OK: runtime dependencies installed')"
|
||||
test -n \"$ATLASSIAN_BASE_URL\"
|
||||
test -n \"$ATLASSIAN_EMAIL\"
|
||||
test -n \"$ATLASSIAN_API_TOKEN\"
|
||||
node -e 'require("dotenv").config({ path: ".env" }); const required = ["ATLASSIAN_BASE_URL", "ATLASSIAN_EMAIL", "ATLASSIAN_API_TOKEN"]; const missing = required.filter((key) => !(process.env[key] || "").trim()); if (missing.length) { console.error("Missing required Atlassian config: " + missing.join(", ")); process.exit(1); } console.log("OK: Atlassian config present")'
|
||||
pnpm atlassian health
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user