XML-RPC addMavenTwoProject - where to specify SCM username/password?

View: New views
1 Messages — Rating Filter:   Alert me  

XML-RPC addMavenTwoProject - where to specify SCM username/password?

by kroe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When adding a project through the web interface the user can enter a scm username and password.  Through the XMLRPC interface there are no scm username/password parameters that can be passed when adding a maven 2 project.  

As a result I have to add a project through the web interface before adding a project using a XMLRPC call.  This will result in the username/password used in the web interface being reused when another project is added via XMLRPC (this seems like it may be a bug also).  

The XMLRPC behavior is observed with a snapshot release, since maven 2 projects cannot be added in the current release.  

To reproduce:

1.) Restart continuum server.
2.) Attempt to add a project using XMLRPC (FAIL).
3.) Add a project using the web interface.
4.) Attempt to add a project again using XMLRPC (SUCCESS).

Is there a way to specify the SCM login information for XMLRPC?