SonarQube Mercurial plugin
Branch: master
Clone or download
Latest commit f941a5c Jul 24, 2018

SonarQube Mercurial plugin

Build Status


This plugin implements SCM dependent features of SonarQube for Mercurial projects.


  • The Mercurial command line tool (hg) must be available in the path.
  • Version 2.1+ of Mercurial is required because of the use of -w flag.


Auto-detection will works if there is a .hg folder in the project root directory. Otherwise you can force the provider using -Dsonar.scm.provider=hg.


The plugin doesn't use Hg4j because it is not available on Maven central.