corestack_ deployment_ retry
Retry a deployment.
When to use it
Run a failed deployment again.
Retrying a deployment that is not the site's newest puts its older commit live over the newer one. The tool refuses it
with confirm and a message naming both deployments. Show the person that message, and only once they agree, call again
with confirm_older: true. Retrying the newest deployment needs no confirmation.
Ask for it
Using the Corefinity MCP server, call corestack_deployment_retry with site_id 4211, deployment_id 6610. (Retry a deployment.) Tell me what it returned.Inputs
confirm_olderboolean
Required, as true, to retry a deployment that is not the site's newest
deployment_idintegerRequired
At least 1.
site_idintegerRequired
At least 1.
Example call
{
"name": "corestack_deployment_retry",
"arguments": {
"site_id": 4211,
"deployment_id": 6610
}
}If it is refused
| Reason | What to do |
|---|---|
forbidden | The person's role lacks the Retry Deployments permission. The message names it and says an owner of the company can grant it in Roles; details.permission is retryDeployments. Nothing is changed. |
artifact_pruned | This deployment's archive was removed after 30 days, so it can't be retried. Deploy again from the branch or commit (corestack_deployment_trigger). Archives are kept for 30 days, and always for a site's 10 most recent deployments and its newest successful one. |
pipeline_changed_since_build | This deployment's build finished, and its build lines or the variables the build reads changed after it. A Retry deploys the same built files and would skip the new build: "The pipeline changed after this build. Retry deploys the same built files; use Deploy again to run the new build." Deploy the same commit again instead (corestack_deployment_trigger with its commit as ref), which builds the pipeline as it is now. A change to the database or post-deploy lines alone does not refuse a Retry: those lines run anew. |
not_failed | Only a failed deployment can be retried; this one did not fail. |
release_not_live | That release is not live; choose the live release. |
confirm | This is not the site's newest deployment, so retrying it puts an older release live. The message names the commit and date of both; ask the person before you send confirm_older: true. |
managed_elsewhere | Another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done. |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?