Sonar scanner version in Jenkins Global Tool configuration

Hello,

I have been trying to scan a java codebase using the sonar scanner configured in Jenkins global tool configuration. I wanted to know that where the version(4.6.0 - See the screenshot attached) comes from the SonarQube Scanner lists displayed in the Jenkins global tool configuration page in SonarQube Scanner section. Also can anyone please point to a git repo(perhaps in the github) of this plugin where I can check the other versions? One more thing, this scanner installs it’s own java version or do I need to have the java installed in the jenkins agent where I use this scanner?

Any help is appreciated.

Thank you
Manoj

Hi Manoj,

Here’s what I see in a brand new Jenkins instance:

To be honest, I’m not sure whether the version with an embedded JRE is installed by this or not. I think it likely, but you’ve got to have Java to run Jenkins anyway.

All that aside, if you’re analyzing a Java project, what you really need is the scanner that corresponds to your build tool, either the SonarScanner for Maven or the SonarScanner for Gradle.

 
HTH,
Ann

Thanks for the reply Ann.
Could you please find out about this “To be honest, I’m not sure whether the version with an embedded JRE is installed by this or not.”? if you are from Sonarsource?

Thanks
Manoj

Hi Manoj,

What happens when you try it?

 
Ann