Monday, October 26, 2009

Hudson config for SVN credentials

I've been integrating Hudson into our build process, interesting enough that I couldn't find where to set the subversion credentials from Hudson's config menus.  Found the solution from web, simply go to URL to config:
http://${HUDSON_HOST:PORT}/scm/SubversionSCM/enterCredential 

the file on the server is under:
${HOME}/.hudson/hudson.scm.SubversionSCM.xml

Not sure if it supports multiple repositories with different credentials.

Reference:
http://www.testearly.com/2007/06/12/subversion-authentication-in-hudson/