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

« Previous Version 76 Next »

Table of Contents

Project administration is accessible through the Configuration menu.

Only project administrators can access project settings (See Authorization).

Adding a Project

A project is automatically added to SonarQube when analyzed for the first time. Note that you can also provision projects.

Deleting a Project

You can delete a project through Configuration > Deletion:

Note also that a projects can also be deleted in bulk.

Updating Project Key

The project key can be updated (without losing the history on the project). Go to Configuration > Update Key:

 

The new key must match the following regular expression: [0-9a-zA-Z:-_\.:]+

Note that the validity of the new key is not currently verified. See 

Error rendering macro 'jira' : Unable to locate JIRA server for this macro. It may be due to Application Link configuration.
.

Setting Quality Profiles

Project administrators can select which quality profile to use for each language on their project. Go to Configuration > Quality Profiles:

Setting Exclusions

See Narrowing the Focus.

Customizing Links

To add links to your project, go to Configuration > Links:

They are two types of links:

These links have to be defined in the analysis configuration file:

  • Home: sonar.links.homepage
  • Continuous integration: sonar.links.ci
  • Issue tracker: sonar.links.issue
  • Sources: sonar.links.scm
  • Developer connection: sonar.links.scm_dev

For Maven projects, these links are retrieved from the project POM:

  • Home: <url>
  • Continuous integration: <ciManagement><url>
  • Issue tracker: <issueManagement><url>
  • Sources: <scm><url>
  • Developer connection: <scm><developerConnection>
Setting a sonar.links.* property on a Maven project overrides the one above.
These links can be displayed on a:
  • Filter by adding the Link column
  • Dashboard by adding the Description widget

They can not be modified through the web interface.

Any link can be added through the web interface. Those links can be displayed on a dashboard by adding the Description widget.

Configuring Plugins

Several plugins can be configured at project level to override the plugin's global settings. Go to Configuration > Settings.


  • No labels