How to use customized directory to save sonar reseult files

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
    save analyze result files to specific directory rather than target/sonar/
  • what have you tried so far to achieve this