Re: Build for each commit to svn
Mark Thias <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Paul, CC will execute only one project build at a time so if your project is building and someone subsequently commits, that change will not be incorporated until the next CC build cycle. Another important concept that might be interesting to you given the context of your question is the "quiet period". This is the time that CC waits after detecting an SVN change before launching the build. In other words, no SVN changes for N time before launching. This gives the developer time to commit all the necessary files before the build begins. Good luck with your integration efforts. Mark On Wed, Aug 12, 2009 at 1:55 PM, Niklas Nylund<[email protected]> wrote: > > On 12 aug 2009, at 19.26, Paul Grenyer wrote: > >> Hi >> >>> I am looking for a system that I could setup to do a build for each >>> commit to a SVN server, is there a way to do this with CruiseControl? >>> I've been reading through the documentation and if I haven't >>> misunderstood something this isn't possible. The <schedule> element >>> seems only to support a periodic trigger that whenever it happens >>> updates to the latest svn version and then does the build. Is this >>> correct? What happens if the schedule interval is so short that a new >>> commit is made while a build is being made? >> >> It is trivial to setup CruiseControl to trigger on an SVN checkin. >> > > What about my other questions, what happens if another commit > is done while CruiseControl has launched a build & test cycle for > the previous commit? > > Niklas > > >> -- >> Thanks >> Paul >> >> Paul Grenyer >> e: [email protected] >> w: http://www.marauder-consulting.co.uk >> b: paulgrenyer.blogspot.com >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and >> focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Cruisecontrol-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july