Deployments and pipelines
Deploy a commit to a CoreStack Enterprise environment, follow it task by task, and retry it or roll it back.
Before you start
- You can open the environment: see Websites and environments.
- You are an owner, or your role has Create Deployments. Retrying and rolling back need Retry Deployments and Rollback Deployments.
- Deployment Pipeline Status reads Enabled, and the environment has a repository: see Repositories and webhooks.
Deploy a commit
Open Deployments
Open the environment and choose Deployments. The list at the bottom shows every deployment with its Tasks, Status, Created time and Duration; the release that is live reads Succeeded (current).
Choose what to deploy
Choose Deploy. Under Deploy from, choose A Git commit, then the Repository, the Commit and the Deployment Pipeline; Upload an artifact deploys a release archive instead.
Start it
Choose Deploy.
The deployment's page opens and follows it task by task.
Follow a deployment
Open the deployment
Choose a deployment in the list. Job log groups the tasks into Prepare, Source, Release artifact, Application, Cut over and Finalise: choose a task to read its output.
Act on it
To Choose Run the same deployment again Retry deployment Put the previous release back ···, then Rollback
See the pipeline
Open Pipelines
Choose Pipelines for the environment's pipeline, with its Root web directory, Root storage directory and whether it uses custom build commands.
Disable Deployment Pipeline, at the top of Deployments, stops deployments on the environment until you choose Enable Deployment Pipeline.
Automate this
Starts a deployment and answers it with status 7 (Queued): send JSON with git true to deploy a commit of one of the environment's repositories, or multipart/form-data to deploy a release archive you upload through the pipeline pipeline_id names.
curl -X POST https://manage.corefinity.com/api/environments/1311/deployments \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"git": true,
"git_commit": "93ac3ee17c1306a5c478c583f0946e40d2e291f0",
"git_repository": 3301,
"name": "Release 2026.11.1",
"notes": "Checkout fixes"
}'Your assistant calls corestack_enterprise_deployment_trigger.
{
"name": "corestack_enterprise_deployment_trigger",
"arguments": {
"enterprise_env_id": 1530,
"repository_id": 812,
"commit": "4f2c9a1e0b7d3c5a6e8f9b0c1d2e3f4a5b6c7d8e",
"notes": "Hotfix for the checkout page"
}
}