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.
ganncamp
(G Ann Campbell)
April 15, 2022, 4:40pm
2
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,
ganncamp
(G Ann Campbell)
April 18, 2022, 11:56am
4
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
I use Sonarqube 8.4.
Is there any plugin free for analizing PL/SQL script?
Thank you.
Salvo
ganncamp
(G Ann Campbell)
October 18, 2022, 2:23pm
6
Hi @SalvoSvil ,
Welcome to the community!
Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:
8.4 → 8.9.9 → 9.6 (last step optional)
You may find the Upgrade Guide helpful. If you have questions about upgrading, feel free to open a new thread for that here .
PL/SQL support starts in Developer Edition ($)
HTH,
Ann