• Beta
CircleCI Agent Setup
  • 18 Nov 2020
  • 1 Minute To Read
  • Share
  • Dark
    Light

CircleCI Agent Setup

  • Share
  • Dark
    Light

Sending Events from CircleCI

Pre-Requisits

Setup

If your CI/CD runs on CircleCI, you can use the CTO.ai CircleCI Orb to instrument your CICD with Workflow Events.

The Orb can be accessed with this stanza in your CircleCI configuration yaml:

orbs:
  cto-ai: cto-ai/[email protected]

Use the Orb to send Events to CTO.ai by calling it from your steps:

      steps:
        - cto-ai/event:
            token: ${CTOAI_EVENTS_API_TOKEN}
            team_id: ${CTOAI_EVENTS_API_TEAM_ID}
            stage: Deployment
            status: Succeeded
            change_id: ticket-id-123
            pipeline_id: pipeline-label-A1
            stage_ref: branch-label-543
            custom: "{}"

More information can be found at the CTO.ai Events Orb Example.

For more information on the types of Events you can send and track check out our Delivery Events and Lifecycle Events

🚀 What's next?

Was This Article Helpful?