Check the status of the deploy operation.
Status of the deploy
Deploy recently validated components without running Apex tests. Requires the operation to have been
created with the { checkOnly: true }
API option.
Ensure that the following requirements are met before deploying a recent validation:
Set to true
to use the REST API, otherwise defaults to using SOAP
The ID of the quick deployment
Poll for the status of the metadata transfer request. Default frequency is 100 ms. Default timeout is 60 minutes.
Optional
options: Partial<Options>Polling options; frequency, timeout, polling function.
The result of the deploy or retrieve.
Poll for the status of the metadata transfer request. Default frequency is based on the number of SourceComponents, n, in the transfer, it ranges from 100ms -> n Default timeout is 60 minutes.
Optional
frequency: numberPolling frequency in milliseconds.
Optional
timeout: numberPolling timeout in seconds.
The result of the deploy or retrieve.
Send the metadata transfer request to the org.
AsyncResult from the deploy or retrieve response.
Cancel the deploy operation.
Deploys are asynchronously canceled. Once the cancel request is made to the org, check the status of the cancellation with
checkStatus
.