Security hotspots not found in Java Gradle scan

Hi,

I’m using SonarQube verison 10.3, running locally with Docker.

I want to use Sonarqube to scan a Gradle project for security hotspots, but this must go through a Teamcity pipeline. Now locally from my idea I can push the code to Sonarqube and then the scan works, but once it goes through the pipeline the scan does not fully work. Via the pipeline, Sonarqube assumes that it is a maven project by default.

Does anyone know how to fix this?

Thank you in advance!

Hey there.

This sounds like an issue with your Teamcity configuration

What do you mean by this? Can you share your analysis logs?