LogoLogo
Book a demoLog in
  • Swarmia documentation
  • Getting started
    • Get started in 15 minutes
    • Integrations
      • GitHub
        • GitHub Enterprise Server
        • Multiple GitHub organizations
        • Forked repositories
        • Troubleshooting
          • Reinstalling the Swarmia GitHub app
          • Updating app permissions
          • Installing Swarmia outside of GitHub Marketplace
      • Jira
        • Jira Server and Jira Data Center
        • Multiple Jira organizations
      • Linear
        • Private Linear teams
        • Disconnect Linear
      • Slack
        • Private Slack channels
      • Authentication
        • Google Single Sign-On
          • Frequently asked questions
        • Okta Single Sign-On
      • HR systems
      • Data export
        • Data cloud
        • Export data as a CSV file
      • Other integrations
        • Other issue tracker integrations
        • Other source code hosting integrations
  • Configuration and data quality
    • Teams & members
      • Creating & managing teams
        • Teams API
      • Contributors
      • Roles and permissions
      • Inviting team members
    • Pull request exclusions
    • Issue tracker configuration
      • Jira configuration
      • Jira best practices
      • Linear configuration
    • Linking pull requests to issues
    • Investment categories
    • Deployments
      • Generate deployments from merged pull requests
      • Generate deployments from GitHub deployments
      • Generate deployments from GitHub checks
      • Generate deployments via the API
        • Generate deployments for monorepos via the API
    • Sprint configuration
  • Use cases
    • Improve pull request flow
      • Pull request insights
      • Reducing pull request cycle time
      • Review code faster
      • Managing pull requests in progress with the Pull Request view
      • Diagnosing low pull request throughput
      • Analyzing pull request batch size
  • Improve your team's focus
    • Optimizing issue cycle time
    • Analyzing activity patterns on Work Log
    • Grouping activity on the Work Log view
    • Retrospective guide
  • Balance engineering investments
    • Activity and effort-based models
    • Categorizing work
    • Common problems with balancing engineering investment
  • Deliver strategic initiatives
    • Forecasting initiatives
  • Capitalize software development costs
  • Run developer experience surveys
    • Creating a survey
    • Managing surveys
    • Viewing and sharing survey results
    • How we show your survey responses
    • Survey communication guide and templates
  • Track DORA metrics
    • Automatic change failure detection
    • How Swarmia links PRs to deployments
  • Coach software developers
  • Get visibility into your CI pipeline
  • Continuous improvement
    • Working agreements
  • Notifications
    • Team notifications
    • Personal notifications
  • Retrospectives with Swarmia
  • Metrics & definitions
    • Pull request cycle time
      • What's the difference between "Change lead time" and "Pull request cycle time" metrics in Swarmia?
    • Issue cycle time
      • Defining issue lifecycle and cycle time
    • Developer effort (FTEs)
  • DORA metrics
    • Change lead time
    • Deployment frequency
    • Mean time to recovery
    • Change failure rate
  • Throughput
  • Time to deploy
  • Batch size
  • Flow efficiency
  • Scope creep
  • Sprints
  • Frequently asked questions
    • How do you treat weekends in metrics?
    • Tracking squashed commits
    • How do merge queues affect my metrics?
    • Why is my commit not visible in Swarmia?
    • How do I account for people leaving my organization?
  • Resources
    • Security & data retention
      • Data security
      • Data access
      • Swarmia IP Addresses
      • Single Sign-On (SSO) / SAML
      • Can I get a copy of the SOC 2 Type II audit report?
      • Deleting your organization
  • Pricing & plans
    • Compare plans
    • Free plan
    • Do I need a credit card to start a free trial?
    • What are the differences between the individual modules and the standard plan?
    • How do you determine the number of developers for billing?
    • What happens to customers with the Lite plan after the December 2024 pricing and plan change?
  • Changelog
On this page
  • Configuration
  • Not using GitHub checks yet?
  • Why my failed GitHub checks are not showing up in Swarmia as deployments?
  • Connecting common CI systems to GitHub
  • CircleCI
  • TravisCI
  • Jenkins
  • Bamboo

Was this helpful?

  1. Configuration and data quality
  2. Deployments

Generate deployments from GitHub checks

Swarmia can generate deployments automatically from your CI/CD pipeline, using GitHub checks.

PreviousGenerate deployments from GitHub deploymentsNextGenerate deployments via the API

Last updated 1 month ago

Was this helpful?

Configuration

can use Check Runs from as the input data.

  1. and giving it a name

  2. Select "GitHub check tracks deploys" as the Deployment source.

  3. Select the repository, check, and branch which most accurately reflect your production deployment events.

  4. Confirm the amount of deployment data to be created, and Save

Not using GitHub checks yet?

In order to surface the deployment data on Swarmia, you'll need to ensure that your CI (Continuous Integration) system is properly configured to pass the Checks data to GitHub.

Custom implementations can also be created via GitHub's webhooks, which can be configured to exclusively listen to push and PR creation events.

When your CI system of choice has a GitHub app, you'll need to enable each repository to use the said app in the repository settings (Repository > Settings > Integrations).

You're likely going to need administrative permissions for any GitHub repository when integrating a CI system to use GitHub checks.

Why my failed GitHub checks are not showing up in Swarmia as deployments?

GitHub check conclusion, on the other hand, communicates the status of getting code to production. If a GitHub check has the conclusion failure, it means that you failed to deploy code to production, not that you caused a change failure. Because of this, Swarmia only creates deployments for check when they have the conclusion success.

Connecting common CI systems to GitHub

Please refer to your CI provider's documentation to integrate the Check Run data. Below, we go through a high-level overview of some commonly used systems.

CircleCI

Prerequisites

  • You must be using the cloud-hosted version of CircleCI.

  • Your CircleCI project must be using Workflows.

  • You must be an Admin on your GitHub repository to authorize installation of the CircleCI Checks integration.

TravisCI

Jenkins

Bamboo

You can also use the to pass deployments to Swarmia.

Luckily, most modern CI systems offer a productized means of passing this data to GitHub. There are a lot of CI apps directly available on , which means this is likely the best place to start.

The failed/succeeded deployment status in Swarmia's DORA/Deployment insights is communicating if a change (= piece of code) that you deployed to production caused a change failure. In other words, if it caused a failure in production that needed a fix in the form of a rollback, forward fix, etc. This information is based on data.

For CircleCI, . You'll want to ensure you have the installed for the GitHub project, the repository configured to use the app, and sufficient access rights both on CircleCI project and the GitHub repository.

TravisCI has a GitHub app which can be found from the Marketplace. You'll want to start by and configuring the app for the GitHub repository (Settings > Integrations).

The easiest way to integrate Jenkins checks to GitHub is to use the . However, you first need to

For Atlassian's Bamboo server, there's an for passing the Check Run data to GitHub. If your version is not compatible with the addon, you'll need to create a GitHub to get in order to have API access to create check runs via the .

Deployments API
GitHub's marketplace
automatic or manual change failure
GitHub Checks are enabled on the CircleCI interface
CircleCI app
installing the app
GitHub Checks plugin
authorize your Jenkins as a GitHub App
addon
App
Checks API
Deployments
GitHub's Checks API
Start by creating an application