How to fix "No compilation databases were found in the workspace "?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, 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)!

When I see the box with the message “No compilation databases were found in the workspace“, I also see SONARQUBE FINDINGS with “No SonarQube issues to display“. By the way, I can find build-wrapper-dump.json in my build_wrapper_output_directory. So how to fix this issue?
Thanks!

Hi,

Welcome to the community!

Can you share your analysis configuration and log?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann