- SonarQube 8.0
- SonarScanner for MSBuild 4.7.1
- Prepare Analysis Configuration : 4.8.0
- MSbuild: Microsoft ® Build Engine version 15.9.20+g88f5fadfbe for .NET Core
Hi, we’re tyring to build .Net Core projects on Azure Devops and have had this problem for some time also in previous versions. During the code analysis step randomly fails reporting log below.
When running the same build definition using the same version of the source code several times, randomly one or more of the projects fail code analysis. In the next build some other might fail. So, a build that succeeds this time, might fail next time and succeeds later succeeds.
Thus none of the mentioned possible causes seem to really be the cause.
The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects. Possible causes: 1. The project has not been built - the project must be built in between the begin and end steps 2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0.25420.1 and higher are supported. 3. The begin, build and end steps have not all been launched from the same folder 4. None of the analyzed projects have a valid ProjectGuid and you have not used a solution (.sln) 11:59:11.199 Post-processing failed. Exit code: 1
Any help on this?