异常消息:TF270015:';MSBuild.SonarQube.Runner.exe';返回了意外的退出代码。预期';0';;实际'-532462766';

异常消息:TF270015:';MSBuild.SonarQube.Runner.exe';返回了意外的退出代码。预期';0';;实际'-532462766';,msbuild,ldap,sonarqube,sonarqube-msbuild-runner,sonarqube5.2,Msbuild,Ldap,Sonarqube,Sonarqube Msbuild Runner,Sonarqube5.2,我正在尝试将SonarQube MSBuild runner与TFS 2013集成,并使用SonarQube 5.2版本和MSBuild.SonarQube.runner-1.0.2,以及LDAP、.NET和C#所需的所有插件。我在运行TFS构建时出现此错误: Unhandled Exception: System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.We

我正在尝试将SonarQube MSBuild runner与TFS 2013集成,并使用SonarQube 5.2版本和
MSBuild.SonarQube.runner-1.0.2
,以及LDAP、.NET和C#所需的所有插件。我在运行
TFS构建时出现此错误

Unhandled Exception: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at SonarQube.TeamBuild.PreProcessor.WebClientDownloader.Download(String url)
at SonarQube.TeamBuild.PreProcessor.SonarWebService.GetProperties(String projectKey, ILogger logger)
at SonarQube.TeamBuild.PreProcessor.PropertiesFetcher.FetchProperties(SonarWebService ws, String sonarProjectKey, ILogger logger)
at SonarQube.TeamBuild.PreProcessor.TeamBuildPreProcessor.FetchArgumentsAndRulesets(ProcessedArgs args, String configDir, ILogger logger, IDictionary`2& serverSettings)
at SonarQube.TeamBuild.PreProcessor.TeamBuildPreProcessor.DoExecute(ProcessedArgs args, ILogger logger)
at SonarQube.TeamBuild.PreProcessor.TeamBuildPreProcessor.Execute(String[] args, ILogger logger)
at SonarQube.TeamBuild.PreProcessor.Program.Main(String[] args)
Exception Message: TF270015: 'MSBuild.SonarQube.Runner.exe' returned an unexpected exit code. Expected '0'; actual '-532462766'. See the build logs for more details. (type UnexpectedExitCodeException)Exception Stack Trace:    at System.Activities.Statements.Throw.Execute(CodeActivityContext context)   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

只有支持从MSBuild.SonarQube.Runner.exe或SonarQube Runner对SonarQube 5.2进行身份验证,LDAP插件为1.5.1(并启用Windows身份验证模式)。

这似乎是问题所在,一旦我修改了MSBuild.SonarQube Runner以与技术用户进行身份验证,它就工作了。

谢谢