Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>SonarQube Quality Gate Check
SonarQube Quality Gate Check

SonarQube Quality Gate Check

Ilyas Keskin

|
1 install
| (0) | Free
Azure DevOps extension to check SonarQube Quality Gate status using Service Connection and fail builds accordingly
Get it free

SonarQube Quality Gate Check Extension

Azure DevOps extension to check SonarQube Quality Gate status and control build pipeline based on quality metrics.

Features

  • ✅ Checks SonarQube Quality Gate status
  • ⏰ Configurable timeout for analysis completion
  • 📊 Detailed reporting of failed quality conditions
  • 🔧 Option to continue build despite failures
  • 🔍 Verbose logging for debugging

Requirements

  • SonarQube server with API access
  • Valid authentication token
  • Completed SonarQube analysis before running this task


## How to use

Add the task to your pipeline:

```yaml
- task: SonarQubeQualityGateCheck@1
  inputs:
    SonarQube: 'SonarQube-ServiceConnection'  # Your service connection name
    projectKey: '$(Build.Repository.Name)'
    projectKey: '$(Build.SourceBranchName)'
    timeoutSeconds: '300'
    failOnQualityGateFailure: true
    verbose: false

Parameters

  • SonarQube: SonarQube service connection (dropdown list)
  • projectKey: Project key in SonarQube
  • branchName: Project branch name in SonarQube/Azure DevOps
  • timeoutSeconds: Maximum wait time for analysis
  • failOnQualityGateFailure: Whether to fail build on QG failure
  • verbose: Enable detailed logging
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft