Pablissimo / SonarTsPlugin

SonarQube plugin for TypeScript files
MIT License
185 stars 106 forks source link

Cannot see TypeScript analysis report #166

Open faridprogrammer opened 7 years ago

faridprogrammer commented 7 years ago

I am using this plugin fro typescript analysis on sonarqube. Even though the quality profile is used on analysis (Showed in SonarQube panel) but I cannot see the analysis report for typescript (I know that I have issues on code). In the TFS CI build console the below log is printed INFO: Sensor Linting sensor for TypeScript files [typescript] INFO: Sensor Linting sensor for TypeScript files [typescript] (done) | time=156ms INFO: Sensor Combined LCOV and LOC sensor [typescript] INFO: Sensor Combined LCOV and LOC sensor [typescript] (done) | time=32ms

I followed the installation procedure and all rules are active.

image

image

Pablissimo commented 7 years ago

So your first stop to diagnose this stuff is to get the scanner running with the -X flag to get diagnostic info - it'll hopefully tell you if there's anything crazy going on, should tell you what command lines are being supplied to tslint etc.

Second issue that I've only seen when using TFS - does the user account running the build agent have write permissions to the folder it is building from? The plugin uses a temporary folder that should be writeable anyway, but we've seen trouble there.