Can you get Subversion tag information from TeamCity?

Hi!

I'm migrating our build environment from cruisecontrol to TeamCity and would like to be able to tag our jsps with the revision and tag information from Subversion if applicable.
I've been able to get the Subversion revision info from TeamCity but can't find any way to extract tag info. If I could get access to the subversion repo URL from my ant I could parse out the tag number but I can't find any way to get hold of it.

Would greatly appreciate any tips and input on this if you have it!

Best Regards and thanks in advance
/Marianne

1 comment

Hello Marianne,

You can change checkout type for the configuration to "checkout on agent"
and use command line svn to get any data it can provide.
You can also use URL keyword to obtain URL right in the and script. TeamCity
allows you to get current revision number only, other information is not
available.

--
Olesya Smirnova
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"Marianne Hauger" <no_reply@jetbrains.com> wrote in message
news:28932280.1182339500095.JavaMail.itn@is.intellij.net...

Hi!

>

I'm migrating our build environment from cruisecontrol to TeamCity and
would like to be able to tag our jsps with the revision and tag
information from Subversion if applicable.
I've been able to get the Subversion revision info from TeamCity but can't
find any way to extract tag info. If I could get access to the subversion
repo URL from my ant I could parse out the tag number but I can't find any
way to get hold of it.

>

Would greatly appreciate any tips and input on this if you have it!

>

Best Regards and thanks in advance
/Marianne



0

Please sign in to leave a comment.