TeamCity Get svn url in msbuild script

I'm using TeamCity 8 to run a msbuild script.
I thought TeamCity would set an environment variable or msbuild property with the vcs root url. But I can't find it.
I've tried running the script with /v:diag to get more info, and still can't find any property.
Can I get the url from Teamcity or do I have to run something like svn.exe info?

Also posted here:

1 comment
Comment actions Permalink

You can go to build configuration->parameters and define a Environment variable here and set %vcsroot.url% as its value.

See and for details.


Please sign in to leave a comment.