[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: Peter von Kaenel <Peter.vonKaenel_at_harmonicinc.com>
Date: Wed, 28 Jan 2009 06:55:25 -0800

Thanks a lot for all of the suggestions, the svnversion solution seems
to have done the trick.






From: DW Dennis Wheeler [mailto:dwheeler_at_ag.com]
Sent: Tuesday, January 27, 2009 4:31 PM
To: Peter von Kaenel
Cc: users_at_subversion.tigris.org
Subject: RE: Automated nightly build ... only when updated


capture the output of 'svnversion -c' before and after your 'svn update'

if they are the same, then no need to build.



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




        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.





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