[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: Jorge M <jmedina_at_e-dialog.com>
Date: Tue, 27 Jan 2009 17:49:55 -0500

If you want a more robust solution than a script, you may want to take a
look at Hudson.
 
https://hudson.dev.java.net/
 
-Jorge

________________________________

From: Bob Archer [mailto:Bob.Archer_at_amsi.com]
Sent: Tuesday, January 27, 2009 4:47 PM
To: Peter von Kaenel; users_at_subversion.tigris.org
Subject: RE: Automated nightly build ... only when updated

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=1060628

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