Hello,
I’ve installed package=sonarqube-9.8.0.63668.zip on Ubuntu and would like to scan c# code.
I’ve also installed dotnet-sonarscanner 5.10.0.
Expand the downloaded file into the directory of your choice. We’ll refer to it as <INSTALL_DIRECTORY> in the next steps.
The documentation mentions SonarQube.Analysis.xml but there is no SonarQube.Analysis.xml on linux. Where can I download SonarQube.Analysis.xml linux from?
When I run sonarscanner invoke command, I get the following command.
$ dotnet-sonarscanner
SonarScanner for MSBuild 5.10
Using the .NET Core version of the Scanner for MSBuild
WARNING: Please specify the command 'begin' or 'end' to indicate whether pre- or post-processing is required. These parameters will become mandatory in a later release.
Post-processing started.
08:33:39.965 SonarQube analysis could not be completed because the analysis configuration file could not be found: /home/mkyuser/.sonarqube/conf/SonarQubeAnalysisConfig.xml.
08:33:39.966 Post-processing failed. Exit code: 1