Sonarqube VST构建任务构建角/打字稿项目



VSTS Sonarqube任务的问题时,分析 none .NET Projects-这是一个Angular/Typescript项目。这不支持吗?

我得到此错误

    2017-09-21T22:55:14.8461722Z ##[error]The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
2017-09-21T22:55:14.8461722Z ##[error]Possible causes:
2017-09-21T22:55:14.8461722Z ##[error]1. The project has not been built - the project must be built in between the begin and end steps
2017-09-21T22:55:14.8461722Z ##[error]2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0 upwards are supported
2017-09-21T22:55:14.8461722Z ##[error]3. The begin, build or end steps have not all been launched from the same folder
2017-09-21T22:55:14.8461722Z Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
2017-09-21T22:55:14.8461722Z 15:55:14.781  Creating a summary markdown file...
2017-09-21T22:55:14.8461722Z ##[error]15:55:14.783  Post-processing failed. Exit code: 1
2017-09-21T22:55:14.8571628Z ##[error]System.Exception: Unexpected exit code received from batch file: 1
2017-09-21T22:55:14.8571628Z    at Microsoft.TeamFoundation.DistributedTask.Task.Internal.InvokeBatchScriptCmdlet.ProcessRecord()
2017-09-21T22:55:14.8571628Z    at System.Management.Automation.CommandProcessor.ProcessRecord()
2017-09-21T22:55:15.3215188Z 
2017-09-21T22:55:15.3215188Z 
2017-09-21T22:55:15.3385192Z Waiting on the SonarQube server to finish processing in order to determine the quality gate status.
2017-09-21T22:55:15.3385192Z 
2017-09-21T22:55:15.3385192Z 
2017-09-21T22:55:15.3544989Z ##[error]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
2017-09-21T22:55:15.3544989Z    --- End of inner exception stack trace --

您需要使用Sonarqube扫描仪CLI任务进行分析Node.js Project。

博客:Sonarsource宣布了自己的Sonarqube团队服务/TFS Integration

最新更新