{iframe:src=http://update.sonarsource.org/plugins/scmactivity.html|width=700|height=250|frameborder=0} Your browser does not support iframes. {iframe} |
All SCM providers currently require the native executable to be installed on the box. For example svn.exe must be available in PATH for Subversion projects.
Plugin | 1.2 | 1.3 | 1.4 |
---|---|---|---|
Subversion (1.6+ client) | |||
- supported
- not tested
- not implemented
This plugin collects information from SCM.
Define the SCM URL of your project (see SCM URL Format).
Example for Maven pom.xml :
<scm> <connection>scm:svn:http://svn.codehaus.org/sonar-plugins/trunk/scm-activity</connection> <developerConnection>scm:svn:https://svn.codehaus.org/sonar-plugins/trunk/scm-activity</developerConnection> <url>http://svn.sonar-plugins.codehaus.org</url> </scm> |
Or you can use Project Setting - SCM URL.
Or specify it via property sonar.scm.url
.
Global/Project Settings
sonar.scm.user.secured
) and Password (sonar.scm.password.secured
) if needed; if specified then developerConnection
will be used, otherwise connection
Add following to .subversion/servers
:
[global] ssl-authority-files = /path/certificate.crt ssl-trust-default-ca = yes |
Try to set empty password for repository in .cvspass
. For example :
/1 :pserver:anonymous@javacaltools.cvs.sourceforge.net:2401/cvsroot/javacaltools A |
The plugin uses 'git blame
' command to find out the author of each line. Because a user can commit with different author name/email, it is advised to have a .mailmap
file at the root of the repository. This file is used by 'git blame
' to find out canonical name/email of each user.
See http://git-scm.com/docs/git-blame#_mapping_authors