Versions Compared

Key

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


Panel
borderColor#888888#C3CCD7
titlebgColorTable of Contents#FCFCFC

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

Any link can be added through the web interface. Those links will be displayed in the Project Page프로젝트 태그(Project Tags)를 사용해 프로젝트 페이지에서 프로젝트를 손쉽게 구분하고 그루핑하여 관리할 수 있습니다. 프로젝튼 태그는 프로젝트 홈페이지에서 관리합니다. 시스템 관리자는 프로젝트의 현재 태그(혹은 "No tags" 인디케이터) 옆의 드롭다운 메뉴 인디케이터를 사용할 수 있습니다. 드롭다운 메뉴 리스트에 원하는 태그가 존재하지 않는 경우, 내장된 "search" 가기능을 사용해 원하는 태그를 손쉽게 입력할 수 있습니다.

프로젝트 관리 아이템

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

프로젝트 추가하기

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

분석 리포트 처리하기

프로젝트 레벨의 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 메뉴를 통해 사용자 링크를 추가할 수 있습니다. 추가된 링크들은 프로젝트 페이지에 표시됩니다.