Versions Compared

Key

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

...

Select the download of your choice, and store it on your machine. Then, unzip the downloaded zip-file to the destination folder of your choice. The contents of the unzipped folder should look like this:

Add maven to path

to be able to run sonarqube analysis you need to add maven to your path. This is done by opening a command prompt window in administrator mode and typing the following command:

Code Block
languagevb
themeMidnight
titleAdministrator: Command Prompt
setx path "%path%;<maven installation location>\bin"

 

Install Blueriq Model Analyzer for Sonarqube

...

The properties in the pom file:

PropertyRequiredDefaultDescription

sonar.blueriq.managementservice

Required for managementservice 

Url to the management service, if this property is set then all other managementservice properties must also be set. If this is not set, then the branchexportlocation must be set.

sonar.blueriq.repository

Required for managementservice 

Name of the repository.

sonar.blueriq.branch

Required for managementservice 

Name of the branch.

sonar.blueriq.username

Required for managementservice 

Studio username credential.

sonar.blueriq.password

Required for managementservice 

Studio password credential.

sonar.blueriq.domainOptional Studio authentication domain, only applicable if the authentication property is set to NTLM_CUSTOM.
sonar.blueriq.authenticationRequired for managementservice Studio authentication mode, currently BASIC and NTLM_CUSTOM are supported
sonar.blueriq.branchexportlocationRequired for export file Location of a branch export zip from the studio, if this is set then the managementservice property must not be set.

sonar.blueriq.projects

Required 

A comma separated list of blueriq project names.

sonar.blueriq.workingDirRequired Relative path inside the executing directory where the BMA plugin creates files to index issues and measures.
sonar.blueriq.skipanalysisOptionalfalse

Set to true if the BMA plugin shouldn't be triggered for the current project. This is useful when scanning projects without Blueriq, or when no connection can be made to the management service.

 

The following properties are default SonarQube properties. More information can be found here.

PropertyRequiredDefaultDescription

sonar.host.url

Optional

localhost:9000

Url and port to the sonarQube host.

sonar.projectKeyOptional when using Maven The key for the SonarQube project. In case of Maven the default is based on the Maven project name.
sonar.projectNameOptional when using Maven The name of the SonarQube project. In case of Maven the default is based on the Maven project name.
sonar.branchOptional
Use when importing the results of a feature branch to SonarQube.

 

The installation is now completed. You should be able to analyse your Blueriq Models now.

...