SonarQube Scanner for MSBuild 2.2.0.24 - SonarQube MSBuild integration failed or source code omissions -


i've updated sonarqube scanner msbuild 2.1 sonarqube scanner msbuild 2.2.0.24 , new types of problems started occur:

problem 1:the sonarqube msbuild integration failed

[01:33:56][step 6/8] sonarqube scanner msbuild 2.2 [01:33:56][step 6/8] default properties file found @ d:\sonar-scanner-msbuild-2.2.0.24\sonarqube.analysis.xml [01:33:56][step 6/8] loading analysis properties d:\sonar-scanner-msbuild-2.2.0.24\sonarqube.analysis.xml [01:33:56][step 6/8] post-processing started. [01:33:56][step 6/8] sonarqube scanner msbuild 2.2 [01:33:56][step 6/8] 01:33:56.713 loading sonarqube analysis config d:\buildagent\work\b2d718503817fe6d\.sonarqube\conf\sonarqubeanalysisconfig.xml [01:33:56][step 6/8] 01:33:56.716 not running under teambuild [01:33:56][step 6/8] 01:33:56.716 analysis base directory: d:\buildagent\work\b2d718503817fe6d\.sonarqube [01:33:56][step 6/8] build directory:  [01:33:56][step 6/8] bin directory: d:\buildagent\work\b2d718503817fe6d\.sonarqube\bin [01:33:56][step 6/8] config directory: d:\buildagent\work\b2d718503817fe6d\.sonarqube\conf [01:33:56][step 6/8] output directory: d:\buildagent\work\b2d718503817fe6d\.sonarqube\out [01:33:56][step 6/8] config file: d:\buildagent\work\b2d718503817fe6d\.sonarqube\conf\sonarqubeanalysisconfig.xml [01:33:56][step 6/8] sonarqube msbuild integration failed: sonarqube unable collect required information projects. [01:33:56][step 6/8] generating sonarqube project properties file d:\buildagent\work\b2d718503817fe6d\.sonarqube\out\sonar-project.properties [01:33:56][step 6/8] possible causes: [01:33:56][step 6/8] 1. project has not been built - project must built in between begin , end steps [01:33:56][step 6/8] 2. unsupported version of msbuild has been used build project. msbuild 12.0 upwards supported [01:33:56][step 6/8] 3. begin, build or end steps have not been launched same folder [01:33:56][step 6/8] writing processing summary d:\buildagent\work\b2d718503817fe6d\.sonarqube\out\projectinfo.log [01:33:56][step 6/8] generation of sonar-properties file failed. unable complete sonarqube analysis. 

problem 2: no error occurs, not whole codebase analysed sonarqube scanner finishes with:

[00:29:21][step 7/9] info: ------------------------------------------------------------------------ [00:29:21][step 7/9] info: execution success [00:29:21][step 7/9] info: ------------------------------------------------------------------------ 

but source files (sometimes more 90%) ommited. in projejct statistics loc, bugs , drops, there no code indexed. messes history.

both problems seems non deterministic. second run works, differnt amoun of code omitted.

with sonar scanner 2.1 there no such errors.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -