1

Using sonarqube-6.3.1 and sonar-scanner-3.0.3.778, I can run the command .sonar-scanner from the bin directory of the scanner folder. This outputs a bunch of stuff stating that it's loading and scanning.

I can view this on the SonarQube webpage and see the files I expect when I click the code tab for that project as I've configured it however. One file is proper code that compiles and has one expected bug as defined by the profile it states it's applying, the other file is just copy and paste of the non-compliant code smells.

The dashboard states there are no bug, vulnerabilities, code smells, or duplication. I'm struggling to figure out why it isn't detecting the errors i've intentionally put in.

  • 1
    You should first consider to upgrade to latest LTS (6.7) version of SonarQube – Julien L. - SonarSource Team Jan 17 '18 at 13:11
  • @JulienL.-SonarSourceTeam I've updated to 6.7.1 and also updated c# plugins It's still failing to find the errors in the files int's scanning, here is the command output from sonar-scanner -x [Sonar Scanner Output](https://pastebin.com/cTcYARnQ) – JoeSlingsby Jan 18 '18 at 12:34
  • I don't see anything wrong in your log but I'm not at all a C# expert. I'll let someone else help you on this issue. – Julien L. - SonarSource Team Jan 22 '18 at 09:26
  • Okay, thank you, The thing that stands out to me in the log is lines 80-89 stating missing requirements but no indication of what requirements. – JoeSlingsby Jan 23 '18 at 10:08
  • Maybe you should update the title and the description, or open another thread to highlight issue you've found in the scanner log. Because I think that this thread is currently too "generic". For instance, I'm not sure that c# users will understand that this is a c# issue (I've added the tag but I dont' think it's enough). – Julien L. - SonarSource Team Jan 23 '18 at 10:18
  • I too having same issue. I'm using 6.7.1... Any luck? – Prabin Yovan Feb 08 '18 at 07:52
  • According to my boss, .net is depreciated with the way we were using it. Had to follow the steps here using msbuild https://docs.sonarqube.org/display/SCAN/Scanning+on+Windows – JoeSlingsby Feb 08 '18 at 15:44

0 Answers0