I'm working on a continous integration cloud enviroment, using travis ci for server and sonarqube.com for static analysis. I wondering if there is a plugin/configuration for break the build process when some sonar threshold is triggered (like the build braeker plugin for the sonar server version)
Sonar build breaker for travis
158 Views Asked by mrcportillo At
2
There are 2 best solutions below
1

looks like the sonar qube community has a plugin: https://github.com/SonarQubeCommunity/sonar-build-breaker/
Finally I used a maven plugin for cobertura analisys, the cobertura plugin, wich take the configuration from the pom file, and I included into CI pipeline configured in the travis configuration file (travis.yml). The script result was:
The sonar plataform was used only for static analysis but not for cobertura. Regards!