Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindBugs report on groovy Question #200

Open
DarthBillyBob opened this issue Aug 9, 2018 · 2 comments
Open

FindBugs report on groovy Question #200

DarthBillyBob opened this issue Aug 9, 2018 · 2 comments

Comments

@DarthBillyBob
Copy link

Issue Description

Question: Is there a way to send the results of findbugs from groovy to sonarqube?

In Jenkins, I'm using FindBugs against my compiled groovy and it outputs an xml file of its findings. I then call sonarqube and I supply the property sonar.findbugs.report=<PATH_TO_XML>
However, I never see these results in sonarqube under the java quality profile or the groovy quality profile.

Notes: Jenkins Findbugs plugin does display the results properly.

Is there a way to force the findbugs findings to be reported under a quality profile that doesn't have findbugs? Or have findbugs plugin report under the groovy quality profile?

I just need a place for the findbugs groovy results to be placed on sonarqube.

Environment

Component Version
SonarQube 7.1.0.11001
Sonar-FindBugs 3.7.0
Gradle 4.6
Java 1.8.0_161
@h3xstream
Copy link
Member

At the moment, Groovy and Kotlin are not supported.

https://github.com/spotbugs/sonar-findbugs/blob/master/src/main/java/org/sonar/plugins/findbugs/FindbugsPlugin.java#L38

@leewin12
Copy link

@h3xstream thank you for pointing out the exact line.
Hope it supports Groovy in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants