SonarQube

This plugin is part of Pro and Enterprise plan only

Overview

This guide details the integration between Rely.io and SonarQube, a popular platform for continuous code analysis and static code quality. Integrating SonarQube with Rely.io unlocks valuable benefits for your development workflow:

Enhanced Code Quality:

  • SonarQube provides comprehensive code analysis, identifying potential bugs, vulnerabilities, and code smells before deployment. This proactive approach streamlines development by minimizing issues that might arise later in the process.

  • Gain insights into code coverage and identify areas where additional testing efforts may be necessary.

Improved Development Efficiency:

  • Rely's integration with SonarQube allows you to centralize code quality data within your Rely environment. This facilitates easier access and analysis of quality metrics, streamlining team communication and collaboration.

  • Automate quality checks as part of your CI/CD pipeline, integrating seamlessly with Rely's existing functionalities.

Installation Guide

To configure the SonarQube integration within your Rely instance, follow these steps:

  1. Navigate to the Plugins section within your Rely dashboard within the Data Model section of the side panel.

  2. Click "Add Plugin" and select the SonarQube plugin.

  3. Complete the following fields in the provided form:

    • API Token: Generate an API token of the desired type within your SonarQube instance (User > My Account > Security). Refer to SonarQube's documentation for more details on creating API tokens.

      • Global Tokens will allow Rely to ingest information regarding all projects.

      • User Tokens will allow Rely to ingest information about all projects your current user has access to.

    • Server URL: Specify the base URL of your SonarQube server instance. Ensure this URL matches the configuration settings within SonarQube itself.

  4. Click "Save".

  5. After this, Rely will automatically perform the following tasks:

    • Extend your Data Model with Project and Issue blueprints

    • Pull corresponding entities from your SonarQube to backfill your catalog

    • Add automation rules to feed your Services with information from their corresponding Project

Rely's support team is always available to assist you with any integration-related questions. Feel free to reach out through our support channels.

By following these steps, you can effectively leverage the SonarQube integration and gain valuable insights into your code quality within your Rely environment.

Last updated