Tadatoshi Takahashi
2007-Feb-21 06:25 UTC
[Cruisecontrolrb-users] Problem with adding project with Subversion username and password
Hi, I found that when adding a project with Subversion username and password, e.g. cruise add <project-name> --url <URL> --username <username> --password <password> the username and password were not actually passed to svn command. I printed out the content of scm_options in script/add_project file and found that the values of username and password were empty. Then I deleted the nil parameter (the first parameter) from opts.on(..) for username and password: i.e. opts.on("--username username", String, "Specify a username for sourcecontrol") { |v| scm_options[:username] = v } opts.on("--password password", String, "Specify a password for sourcecontrol") { |v| scm_options[:password] = v } Then it started working - the values of username and password were captured correctly. Tadatoshi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070220/951f75b1/attachment.html
Alexey Verkhovsky
2007-Feb-22 07:40 UTC
[Cruisecontrolrb-users] Problem with adding project with Subversion username and password
> I found that when adding a project with Subversion username andpassword,> e.g. cruise add <project-name> --url <URL> --username <username> -- > password <password> > the username and password were not actually passed to svn command.And we fixed it. Thanks for the heads-up! Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070222/28547442/attachment.html