[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: Ilan Yaniv <Ilan.Yaniv_at_timetoknow.org>
Date: Sun, 30 Nov 2008 17:26:29 +0200

Hello David.

 

Thanks for all your help.

From what I have read in the Hudson site there is no integration between
SVN and Hudson.

 

1) If I want to run a check out command (even without tagging
first), how can I do the check out from specific revision from CC?

2) How can I know what revision should be checked out (I guess
that I choose HEAD revision, but not necessarily?

3) How would I keep the revision number in case I want the
specific revision to create a Tag out of it?

 

 

________________________________

From: David Weintraub [mailto:qazwart_at_gmail.com]
Sent: Thursday, November 27, 2008 9:25 PM
To: Ilan Yaniv
Cc: Subversion Users
Subject: Re: SVN and Cruise Control

 

        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 <mailto:Ilan.Yaniv_at_timetoknow.org> 
 
Received on 2008-11-30 16:27:48 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.