[Stat-scm-user] svn log username and password parameters
Brought to you by:
benoitx,
dougculnane
From: Benjamin T. <bt...@ra...> - 2009-07-08 13:28:27
|
Hi - I am trying to use stat-scm with maven via a hudson continuous integration job. I'm running into a problem with authentication. It appears that the "svn log" command is blocking the build from proceeding because of an authentication check. Here is the relevant snippet from the build output: [INFO] Generating "StatSCM" report. [INFO] StatSCM - generating source code management metrics. [INFO] StatSCM Version: (1.2.0) [INFO] Configuring StatXXX [INFO] Includes: **/*.java [INFO] Excludes: **/test/**/*.java;**/target/**/*.java [INFO] SCM Connection Type :svn [INFO] Output Directory :/home/hudson-farm/.hudson/jobs/farm- toplevel/workspace/farm-toplevel/target/generated-site/xdoc/statscm/ [INFO] scm log > /home/hudson-farm/.hudson/jobs/farm-toplevel/ workspace/farm-toplevel/target/generated-site/xdoc/statscm/scm.log [WARNING] Authentication realm: <http://servername.company.com:80> Company Subversion Repository And at this point the build locks up. When I try running the svn log command from that directory on the command line, I am prompted for authentication credentials: $ svn log -v --xml > /tmp/logfile.log Authentication realm: <http://servername.company.com:80> Company Subversion Repository Username: So it seems that I need a way to provide stat-scm with the username and password to use for Subversion. It looks like this could then be used in SrcManager::log() in the "command" variable. Do you see any other way to overcome this problem? If not, what is the best way to help get this feature implemented? Thanks! Benjamin Truitt Confidentiality Notice: This e-mail message (including any attached or embedded documents) is intended for the exclusive and confidential use of the individual or entity to which this message is addressed, and unless otherwise expressly indicated, is confidential and privileged information of Rackspace. Any dissemination, distribution or copying of the enclosed material is prohibited. If you receive this transmission in error, please notify us immediately by e-mail at ab...@ra..., and delete the original message. Your cooperation is appreciated. |