首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为UWP-App构建Sonarqube失败

为UWP-App构建Sonarqube失败
EN

Stack Overflow用户
提问于 2017-05-29 15:52:29
回答 2查看 190关注 0票数 0

我在VS 2017的Build-Agent上有一个TFS-Server-Build (TFS 2017)。第一个Buildstep (准备Sonarqube分析)和解决方案的构建工作正常。但是我在“完成SonarQube分析”中有一个错误:

2017-05-29T03:06:09.1933915Z ##[error]The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects. 2017-05-29T03:06:09.1933915Z ##[error]Possible causes: 2017-05-29T03:06:09.1933915Z ##[error]1. The project has not been built - the project must be built in between the begin and end steps 2017-05-29T03:06:09.1933915Z ##[error]2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 12.0 upwards are supported 2017-05-29T03:06:09.1933915Z ##[error]3. The begin, build or end steps have not all been launched from the same folder 2017-05-29T03:06:09.1933915Z Generation of the sonar-properties file failed. Unable to complete SonarQube analysis. 2017-05-29T03:06:09.1933915Z ##[error]05:06:09.115 Post-processing failed. Exit code: 1

有人能帮上忙吗?

关于Sebastian的Kind

EN

回答 2

Stack Overflow用户

发布于 2017-05-29 21:15:30

我不熟悉TFS-Server-Build,但提到了可能的原因。有关如何正确设置它的更多详细信息,请查看以下link

票数 0
EN

Stack Overflow用户

发布于 2017-05-30 18:53:58

就像前面提到的错误一样,这表示SonarQube was unable to collect the required information about your projects

即使您已经安装了MSBUILD 12或更高版本,也应该确保构建代理调用的是正确的版本。

并仔细检查MSBuild.SonarQube.RunnerMSBuild是否从运行相同的工作目录。在.sonarqube/out文件夹中,是否创建了sonar-project.properties。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44237258

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档