With the community edition version I try to analyze only the develop branch integrating from jenkins and it shows me this message, although in one project it did the analysis but in most it didn’t
Hi,
What do you see on the Measures and Code tabs? Also, can you provide the analysis log for this project?
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
This guide will help you find them.
Thx,
Ann
Thank you very much for your help
requested documentation attached
it is strange because some projects are analyzed and others are not
sonar_jenkins_logs.txt (12.6 KB)
Hi,
Thanks for the screenshots and the logs. Here’s the problem:
INFO: 0 languages detected in 0 preprocessed files
Analysis isn’t recognizing any of the files/languages in your project.
What languages are there in your project, and with what file extensions?
Ann
Hi!
languages are there in your project, c#
and with what file extensions .cs
thanks
Hi,
Analysis of C# requires the SonarScanner for .NET, which you’re using, according to your log:
SonarScanner for MSBuild 5.15.1
But are you actually building between the begin
and end
commands? It’s not in your log, but I suppose I assumed it had been omitted for length. But only what’s built is analyzed. The rules are actually run during the build.
Ann