sonar-quality-gates-plugin

Jenkins plugin that fails the build if the predefined sonar quality gates are not green.

MIT License

Stars
24
Committers
20

Sonar Quality Gates Plugin

Jenkins plugin that fails the build if the predefined sonar quality gates are not green.

Sonarqube supported versions

  • Sonar 8.0+

Usage

  1. In Manage Jenkins -> Configure System -> Quality Gates - Sonarqube add yours sonar configuration.

    • If token is specified, the parameters account login and account password will be ignored.
  2. 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 .

Issues