在这台测试机上我安装了:
VS17企业版
TFS17.1
SonarQube 6.3
用于MSBuild 2.2的SonarQube扫描仪
Msbuild /版本
Microsoft(R)Build Engine版本15.1.548.43366版权所有(C)Microsoft Corporation.版权所有.
但我在"完成SonarQube分析"中收到此错误:
The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects. Possible causes: 1. The project has not been built - the project must be built in between the begin and end steps 2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 12.0 upwards are supported 3. The begin, build or end steps have not all been launched from the same folder System.Management.Automation.RuntimeException: Cannot determine if the analysis has finished. Possible cause: your SonarQube server version is lower than 5.3 - for more details see https://go.microsoft.com/fwlink/?LinkId=722407 ---> System.Management.Automation.RuntimeException: Cannot determine if the analysis has finished. Possible cause: your SonarQube server version is lower than 5.3 - for more details see https://go.microsoft.com/fwlink/?LinkId=722407 --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at Microsoft.TeamFoundation.DistributedTask.Handlers.LegacyVSTSPowerShellHost.VSTSPowerShellHost.Main(String[] args) ##[error]LegacyVSTSPowerShellHost.exe completed with return code: -1.
Fabrice - So.. 5
MS -ild的SonarQube扫描仪目前不支持MSBuild 15.
我们正在研究这个错误(SONARMSBRU-288),很快就会发布兼容版本来解决这个问题.
MS -ild的SonarQube扫描仪目前不支持MSBuild 15.
我们正在研究这个错误(SONARMSBRU-288),很快就会发布兼容版本来解决这个问题.