Another deployment is in progress
Detection
- String:
ALREADY_IN_PROCESS
- Applies to: deployment errors
Examples
Deployment failed (ALREADY_IN_PROCESS)
Resolution
Another deployment or setup change is running in the target org, often the deployment simulation of an older job of the same Pull Request.
- Wait for it to finish (Setup -> Deployment Status), then run the job again
- Call sf hardis:project:deploy:cancel from the cancellation hook of your CI jobs: when a new commit cancels a job, its deployment simulation is cancelled in the org too (https://sfdx-hardis.cloudity.com/hardis/project/deploy/cancel/)