When to use which scanner, How to understand

  1. I am using 7.9 LTS
  2. I have setup community edition, and used glader, Ant, Cli Scanners but want to know when to use which scanner.
  3. Want to scan php symfony framwork codes

Hi,

Welcome to the community!

As noted on the analysis overview if there’s a scanner that corresponds to your build tool, pick that one. Otherwise default to the SonarScanner (CLI).

 
HTH,
Ann

@ganncamp thanks for fast response. Actually I need to explain things to my superiors. fortunately, I got my answer, But still have difficulty to understand when to use sonarqube scanner ANT.

Hi,

There are two answers to this: the official SonarSource answer, and my own personal answer.

With my SonarSource hat on I have to answer that you would use the And scanner if you use Ant as your build tool.

Now, taking that hat off & speaking from my personal experience, I would answer that you should never use the Ant scanner. Even if your build tool is Ant, I would <exec> the SonarScanner CLI from Ant.

 
HTH,
Ann