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)
Asked
Active
Viewed 148 times
2 Answers
0
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:
mvn clean cobertura:check sonar:sonar tomcat7:redeploy
The sonar plataform was used only for static analysis but not for cobertura. Regards!

mrcportillo
- 1
- 2
0
looks like the sonar qube community has a plugin: https://github.com/SonarQubeCommunity/sonar-build-breaker/
-
Yes, but that plugin is for the installable version of sonar. I'm using the cloud version. Thanks for the answer. – mrcportillo Jun 21 '17 at 02:20