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

Re: Automated nightly build ... only when updated

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Tue, 27 Jan 2009 15:01:22 -0800

On Mon, Jan 19, 2009 at 4:10 AM, Peter von Kaenel <
Peter.vonKaenel_at_harmonicinc.com> wrote:

>
>
> Hi,
>
>
>
> I have a very simple nightly build script that performs an update, rebuilds
> everything, and then emails out a report with the build results. This runs
> every night which is a bit annoying if the project has not been updated. Is
> there way to build a script that only performs the build and emails the
> result if there has been an update? I did a quick check on svn return
> codes, and could not find anything useful. Any guidance would be
> appreciated.
>

Echoing what others have said, you could potentially use a continuous build
tool like CruiseControl or Hudson. Or even you could just use "svnversion"
after each svn update and see if there is any change.

Having said that, I think running the build nightly (even if nothing
changes) is not a bad practice. You could potentially build incrementally
all day and at night do a clean build for example..

regards,
-Hari

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1060663

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-28 00:02:33 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.