Skip to content

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

License

Notifications You must be signed in to change notification settings

FibYar/sonar-quality-gates-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonar Quality Gates Plugin

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

Sonarqube supported versions

  • Sonar 5.6
  • Sonar 6.x+

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.

    Plugin Configuration

  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 .

    Job Configuration

Issues


About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.0%
  • HTML 3.0%