SONAR Tool configuration

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

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


Sonar Configuration field description

  • 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.

  • 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'

     

NOTE: To get the data populated for Sonar, User shall run the Sonar Processor from Settings>Misc. Settings for the project.

 


Edit Configuration

Once Sonar tool is configured, user can proceed with validating data populated on KPI. However In case, user anticipate any changes for tool configuration

  • Navigate to the Settings> Project Name >Edit

  • Under Sonar, click Edit configuration

     

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


© 2022 Publicis Sapient. All rights reserved.