Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
borderColor#888888
titleTable of Contents

Table of Contents

Table of Contents
indent16px

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:

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

Home: 

프로젝트 관리는 "Administration" 메뉴에서 수행합니다. project administrator 계정 사용자만 해당 메뉴에 접근할 수 있습니다(Authorization 참조).

프로젝트 추가하기

소스 코드를 첫 번째 분석하면 자동으로 프로젝트를 생성합니다. 또한 프로비저닝을 통해 프로젝트를 생성할 수 있습니다.

분석 리포트 처리하기

프로젝트 레벨의 Background Tasks 페이지는 Administration > Tasks 메뉴를 클릭해 접근할 수 있습니다. 해당 페이지에서 프로덱트 관리자들은 해당 프로젝트의 처리 내역--분석 리포트 세부 내용 및 로그--을 확인할 수 있습니다(백그라운드 태스크 참조).

프로젝트 삭제하기

Administration > Deletion 메뉴로 프로젝트를 삭제할 수 있습니다. 다수의 프로젝트를 동시에 삭제할 수도 있습니다.

Leak Period 설정하기

Leak Period는 프로젝트 별로 Administration > General Settings > Leak Period 메뉴에서 설정할 수 있습니다. 기본 설정값은 previous_version(이전 버전)으로 정기적인 프로젝트 버전/릴리즈에 적합합니다. 30일 이전(입력란에 '30'을 입력, '일'은 기본 단위)과 같이 시간 단위로도 설정할 수 있습니다.

Leak Period는 Global 레벨에서도 설정할 수 있습니다.

Project Key 업데이트하기

(프로젝트의 히스토리를 유실하지 않고) Administration > Update Key 메뉴에서 project key를 업데이트 할 수 있습니다.

신규 키는 최소 숫자가 아닌 문자를 1자 이상 포함하고 있어야 합니다. 영문자 소문자(a~z), 영문자 대문자(A~Z), '-', '_', '.', ':' 및 숫자(0~9)를 사용할 수 있습니다.

기본 이슈 담당자

분석 과정에서 신규 이슈가 발생하는 경우, 해당 이슈는 이슈가 발견된 파일을 가장 최근에 커밋한 사람에게 할당됩니다. 가장 최근의 커미터를 식별하지 못하는 경우, 해당 이슈는 기본 이슈 담당자에게 할당됩니다. Administration > General Settings > Issues 메뉴에서 기본 이슈 담당자를 설정할 수 있습니다.

품질 게이트 및 품질 프로파일 설정하기

프로젝트 관리자는 관리 대상 프로젝트에 대해 다음을 설정할 수 있습니다:

  • 적용할 품질 프로파일 (Administration > Quality Profiles 메뉴)
  • 적용할 품질 게이트 (Administration > Quality Gate 메뉴)

분석 대상 제외하기

분석 범위 좁히기를 참조합니다.

링크 커스터마이징

프로젝트에 링크를 추가하려면, Administration > Links"메뉴를 사용합니다. 두가지 종류의 링크를 추가할 수 있습니다:

기본 링크

이 링크들은 분석 환경 파일에 설정해야만 합니다:

  • 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프로젝트의 경우, 이 링크들은 프로젝트 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.

Any link can be added through the web interface. Those links will be displayed in the Project PageMaven 프로젝트에서 sonar.link.* 속성을 설정하면 위의 내용을 오버라이딩합니다. 이 속성들은 웹 인터페이스에서 수정할 수 없습니다.

커스텀 링크

웹 인터페이스에서 임의의 링크를 추가할 수 있습니다. 추가된 링크는 프로젝트 페이지에 표시됩니다.