deleteScratchOrg
deleteScratchOrg(
options,devHubAlias):Promise<void>
Defined in: packages/simply-cicd-core/src/build/deleteScratchOrg.ts:37
Authenticates to the Dev Hub that owns the scratch org and deletes it.
devHubAlias must already be authenticated by the calling pipeline. Deletion failures are
logged, not thrown, matching the original behavior: a scratch org that fails to delete just
needs manual cleanup later, and shouldn’t fail an otherwise-successful pipeline run.
Parameters
Section titled “Parameters”options
Section titled “options”devHubAlias
Section titled “devHubAlias”string
Returns
Section titled “Returns”Promise<void>