2017-05-29 10 views
0

VSFSを使用してBuild-AgentでTFS-Server-Build(TFS 2017)を使用しました。最初のBuildstep(Sonarqube分析の準備)とソリューションのビルドがうまく動作します。しかし、私は「SonarQube分析を完了」でエラーしている:誰もがUWP-Appの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-Serverのビルドに慣れていないです,,しかし、考えられる原因が記載されている セバスチャン

答えて

0

について。 は、エラーが、これはあなたが上記のMSBUILD 12以上をインストールしているにもかかわらず、あなたがビルドエージェントがあることを確認する必要がありSonarQube was unable to collect the required information about your projects

の略で述べたと同じように適切に

0

それを設定する方法の詳細については、以下のlinkをチェック適切なバージョンを呼び出す。

MSBuild.SonarQube.RunnerMSBuildが実行中であることをと同じ作業ディレクトリから再度確認します。 .sonarqube/outフォルダのソナー - プロジェクトプロパティーが作成されているかどうか。

関連する問題