Deployment retry limit exceeded
Detection
- String:
Your deployment exceeded its maximum retry limit
- Applies to: deployment errors
Examples
LIMIT_EXCEEDED: Try deploying again. Your deployment exceeded its maximum retry limit. If you keep seeing this error, please contact Salesforce Customer Support.
Resolution
Several deployments or validations ran against the target org at the same time.
- Run them one after the other, then run the job again
- Call sf hardis:project:deploy:cancel from the cancellation hook of your CI jobs, so a cancelled job does not leave its deployment simulation running (https://sfdx-hardis.cloudity.com/hardis/project/deploy/cancel/)