Jenkins plugin that fails the build if the predefined sonar quality gates are not green.
MIT License
Jenkins plugin that fails the build if the predefined sonar quality gates are not green.
In Manage Jenkins -> Configure System -> Quality Gates - Sonarqube
add yours sonar configuration.
In jenkins job add a Post-build Actions -> Quality Gates Sonarqube Plugin
and set the sonar instance, if you have multiple sonar configurations, and Project key
.