---
id: wiki-2026-0508-sonarqube-quality-gate
title: SonarQube Quality Gate
category: 10_Wiki/Topics
status: duplicate
canonical_id: sonarqube
duplicate_of: "[[SonarQube]]"
aliases: []
source_trust_level: A
confidence_score: 0.9
verification_status: redirected
tags: [duplicate, sonarqube, quality-gate, ci-cd]
last_reinforced: 2026-05-10
github_commit: pending
---

# SonarQube Quality Gate

> **이 문서는 [[SonarQube]] 의 중복본입니다.** Canonical 문서로 redirect.

## 매 핵심 요약 (Quality Gate 관점)

- 매 Quality Gate 는 SonarQube 의 pass/fail decision mechanism — 매 PR 머지 / release 차단 trigger.
- 매 default "Sonar way" gate: new code coverage ≥ 80%, duplicated lines ≤ 3%, maintainability/reliability/security rating A, no new blocker/critical issues.
- 매 "Clean as You Code" 정책 — 매 new code 만 strict, legacy 는 점진 개선.
- 매 CI 통합: GitHub Actions / GitLab / Jenkins 의 `sonar-scanner` step 후 `sonar.qualitygate.wait=true` 로 block.
- 매 custom gate 의 정의 가능 — 매 condition 별 threshold (e.g. cognitive complexity, security hotspots reviewed %).

## 🔗 Graph
- 부모: [[SonarQube]] (canonical)
- Adjacent: [[Static-Analysis]] · [[CI-CD-Pipeline]] · [[Code-Review]]

## 🕓 변경 이력
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | 중복 처리 — SonarQube canonical 문서로 redirect |
