Re: [sonar-dev] Pre-commit analysis with Eclipse Sonar plugin and SonarQube 5.1

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: [sonar-dev] Pre-commit analysis with Eclipse Sonar plugin and SonarQube 5.1

Julien HENRY
Hi Cody,

Please switch to user mailing list for usability issues. This list is dedicated to SonarQube (plugins) development.



2015-05-19 17:28 GMT+02:00 Cody Fyler <[hidden email]>:
I've written a class to try and break findbugs and pmd rules to see how the pre-commit analysis works, but I don't get anything. And even though I have sonar.debug=true, I usually don't get any kind of logging output whatsoever.

Here are the plugins we've got installed:

Checkstyle findbugs  groovy  java jira ldap pmd scmsvn uselesscodetracker web widgetlab xml

The project has been successfully analyzed via a Jenkins build and is set up in SonarQube correctly. Permissions are correct as well.

I can see the results of an analysis being run in the Eclipse settings folder structure (can't remember the location off the top of my head). But nothing in the UI reflects an analysis being done, no code is highlighted, there are no errors or warnings.

I get almost no indication an analysis has been run.

On Sat, May 16, 2015 at 10:34 AM Gordon Daugherty <[hidden email]> wrote:
You might want to share what happens when you try to run the preview scan from Eclipse. Do you get an error message? What is that message?

We once had an issue with a Sonar plugin (our own custom one) that wasn't compatible with being run in a preview scan. Consider sharing here what Sonar plugins you have installed in your Sonarqube server.

On Fri, May 15, 2015 at 12:33 PM, Cody Fyler <[hidden email]> wrote:
I can't seem to get my project to do a pre-commit analysis with the Eclipse Sonar plugin and SonarQube 5.1.

My project is a Maven project with two child modules. One is an XmlBeans module and the other is an Apache Axis aar module.

Any ideas on troubleshooting?