hardis:scratch:pool:create
Description
Select a data storage service and configure information to build a scratch org pool
Run the command, follow instruction, then you need to schedule a daily CI job for the pool maintenance:
- Define CI ENV variable SCRATCH_ORG_POOL with value "true"
- Call the following lines in the CI job:
sfdx hardis:auth:login --devhub
sfdx hardis:scratch:pool:refresh
Parameters
Name | Type | Description | Default | Required | Options |
---|---|---|---|---|---|
apiversion | option | override the api version used for api requests made by this command | |||
debug -d |
boolean | Activate debug mode (more logs) | |||
json | boolean | format output as json | |||
loglevel | option | logging level for this command invocation | warn | trace debug info warn error fatal |
|
skipauth | boolean | Skip authentication check when a default username is required | |||
targetdevhubusername -v |
option | username or alias for the dev hub org; overrides default dev hub org | |||
websocket | option | Websocket host:port for VsCode SFDX Hardis UI integration |
Examples
$ sfdx hardis:scratch:pool:configure