Keep getting 0% coverage on every Sonar scan

I am running the below command to scan the branch but I am just getting the 0% coverage. I read a lot of threads but was not able to understand this behavior

withSonarQubeEnv('SonarQube') {
        sh "JAVA_HOME=/jdk-11 ./gradlew jacocoTestReport sonarqube${branchName}"

I have added this in my build.gradle

sonarqube {
    properties {
        property "", ""
        property "sonar.projectKey", ""
        property "sonar.projectName", "Testapp"
        property "sonar.exclusions", ["src/main/java/com/test/exclude/**"
        property "sonar.jacoco.coveragePlugin", "jacoco"


sonar.jacoco.coveragePlugin isn’t a property I recognize. Analysis doesn’t generate your coverage numbers for you. It reads your previously generated coverage reports. You’ll need to change your job to run the tests and generate the coverage report and then feed that report into analysis. The docs will give you the correct property to use.