我正在嘗試配置我的項目,以將一些分析數據發送到SonarQube服務器。我運行MSBuild.SonarQube.Runner.exe begin
命令,然後運行msbuild
。我的解決方案有3個項目庫和1個單元測試項目。找不到ProjectInfo.xml文件。生成聲納屬性文件失敗
begin命令和msbuild運行時沒有任何錯誤,但是end命令輸出以下錯誤並且沒有發佈到SonarQube服務器的數據。
C:\solutions> "C:\SonarQube Runner\MSBuild.SonarQube.Runner.exe" end
MSBuild SonarQube Runner Bootstrapper 1.0.2.0
Default properties file was found at C:\SonarQube Runner\SonarQube.Analysis.xml
Loading analysis properties from C:\SonarQube Runner\SonarQube.Analysis.xml
Post-processing started.
MSBuild SonarQube Runner Post-processor 1.0.2.0
No ProjectInfo.xml files were found. Possible causes: you specified an invalid build configuration or the custom MSBuild analysis targets were not imported. Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
13:58:45.786 Creating a summary markdown file...
Post-processing failed. Exit code: 1
現在確定我在做什麼錯了。你能幫助一樣嗎?請讓我知道我是否應該提供更多信息。
謝謝