Circleci

Manage CircleCI pipelines, jobs, and workflows via API. Trigger and monitor builds.

kbarbel640-del Updated 1 repo stars

File contents

CircleCI

Continuous integration platform.

Environment

export CIRCLECI_TOKEN="xxxxxxxxxx"

List Pipelines

curl "https://circleci.com/api/v2/project/gh/{org}/{repo}/pipeline" \
  -H "Circle-Token: $CIRCLECI_TOKEN"

Trigger Pipeline

curl -X POST "https://circleci.com/api/v2/project/gh/{org}/{repo}/pipeline" \
  -H "Circle-Token: $CIRCLECI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"branch": "main"}'

Get Workflow

curl "https://circleci.com/api/v2/workflow/{workflowId}" -H "Circle-Token: $CIRCLECI_TOKEN"

Links

kbarbel640-del/skills/tree/main/skills/mrgoodb/circleci commit ae55712270

Frequently asked questions

npx skillmds@latest add kbarbel640-del/circleci