Azure DevOps

5 min readLast updated 2026-04-21

Add Check Studio to Azure Pipelines and publish test results to the Test Hub.

Azure DevOps integration publishes results to the Test Hub and adds build annotations for failing tests.

azure-pipelines.yml

trigger:
  - main
pool:
  vmImage: 'ubuntu-latest'
steps:
  - task: NodeTool@0
    inputs:
      versionSpec: '20.x'
  - script: npm ci
  - script: npx @checkstudio/cli run --parallel=4
  - task: PublishTestResults@2
    inputs:
      testResultsFormat: 'JUnit'
      testResultsFiles: 'results.xml'
yaml

Service connections

Store CHECKSTUDIO_API_KEY in an Azure DevOps service connection for secure secret management across pipelines.

Was this article helpful?

Still have questions?

Our support team is here to help. Reach out directly or search the docs.