Juee J
Juee J

Reputation: 21

SonarQube TF vNext build failing

Currently, I have configured Sonar build using TFS vNext build for sonar analysis in TFS 2015.I have used C# 5.1 plugin and Sonarqube 4.5.6 LTS version. When build is triggered, I am getting following error:

Could not find a file on the SonarQube server.

http: // server name/static /csharp /SonarQube.MSBuild.Runner.Implementation.zip Failed to update the SonarQube MS Build Runner binaries. Check the server url , verify that the C# plugin is correctly installed on the SonarQube server and that the SonarQube server has been restarted. Pre-processing failed. Exit code: 1. Unexpected exit code received from batch file:1

Note: C# plugin was reinstalled but still facing the same issue. Please help!

Upvotes: 1

Views: 531

Answers (1)

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51183

First, please make sure you have configured the right settings of SonarQube Server. Details you can refer the introduction from MSDN: Build Tasks for SonarQube Analysis

Just as the error mentioned, also restart sonar server, after reinstalled C# plug-in.

And make sure the version of MSBuild runner meet the compatible. More info check this blog.

enter image description here

Upvotes: 1

Related Questions