Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Introduction

Sonar (now SonarQube) is an open source tool to manage source code quality with code analysis, code coverage and technical debt.

...

User can follow below to integrate the tool-

Setup Configuration

...

Sonar Configuration

...

Edit Configuration

Setup Configuration

  • To setup, navigate to project settings and click 'Setup' under Sonar tool

...

  • Under Sonar Configuration page, first section shall be 'Available Connection'. Recently created Sonar Connections shall be displayed here. Select radio button for desired connection.

  • Configured Tool section shall display existing configuration with Sonar.

    Image RemovedImage Added
  • Based on the selected connection, User can select

    • Organization Key- It is required during cloud setup of sonar with project

    • API Version- Refers to version of the API that is currently followed.

    • Project Key- Based on the Org Key and API version selected, project key should be displayed in dropdown.

    • Branch-Based on selected project key, branch dropdown shall populate and contains branches which are required to be validated with PSKnowHOW

  • On clicking 'Save'

...

  • Navigate to the Settings> Project Name >Edit

  • Under Sonar, click Edit configuration

    Image RemovedImage Added

  • Note: For the updated data to populate after user edit the configuration, tool processor needs to be run again by navigating Settings>Misc Setting.

...