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