Groovy plugin in SonarQube

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
  • what have you tried so far to achieve this

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

SonarQube version - 10.3

Hello Team,

We are trying to set up code coverage.

Is spock test plugin installed in Sonarqube?

Groovy plugin is required for this.

Please provide the correct link to download groovy plugin.



We don’t maintain or support the Groovy plugin, and in fact, it’s not clear to me that anyone has maintained it in quite a few years. I doubt it’s actually compatible with current versions of SonarQube.



Is there any way to have code coverage for spock test?



Your best bet is to convert the Spock reports to the generic test coverage format and import it that way.