【发布时间】:2017-10-29 10:53:44
【问题描述】:
我在 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
谁能帮忙?
亲切的问候 塞巴斯蒂安
【问题讨论】:
标签: tfs sonarqube sonarqube-scan visual-studio-2017