Since a few days I’m getting the following error in my builds. I’m using sonarsource in an Azure DevOps (formerly VSTS) build pipeline. The error doesn’t seem to prevent the analysis from completing, but it does cause unnecessary clutter. Why is this happening, and what can I do about it?
##[section]Starting: Run code analysis ============================================================================== Task : Run Code Analysis Description : Run scanner and upload the results to the SonarCloud server. Version : 1.6.3 Author : sonarsource Help : This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build. [More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) ============================================================================== [command]C:\VSTS\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.6.3\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe end SonarScanner for MSBuild 4.6.2 Using the .NET Framework version of the Scanner for MSBuild Post-processing started. ... INFO: Sensor SonarCSS Metrics [cssfamily] INFO: Sensor SonarCSS Metrics [cssfamily] (done) | time=256ms INFO: Sensor SonarCSS Rules [cssfamily] INFO: Sensor SonarCSS Rules [cssfamily] (done) | time=5759ms INFO: Sensor C# Properties [csharp] ERROR: Analysis didn't terminate normally, please verify ERROR and WARN logs above. Exit code 1
Note that although the message says to verify ERROR and WARN logs, there aren’t any. Only loads of INFO logs.