Not able to export my typescript project unit test result to sonarqube

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • how is SonarQube deployed: zip, Docker, Helm
  • what are you trying to achieve
  • what have you tried so far to achieve this

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi, I am using SonarQube Version 8.9
I want to export the test results to the SonarQube portal under my project.

I was able to push the result of the scan including the code coverage to the SonarQube portal but I am not able to push\export the Unit test result of my typescript code
The build is successful but still the Unit test result are not exported. I still see - above Unit Test like below,
image
I am able to generate the XML file in Generic Test Execution format as mentioned in SonarQube
I am using the below Sonar properties in my Azure DevOps Classic UI pipeline,
image

In my karma.config file I have below details mentioned.


I have also attached the Run code analysis log in verbose for more details
SQlogs.txt (136.0 KB)
Would appreciate if anyone could help me to resolve this last thing pending for me on how to export the unit test result to SonarQube.

Thanks.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

8.9.2 → 9.9.5 → 10.5.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

Hi Colin,
Thanks for the response. But all our projects are using the same SonarQube version, could you please help me to figure out the issue with this version itself.
thank you.