Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

In order to configure global settings, it is necessary to be able to connect as a global administrator (See Security).

Personalize Home Page

It is possible to personalize the Home / All projects page. This personalization becomes the default for everybody accessing the page.



Press ON and you will be presented with the configuration page: there are 3 areas in that page that enable customization :

The top area



This area allows 3 actions :

  • add a column to the All Projects page
  • select the column the All Projects page will be sorted on
  • remove the treemap from the All Projects page

The columns header



This area allows 2 actions :

  • remove a column from the All Projects page
  • change the column ordering in the All Projects page

The treemap



The area allows to choose the default values for the treemap on the All Projects page. When the values are chosen, click on Set as Default in order to save them.

Manage Time Machine

It is possible to change the default metrics that are used in the custom chart in the Time Machine. In order to do so, sign in, go to a project area and click on the Time Machine link in the left menu.

Then tick the metrics you want to appear by default in the custom chart

When done, press the Set as default button at the bottom

Manage events

Manage categories of events

It is possible to create its own category of events within Sonar. In order to do so, sign in, go to configuration at the top right of the page and select Events Category in the left menu:



From there, it is possible to create, update and delete categories of events.

Two events exist in the system that cannot be either updated or deleted: Alert and Version.

Add an event

In order to add an event, sign in, go to the project area and choose the component (project, module, package) you want to associate the event to :



Click add event



Enter the event name, the event date, the event category and an optional description. Click create to confirm.

Edit an event

In order to edit an event, sign in, go to the project area and choose the component (project, module, package) in which you want to edit an event :



Click on the edit button



Edit the information you want to change and click update to validate.

Remove an event

In order to remove an event, sign in, go to the project area and choose the component (project, module, package) in which you want to delete an event :



Click on the delete button and confirm.

Manage configuration

Sonar allows to set up a environment promotion process. Indeed, you can for instance define new quality profiles in a test environment and put those quality profiles in your production environment once they are perfectly tested. To do that, you can export a Sonar instance's configuration to an XML file and import this same XML file in another Sonar instance. You can't currently define which part of a configuration need to be exported/imported, so all the configuration of the first Sonar instance will wipe the configuration of the second one.

Scope

The configuration described in this function relates to :

  • Quality profiles (rules + alerts)
  • Definition of manual metrics
  • Definition of events categories
  • Parameters defined in the settings section (plugins)
  • Personalization of the All Projects page


Backup

In order to backup the configuration, sign in, go to configuration and select the Backup / Restore entry in the left menu :



Click on Backup and save the xml file on your disk.

Restore

In order to restore the configuration, sign in, go to configuration and select the Backup / Restore entry in the left menu :



Select the xml file to restore and click restore.

WARNING

This will wipe ALL existing configuration

Labels
  • None