繁体   English   中英

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

[英]Sonarqube VSTS build task building angular/typescript project

与VSTS Sonarqube任务分析问题没有 .NET项目时-这是一个角/打字稿项目。 不支持吗?

我得到这个错误

    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 Scanner CLI任务来分析node.js项目。

博客: SonarSource已宣布自己的SonarQube团队服务/ TFS集成

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM