Automating Authentication

Parekh, Nilesh nparekh at qualcomm.com
Mon Jul 20 20:43:32 CDT 2009


I am trying to use Hudson with Mercurial plugin to automate build process. The problem I am facing is that repository uses https scheme for authentication and Hudson Mercurial plugin does not have a way to supply username and password. I tried "auth" in .hgrc and it does not work (i.e. I am still prompted for username/password).
Manpage for Auth:
Authentication credentials for HTTP authentication. Each line has the following format:
<name>.<argument> = <value>
where <name> is used to group arguments into authentication entries. Example:
foo.prefix = hg.intevation.org/mercurial
foo.username = foo
foo.password = bar
foo.schemes = http https

bar.prefix = secure.example.org
bar.key = path/to/file.key
bar.cert = path/to/file.cert
bar.schemes = https

Anyone knows if this works?

Nilesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090720/3d554991/attachment.htm 


More information about the Mercurial mailing list