Wayne

Results 5 comments of Wayne

Hi greenlaw110, was your issue #172 ever resolved? Thx.

The basic-setup sample project's sonar-project.properties file does not contain sonar.ts.tslint.projectPath=src Here's sonar-project.properties content: sonar.projectKey=com.pablissimo.sonar:basic-setup sonar.projectName=Basic project setup example sonar.projectVersion=1.0 sonar.sources=./src sonar.sourceEncoding=UTF-8 sonar.exclusions=node_modules/** sonar.tests=./test # To import the LCOV report sonar.ts.coverage.lcovReportPath=coverage/lcov.info

Here's my Sonar-Scanner version: INFO: Scanner configuration file: C:\Users\ws11606\AppData\Roaming\npm\node_modules\sonar-scanner\bin\..\conf\sonar-scan ner.properties INFO: Project root configuration file: C:\temp\SonarQube\Upgrade\SonarTsPlugin-master\SonarTsPlugin-master\samples\basic -setup\sonar-project.properties INFO: SonarQube Scanner 3.0.3.778 INFO: Java 1.8.0_91 Oracle Corporation (32-bit) INFO: Windows 7...

In looking at the log, could this command being executed be wrong? Executing TsLint with command: node C:\Users\Tfs_build_user\AppData\Roaming\npm --format json --out C:\temp\SonarQube\Upgrade\SonarTsPlugin-master\SonarTsPlugin-master\samples\basic-setup.scannerwork.sonartmp\2961287337999812949.tmp --config C:\temp\SonarQube\Upgrade\SonarTsPlugin-master\SonarTsPlugin-master\samples\basic-setup\tslint.json C:/temp/SonarQube/Upgrade/SonarTsPlugin-master/SonarTsPlugin-master/samples/basic-setup/src/MyApp.ts C:/temp/SonarQube/Upgrade/SonarTsPlugin-master/SonarTsPlugin-master/samples/basic-setup/test/MyAppTests.ts

I figured it out myself. I passed incorrect path to TSlint when configuring path in SonarQube Admin TypeScript config. Instructions stated that it should be C:\Users\[Username]\AppData\Roaming\npm\node_modules\tslint\bin\tslint on Windows. I figured...