sonar.projectKey=test1
sonar.projectName=Code-cover
sonar.projectVersion=1.0
sonar.sourceEncoding=UTF-8
sonar.sources=src
sonar.tests=src
sonar.test.inclusions=/*.spec.ts
sonar.test.exclusions=/node_modules/**
sonar.typescript.tslint.reportPaths=report.json
sonar.typescript.lcov.reportPaths=coverage/lcov.info
sonar.ts.tslintconfigpath=tslint.json
sonar.ts.lcov.reportpath=test-results/coverage/lcov.info
sonar.ts.lcov.reportPaths=coverage/lcov.info
sonar.cobertura.reportPath=coverage/cobertura-coverage.xml
Above file is the project.properties file while I am executing sonar-scanner.cmd
Before this, following action were taken
npm install
ng build --aot --output-hashing=all
test --no-watch --code-coverage --browsers=ChromeHeadless
After this the coverage folder with lcov.info and cobertura files are generated.
Thank you in advance for your help.