Howto pass subversion path as url parameter

Hi,

I have the following requirement:
We often create small patches for our software. For each patch, we create a new subversion branch.
Now we want to give the developer the possiblity to start the build without first having to set up a new project in teamcity.

Since it is possible to use a parameters as svn URL, i've created a new configuration parameter, called %SvnPath%.
If i set the svn url to this parameter, everything works just fine. But i like to automate the whole process for the developers.

I found this website (http://confluence.jetbrains.net/display/TCD65/Accessing+Server+by+HTTP) which describes howto pass parameters to a build request.
But in case of the SvnPath, this seems to be ignored.

Any hints how i can set this parameter?

cheers
manuel

1 comment
Comment actions Permalink

Some more informations:
1. I've created a configuration parameter, called SvnPath
2. In the url field of svn conntection settings is %SvnPath%. This value can be selected from the autocomplete list
3. I start the with the following url: http://user:password@server:8080/httpAuth/action.html?add2Queue=bt3&name=SvnPath&value=http%3A%2F%2Ftragicomix%Stuff%2FKaderli%2FTrunk%2FdotNet%2FBuildTest
4. The build fails with the following message: Unable to collect changes: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'BuildTest :: BuildTest' : org.tmatesoft.svn.core.SVNException: svn: Malformed URL ''
5. In the log view of the failed build, the build parameter SvnPath has the parameter(svn http address) which was passed via the http get request

Nachricht geändert durch manuel kaderli

0

Please sign in to leave a comment.