Skip to content

wikimedia/labs-tools-sonarqubebot

Repository files navigation

sonarqubebot

Receive SonarQube webhook data and post reviews to Gerrit.

This project is hosted at https://tools.wmflabs.org/sonarqubebot/ where it listens for webhook data from SonarQube. It then posts a review to Gerrit based on the quality gate success/failure, with verification +1 given for passing quality gate checks. Robot comments are created with each issue found.

Configuration

Set this in .env.local

  • GERRIT_USERNAME - the username to post under
  • GERRIT_HTTP_PASSWORD - the HTTP password for that user (not the same as their login password)
  • SONARQUBE_HMAC - the secret set in the SonarQube webhook UI, used for generating the HMAC

About

Github mirror of "labs/tools/sonarqubebot" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages