How to build not HEAD revision via Teamcity

Greetings!

I use SVN and want to build not head revision on my team-city server, but some other revision number. How to implement this task.
I would be nice to order to command build runner to build code from revision number xxx, isn't it? :)

6 comments
Comment actions Permalink

Any ideas?

I don't believe no-one have faced this problem before :(((
Gimme please just a little hint

0
Comment actions Permalink

You can tag your files in Subversion and then configure VCS root on this tag. Since tags in Subversion are simply paths you can use this path in the VCS root settings.

--
Pavel Sher

0
Comment actions Permalink

That's not exactly what I was looking for :(
Maybe you could add it to desired feature-list? It would be oh-so nice ....

I finally dared to post this feature request in your bagtracker :)

Edited by: Roger Taylor on Oct 9, 2008 11:29 PM

0
Comment actions Permalink

The main thrust of Continuous Integration is keeping the Head building in the midst of disparate changes, so I think it's a matter of why and how you want to do it. Do you want to periodically build some particular revision, or do you just want to rebuild some past build, or what? If you're working in Java, I could see an Ant target that would svn update a tree to a particular revision, but I haven't really done anything with custom builds so I don't know what can be passed in.

0
Comment actions Permalink

Thanks for your response Mark!
No - I use teamcity for .Net development.
So, yes, I need to build specific versions time after time - and tags would not help here - it's absolutely unpredictable situation, caused by our enterprise business processes. So, maybe I'm the only fool to lack this feature, but still...

Edited by: Roger Taylor on Oct 10, 2008 7:42 AM

0
Comment actions Permalink

You can also try our latest EAP, it has feature to build a so called history build, i.e. a build which will include changes up to the specified one.

--
Pavel Sher

0

Please sign in to leave a comment.