Specified HTML directory '/home/jenkins/agent/workspaceXXXX/XXX does not exist

Hi ,
we are using sonar * Version 8.9.6 (build 50800) and running sonar scanner for angular test , but im getting error Specified HTML directory '/home/jenkins/agent/workspaceXXXX/XXX does not exist.

my sonar properties for angular as below

-Dsonar.language=js
-Dsonar.sourceEncoding=UTF-8
-Dsonar.sources=src
-Dsonar.tests=src
-Dsonar.test.inclusions=/*.spec.ts
-Dsonar.test.exclusions=
/.module.ts
-Dsonar.exclusions=**/
.module.ts
-Dsonar.ts.tslint.configpath=.eslintrc.json
-Dsonar.javascript.lcov.reportPaths=./coverage/angular-example/lcov.info \

could you pleas help, please let me know if requred any further details.

Thanks In advance.

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.9.9 → 9.9.1 → 10.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 issue persists after upgrade, please come back to us.

thanks colin for input, i have fixed the issue by adjusting the loc file path and now able to see the sonar report.
but in jenkins logs i could see this

INFO: Since SonarTS v2.0, TypeScript analysis is performed by SonarJS analyzer v6.0 or later. No TypeScript analysis is performed by SonarTS.

could you please help

thanks

This is just an INFO message you can ignore, that should go away with your upgrade to SonarQube 9.9 LTS :slight_smile: