- ALM used Azure DevOps
- CI system used Azure DevOps
Our SonarCloud analysis on one of our SQL projects has started failing this morning with the errors shown below. This would indicate that the build had not completed, however I can see on our MSBuild step that the build did complete (using MSBuild14) with no errors. This error has only started occurring this morning. Any ideas?
2019-11-05T12:48:37.2261371Z [command]F:\Azagent\A5_work_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.9.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe end
2019-11-05T12:48:37.3836209Z SonarScanner for MSBuild 4.7.1
2019-11-05T12:48:37.3910519Z Using the .NET Framework version of the Scanner for MSBuild
2019-11-05T12:48:37.3911053Z Post-processing started.
2019-11-05T12:48:37.6614119Z 12:48:37.653 Fetching code coverage report information from TFS…
2019-11-05T12:48:37.6720165Z 12:48:37.653 Attempting to locate a test results (.trx) file…
2019-11-05T12:48:38.5985859Z 12:48:38.575 Looking for TRX files in: F:\Azagent\A5_work\24\TestResults
2019-11-05T12:48:38.6556520Z 12:48:38.59 No test results files found
2019-11-05T12:48:39.4131231Z 12:48:39.403 Did not find any binary coverage files in the expected location.
2019-11-05T12:48:39.4131784Z 12:48:39.403 Falling back on locating coverage files in the agent temp directory.
2019-11-05T12:48:39.4199510Z 12:48:39.403 Searching for coverage files in F:\Azagent\A5_work_temp
2019-11-05T12:48:39.4200485Z 12:48:39.403 No coverage files found in the agent temp directory.
2019-11-05T12:48:39.6187602Z ##[error]The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
Possible causes:
- The project has not been built - the project must be built in between the begin and end steps
- An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0.25420.1 and higher are supported.
- The begin, build and end steps have not all been launched from the same folder
- None of the analyzed projects have a valid ProjectGuid and you have not used a solution (.sln)
2019-11-05T12:48:39.6193754Z The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
2019-11-05T12:48:39.6194550Z Possible causes:
2019-11-05T12:48:39.6195438Z 1. The project has not been built - the project must be built in between the begin and end steps
2019-11-05T12:48:39.6196230Z 2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0.25420.1 and higher are supported.
2019-11-05T12:48:39.6196799Z 3. The begin, build and end steps have not all been launched from the same folder
2019-11-05T12:48:39.6198248Z 4. None of the analyzed projects have a valid ProjectGuid and you have not used a solution (.sln)
2019-11-05T12:48:39.6287318Z Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
2019-11-05T12:48:39.6304283Z ##[error]12:48:39.622 Post-processing failed. Exit code: 1
Any ideas?