[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: Bob Archer <Bob.Archer_at_amsi.com>
Date: Tue, 27 Jan 2009 16:46:55 -0500

The easiest option would be to use something like Cruise Control.Net to
run your build script. You can tell it to not run if there have been no
changes since the last run.

 

For a standalone build script you should be able to parse the output of
the svn update command. If there was nothing updated you won't get any
files listed as updated.

 

Bob

 

 

________________________________

From: Peter von Kaenel [mailto:Peter.vonKaenel_at_harmonicinc.com]
Sent: Monday, January 19, 2009 7:11 AM
To: users_at_subversion.tigris.org
Subject: Automated nightly build ... only when updated

 

 

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.

 

Thanks,

Peter

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-27 23:36:45 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.