Skip to content

getAlmProjectKeys

getAlmProjectKeys(passedProjectKey?): string[]

Defined in: packages/simply-cicd-core/src/sfConfig.ts:76

Retrieves ALM project keys from the .sfdevrc.json configuration file, or falls back to a provided default. Reads a single or multiple project keys from the configuration, deduplicates them, and filters out empty values.

The legacy jiraProjectKey/jiraProjectKeys fields are still honored, so existing repositories keep working, but almProjectKey/almProjectKeys win outright when present — the two sets are not merged, so a repository migrating one key at a time gets the new value rather than a blend.

string

string[]