[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN and Cruise Control

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 27 Nov 2008 14:24:35 -0500

>
> My company uses Team City Builder. It appears that the system creates Tags
> only after the build process is over – yes this is strange for me too.

Actually, this makes sense. You don't want to create a tag unless you are
sure the build is good. Otherwise, if you are using CVS, you could end up
taking 20 minutes or so making a tag for a bad build.

How do I make a Tag with CC?
>

CruiseControl doesn't make a tag. You have to do that yourself in your
build.xml file, your Makefile, or your build script.

How do I Check Out from this Tag in CC?

CruiseControl will do this itself with a <modificationset>. You specify the
<svn> parameter, and CruiseControl will use Subversion do to the checkout.

 How do I send parameters and use variables with the CC?
>

3). You have <properties> which can be set. You can't send properties in the
middle of builds.

 Can I run Command lines before the build script or after the build is
> finished?

You have a <bootstrapper> block that can take an <execbootstrapper>. There's
also an <exec> in the <publisher> which executes after the build.

The way CC works is by a config.xml file. You configure everything in this
XML file, and add or remove projects.

Have you used CruiseControl before? If not, I highly suggest you look at
Hudson <https://hudson.dev.java.net/> which is much, much easier to
configure and understand.

We used CruiseControl at my company because that's what I was comfortable
with. However, I switched to Hudson because Hudson is simply a more powerful
and easier to use tool.

--
David Weintraub
qazwart_at_gmail.com
On Thu, Nov 27, 2008 at 2:09 AM, Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>wrote:
>  Hi,
>
> If you aren't using Cruise Control, you are welcome to delete this mail.
>
> If you do…
>
> My company uses Team City Builder. It appears that the system creates Tags
> only after the build process is over – yes this is strange for me too.
>
> I offered my boss to use Cruise Control – this is a good standard tool.
>
> The thing is that I don't know how to add the fields in the xml files to
> work upon SVN.
>
> 1)      How do I make a Tag with CC?
>
> 2)      How do I Check Out from this Tag in CC?
>
> 3)      How do I send parameters and use variables with the CC?
>
> 4)      Can I run Command lines before the build script or after the build
> is finished?
>
> A friend in need is a friend indeed.
>
> Thanks,
>
> *******Ilan Yaniv*
>
> Configuration Management
>
> Phone: 03-7534333 ext. 5873
>
> ***Ilan.Yaniv_at_timetoknow.org* <Ilan.Yaniv_at_timetoknow.org>
>
>
Received on 2008-11-27 20:25:05 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.