Unable to generate the report in Sonarqube and I'm trying to scan the code other than building it

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension) Community Build
  • how is SonarQube deployed: zip, Docker, Helm : It is deployed in Kubernetes Cluster and it is deployed in VM
  • what are you trying to achieve To scan the bitbucket repo and get the scan report in sonarqube
  • what have you tried so far to achieve this: I have made the connection from jenkins to sonarqube and when i tried to build the pipeline with only 2 stages one is bitbucket repo code checkout and the next stage is scan the repo with sonarscanner. when trying with this getting connection timed out error.

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

Hi,

Welcome to the community!

Please share your analysis 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