SonarQube :: Plugins :: SCM :: Perforce

Perforce SCM Provider.

Лицензия

Лицензия

Группа

Группа

org.codehaus.sonar-plugins
Идентификатор

Идентификатор

sonar-scm-perforce-plugin
Последняя версия

Последняя версия

1.1
Дата

Дата

Тип

Тип

sonar-plugin
Описание

Описание

SonarQube :: Plugins :: SCM :: Perforce
Perforce SCM Provider.
Ссылка на сайт

Ссылка на сайт

http://redirect.sonarsource.com/plugins/scmperforce.html
Организация-разработчик

Организация-разработчик

SonarSource
Система контроля версий

Система контроля версий

https://github.com/SonarCommunity/sonar-scm-perforce

Скачать sonar-scm-perforce-plugin

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.perforce : p4java jar 2014.1.965322

provided (2)

Идентификатор библиотеки Тип Версия
com.google.code.findbugs : jsr305 jar 2.0.3
org.codehaus.sonar : sonar-plugin-api jar 5.0

test (2)

Идентификатор библиотеки Тип Версия
org.codehaus.sonar : sonar-testing-harness jar 5.0
org.mockito : mockito-core jar 1.9.5

Модули Проекта

Данный проект не имеет модулей.

SonarQube Perforce plugin

Build Status

Description

This plugin implements SCM dependent features of SonarQube for Perforce projects. It's a pure Java implementation so no need to have p4 command line tool installed on the computer doing the SQ analysis.

Usage

There is no autodetection so you should activate the provider using -Dsonar.scm.provider=perforce.

Mandatory properties:

Key Description
sonar.perforce.port The host and port number of the Perforce service with which to communicate. Format is host:port.
sonar.perforce.username Username to be used for Perforce authentication. Mandatory.
sonar.perforce.password.secured Password to be used for Perforce authentication. If not set it will try to reuse existing ticket for provided user.
sonar.perforce.clientName Name of the client/workspace the project belongs to.

You can also configure some optional properties:

Key Description Default value
sonar.perforce.useSsl Use SSL protocol (p4javassl://) to connect to server false
sonar.perforce.charset Character set used for translation of unicode files (P4CHARSET)
sonar.perforce.sockSoTimeout Perforce socket read timeout for communicating with the Perforce service (milliseconds) 30000 (30s)
sonar.perforce.clientImpersonatedHostname Name of the host computer to impersonate (P4HOST)

Known Limitations

  • No auto-detection since nothing in workspace seems to show this is under Perforce control management (like .git folder for Git workspace).
  • Blame is not executed in parallel since we are not confident in the thread safety of p4java library.

Developper informations

The plugin use the p4java pure Java implementation of Perforce client: http://www.perforce.com/perforce/doc.current/manuals/p4java/01_p4java.html

Версии библиотеки

Версия
1.1
1.0