SonarQube Scanner for Jenkins
Java HTML C# Shell JavaScript CSS
Latest commit c31c038 Feb 22, 2017 @henryju henryju Update Travis build

README.md

SonarQube Scanner for Jenkins

Build Status

Documentation: http://redirect.sonarsource.com/plugins/jenkins.html

Continuous inspection: https://next.sonarqube.com/sonarqube/dashboard?id=org.jenkins-ci.plugins%3Asonar

Issue tracking: https://jira.sonarsource.com/browse/SONARJNKNS

If you're wanting to make changes, please clone the git repository at

git://github.com/SonarSource/sonar-scanner-jenkins.git

With this plugin, you can configure SonarQube instances and run a SonarQube Scanner analysis in several ways:

  • By injecting the SonarQube configuration as environment variables and using them in any job step (such as Maven, Ant, Gradle, ...);
  • Using the Sonar Scanner job;
  • Using SonarQube Scanner for MSBuild's 'begin analysis' and 'end analysis' jobs;

'SonarQube Scanner' and 'SonarQube Scanner for MSBuild' are managed as installable tools. List of available versions is retrieved automatically by Jenkins/Hudson from a json file hosted on their respective update site:

For Jenkins, the files are automatically updated when a new version of Sonar Scanner or SonarQube Scanner for MSBuild is published, thanks to crawlers written in groovy:

License

Copyright 2007-2017 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0