Skip to main content

CI/CD Integration Examples

Integrate QA Sphere with your continuous integration and deployment pipelines to automatically upload test results after every build.

Each guide provides step-by-step instructions for configuring the QA Sphere CLI tool with your CI/CD platform:

How It Works

All CI/CD integrations follow the same pattern:

  1. Configure your test framework to generate JUnit XML reports
  2. Add QA Sphere credentials as CI/CD secrets/variables
  3. Install the QA Sphere CLI (qas-cli) in your pipeline
  4. Run qasphere junit-upload to send results to QA Sphere

Prerequisites

Before setting up any integration, ensure you have:

  • Tests configured to generate JUnit XML format results
  • A QA Sphere account with Test Runner role or higher
  • Test cases in QA Sphere with markers (e.g., BD-001, PRJ-123)
  • An API key from QA Sphere Settings

Quick Reference

PlatformSecrets LocationDocumentation
GitHub ActionsSettings → Secrets → ActionsView Guide
GitLab CI/CDSettings → CI/CD → VariablesView Guide
Bitbucket PipelinesRepository settings → Repository variablesView Guide