Skip to main content

SonarQube SonarQube

SonarQube is an open-source platform developed by SonarSource for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs and code smells on 29 programming languages.

Creating a SonarQube connection

Using User Token

To create the connection you need:

  • An API Address
  • An User Token

Obtaining the credentials

  1. In your SonarQube/SonarCloud account, navigate to My Account > Security > Generate Tokens and create a new token.

    SonarQube Token Page

  2. Copy the newly generated token.

Creating your connection

  1. In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
  2. Select the SonarQube icon. A dialog box with name of the connection and connection methods appear.
  3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
  4. Select User Token as the method to create the connection.
  5. Fill in the parameters:
    • The API Address
    • The User Token
  6. (Optional) Click Test Connection to test it.
  7. Click Create connection. The new connection appears on the Connections page.