Company
Date Published
Author
Olivier Gaudin
Word count
760
Language
English
Hacker News points
None

Summary

The Build Breaker plugin was initially created as a way for SonarSource to send notifications about Quality Gate (QG) failures before the SonarQube platform could send emails, allowing developers to immediately fail the build if the analysis reported a measure below a certain threshold. However, this approach had several drawbacks, including unclear responsibility and ownership of failing jobs, making it difficult for teams to troubleshoot issues. The introduction of new architecture in SonarQube 5.2 further complicated the issue by cutting the connection between the analyzer and the database, rendering the Build Breaker plugin obsolete due to its reliance on synchronous polling. Instead, SonarSource now recommends using wallboards or other notification systems that can query SonarQube for Quality Gate status and report notifications in a more efficient and scalable manner.