Sonarqube docker showing coverage as zero

I am running sonarqube analysis with my code using sonar cli from pipeline.
The sonar instance is working as docker with image sonarqube:latest

But the case is , the coverage value showing zero.
I tried to include -Dsonar.coverage.jacoco.xmlReportPaths with sonar cli command
I also tried specifying jacoco path inside Sonar panel but the coverage still showing zero

Can someone advise on this ?