Hi,
I am using SonarQube version 8.9 LTS
Trying to configure SonarQube integration for a .net project within a Jenkins build pipeline.
Build process completes without any visible error, but at the end throws an “Scanner did not complete successfully” message - do you have any suggestion to help figure out what might be problem?
See below last lines of log output:
Thanks,
Emil
13:48:11 13:48:11.050 INFO: ------------- Run sensors on project
13:48:11 13:48:11.142 DEBUG: 'Generic Coverage Report' skipped because one of the required properties is missing
13:48:11 13:48:11.143 DEBUG: '[Deprecated] C# Integration Tests Coverage Report Import' skipped because one of the required properties is missing
13:48:11 13:48:11.144 DEBUG: 'C# Unit Test Results Import' skipped because one of the required properties is missing
13:48:11 13:48:11.145 DEBUG: 'VB.NET' skipped because there is no related file in current project
13:48:11 13:48:11.146 DEBUG: 'VB.NET Tests Coverage Report Import' skipped because there is no related file in current project
13:48:11 13:48:11.146 DEBUG: '[Deprecated] VB.NET Integration Tests Coverage Report Import' skipped because there is no related file in current project
13:48:11 13:48:11.146 DEBUG: 'VB.NET Unit Test Results Import' skipped because there is no related file in current project
13:48:11 13:48:11.147 DEBUG: 'Java CPD Block Indexer' skipped because there is no related file in current project
13:48:11 13:48:11.147 DEBUG: Sensors : C# -> C# Tests Coverage Report Import -> Zero Coverage Sensor
13:48:11 13:48:11.147 INFO: Sensor C# [csharp]
13:48:11 13:48:11.149 WARN: No protobuf reports found. The C# files will not have highlighting and metrics. You can get help on the community forum: https://community.sonarsource.com
13:48:11 13:48:11.155 INFO: Importing 2 Roslyn reports
13:48:11 13:48:11.155 DEBUG: Processing Roslyn report: D:\jenkins\workspace\SonarQube\SonarQubeAnalysis3\StandAloneApplications\\bin\Debug\netcoreapp2.0\project.Core.dll.RoslynCA.json
13:48:11 13:48:11.614 INFO: ------------------------------------------------------------------------
13:48:11 13:48:11.614 INFO: EXECUTION FAILURE 13:48:11 13:48:11.614 INFO: ------------------------------------------------------------------------
13:48:11 13:48:11.615 INFO: Total time: 2:38.126s 13:48:11 13:48:11.758 INFO: Final Memory: 25M/118M
13:48:11 13:48:11.758 INFO: ------------------------------------------------------------------------
13:48:11 13:48:11.758 ERROR: Error during SonarScanner execution 13:48:11 Process returned exit code 1
13:48:11 The SonarQube Scanner did not complete successfully
13:48:11 13:48:11.922 Post-processing failed. Exit code: 1
13:48:19 WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
13:48:19 ERROR: Execution of SonarScanner for MSBuild failed (exit code 1)
13:48:19 Finished: FAILURE