Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To perform and analysis you need to have the Blueriq Sonar Scanner somewhere on you local environment. This Blueriq Sonar Scanner can be found in the zip of the Blueriq Model Analyzer and is called bma-sonar-scanner.jar. To perform an analysis you will need to execute a command from an command prompt. The command consist out of two parts. The first part being the execution of java with the Blueriq Sonar Scanner and the second part is the location of the application.properties.

ExampleExplanation
java -jar <location on disk>\bma-sonar-scanner.jarThe <location on disk> need to be replaced with the location of where the bma-sonar-scanner.jar can be found.
-Dspring.config.location=file:<location on disk>\application.propertiesThe <location on disk> need to be replaced with location of where the application.properties can be found.

When performing the following executing the following command java -jar C:\tools\bma-sonar-scanner.jar -Dspring.config.location=file:.\application.properties. The Blueriq Sonar Scanner which is located in C:\tools will be executed with application.properties from the current directory. When this command is executed, Blueriq Sonar Scanner will either download a branch export, from the management service or from a configured location, and performs the analysis. When the analysis is done the command prompt will inform that the analysis was successful.

...