Re: Losing Modifications during Build?

Glenn Boysko <[email protected]> Fri, 24 Feb 2012 09:46:38 -0500
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <83BDAC2C1FD82D4F80A40EA9ACB9DCA5336C40CB83@VMBX134.ihostexchange.net>
Julian:

Thanks for the reply. I understand your comment about NTP and time synchronization, but how does SVNBootstrapper affect this? I can load a file in during bootstrap (like build.xml), but I wasn't going to bootstrap all files. Should I?

I already had localWorkingCopy set on the SVNBootstrapper element. Also, I had localWorkingCopy set on the svn element inside ModificationSet. ModificationSet doesn't take a localWorkingCopy attribute.

I think I have a more basic question. Should I have a call to update my entire code base as part of the Ant script which is invoked from the <ant> element in <schedule>? I have been doing that and now I'm wondering if that is wrong.

One final question: what is the expected behavior if checkins occur after the build process has started? Start another build immediately afterwards (assuming it has satisfied the quietperiod)? That seems like the only reasonable thing to do. Otherwise, you wait for hold long? Until another checkin occurs? If CC starts to look for checkins AFTER the build has finished, clearly it won't find the checkin that occurred during the build.

Thanks,
Glenn

From: Julian Simpson [mailto:[email protected]]
Sent: Friday, February 24, 2012 3:27 AM
To: [email protected]
Subject: Re: [Cruisecontrol-user] Losing Modifications during Build?


On 21 February 2012 23:24, Glenn Boysko <[email protected]<mailto:[email protected]>> wrote:
Hello CC Users:

I am encountering on occasions the loss of a triggered build from a modification. I can't tell whether I am not correctly configuring my project or it is an inherent limitation in CruiseControl.

I am using Subversion for revision control. I have a schedule interval of 10 minutes and a quiet period of 5 minutes.

It appears that if a checkin occurs while a build is in progress, CruiseControl seems to "lose" it. It doesn't trigger a follow-up build. Nor does it list the checkin on the set of modified files in the subsequent build that is triggered.

Has anyone seen this behavior before?

Pretty sure I have.

Biggest thing to check out is time synch.  Are both the SVN server and CruiseControl using the same time?  You want NTP running on both machines.

Also, use the SVNBootstrapper

And, make sure localWorkingCopy is set on both the Bootstrapper and the ModificationSet.

Julian.

Is CruiseControl working as expected?

I have buildAfterFailed set to false for the project (with quietPeriod on modificationset set to "300" and interval on schedule set to "600").

Regards,
Glenn

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Cruisecontrol-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user



--
Julian Simpson
The Build Doctor Ltd.
http://www.build-doctor.com
[email protected]<mailto:[email protected]>
(+44) 207 183 0323

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user