SonarQube Build Breaker
JSON →The `sonarqube-build-breaker` package is a Node.js module designed to enforce SonarQube quality gates within Continuous Integration (CI) pipelines. It integrates into the build process after `sonar-scanner` has completed its analysis and uploaded results to a SonarQube server. The module then queries the SonarQube server to check the project's quality gate status. If the quality gate is not passed (e.g., due to new critical issues, security vulnerabilities, or code coverage drops), the module will exit with a non-zero status code, effectively failing the CI build. This ensures that code quality standards are met before merging or deploying. Currently at version 0.1.0, its simple, focused functionality implies a stable yet low-cadence maintenance model. Its key differentiator is providing a programmatic way for Node.js projects to hard-fail builds based on SonarQube's quality gate decisions.
Traffic · last 30 days ↓60% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany