Hello, I have a problem in the Run Code Analysis task of azure…
Sometimes our build fails(random error) and appear the next message:
Generating SonarQube project properties file to E:\Agent01_work\50.sonarqube\out\sonar-project.properties
##[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 and 15.0 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)
##[debug]Processed: ##vso[task.logissue type=error;]The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.%0D%0APossible causes:%0D%0A 1. The project has not been built - the project must be built in between the begin and end steps%0D%0A 2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0 and 15.0 are supported%0D%0A 3. The begin, build and end steps have not all been launched from the same folder%0D%0A 4. None of the analyzed projects have a valid ProjectGuid and you have not used a solution (.sln)
Versions used {
Run Code Analysis azure task 4
SonarScanner for MSBuild 4.6.2
MSBuild 16
SonarQube 7.9.1
}
Error{
Random error (most of the time it works). We don’t find any coincidence
}
Steps to reproduce{
Run our build and in the step “Run Code Analysis” sometimes fails.
}
Attachments:
sonarqube-support-info-F863D1E3-1f0c1fc6b0cfc80-2019-9-17-12-17.txt (28.8 KB)
Thanks in advance.