Hi,
In my project I have .ts files, I changed the settings in typescript under administration in SonarQube. I am using gitlab-ci.yml file following is the code
Thank you for your message, and welcome to the SonarSource community!
Your GitLab CI/CD setup needs to run your unit tests, generate the coverage report, and tell the scanner where to find that report with the sonar.javascript.lcov.reportPaths property to import that information to SonarQube. Neither SonarQube nor SonarScanner will do that for you.
As you can guess from the property name, the JavaScript/TypeScript analyzer supports the LCOV format for coverage reports, which is generally materialized as a lcov.info file by JavaScript/TypeScript testing frameworks.
Looking at your updated stages, I see that you are using the Covertura XML format and you are trying to import your report using a property from the Flex analyzer. As I mentioned in my previous message, our JavaScript/TypeScript analyzer only supports LCOV format for importing code coverage. Please give it another try with this format and use the appropriate JS/TS property of the scanner to import your coverage report.