capabilities.work

Cancel a running CI job

One step with GitLab. We can help you get access.

Get something done

Cancel a running CI job

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST CI jobs API lets you cancel a running CI job in a single step (POST /api/v4/projects/{id}/jobs/{job_id}/cancel). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I stop a job that is still running?
  • Can I force-cancel a job that is stuck in canceling?
Say it to your AI assistant
  • Cancel job {job_id} in project {id}.
  • Force-cancel job {job_id} in {id} with force {force}.
For your developer

POST /api/v4/projects/{id}/jobs/{job_id}/cancel in GitLab REST CI jobs API. Full spec on APIs.io.