SQ Official Doc Link: https://docs.sonarqube.org/display/SONAR/Project+Settings
Project administration is accessible through the Administration menu.
Only project administrators can access project settings (See Authorization).
Adding a Project
A project is automatically added at its first analysis. Note that you can also provision projects.
Analysis Report Processing
A project-level Background Tasks page is available at Administration > Tasks to allow project administrators to check their projects' processing. It offers analysis report details and logs. See Background Tasks for more.
Deleting a Project
You can delete a project through Administration > Deletion:
Note also that a projects can also be deleted in bulk.
Setting the Leak Period
The leak period can be set on a per-project basis through Administration > General Settings > Leak > Leak Period. The default value is previous_version, which is probably the most appropriate value for projects that version/release regularly. For other projects, a time period such as 30 days (enter "30", the "days" part is understood) may be more appropriate.
Note that this can be set at the global level as well.
Updating Project Key
The project key can be updated (without losing the history on the project) at Administration > Update Key.
The new key must contain at least one non-digit character. Allowed characters are: 'a' through 'z', 'A' through 'Z', '-' (dash), '_' (underscore), '.' (dot), ':' (colon) and digits '0' to '9'.
Default Issue Assignee
When new issues are created during an analysis, they are assigned to the last committer where the issue was raised. When it is not possible to identify the last committer, issues can be assigned to a default assignee, at Administration > General Settings > Issues.
Quality Gate and Setting Quality Profiles
Project administrators can select which:
- Quality profiles (go to Administration > Quality Profiles)
- Quality gate (go to Administration > Quality Gate)
to use on their project.
Setting Exclusions
See Narrowing the Focus.
Customizing Links
To add links to your project, go to Administration > Links.
They are two types of links:
Default 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. They can not be modified through the web interface.
Custom Links
Any link can be added through the web interface. Those links will be displayed in the Project Page.