SonarQube configuration for PL SQL repo

Hello, I am new to the SonarQube ecosystem. I am trying to configure sonar quality gate on my pl sql repo on bit bucket.

I have added the following in build.gradle file

apply plugin: 'org.sonarqube'

Currently my sonarqube block is empty.

sonarqube {
  
}

The sonarqube dashboard has picked up my project and its master branch but it says that there are 0 lines of code to be analyzed.

Can someone please help me with some of the properties that need to go in my build.gradle file. Any help will be appreciated.

Hi,

Welcome to the community!

Are you using a commercial edition of SonarQube? PL/SQL analysis isn’t available in Community Edition. If you are, the docs should help.

 
HTH,
Ann

Thanks for the docs link. Yes we are using the commercial edition.

The link that you shared is for the gradle java project. Do we need any specific properties for pl sql project? Or does the same configuration applies to PL SQL as well?

Do you happen to know any support link for that?

Thanks,

Hi,

The setup for basic analysis is standard. There are additional parameters you may wish to provide for advanced analysis.

But at this point I need to ask why you’re trying to analyze with Gradle. Why not just use the vanilla SonarScanner?

 
Ann