I am using CruiseControl .NET with the Subversion source control plugin to automatically build our project.
Some of the projects are automatically checking for modifications, but occasionally the check fails and CruiseControl .NET marks the project with an "Exception":
ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: Working copy 'xxFilename' locked svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
After this I must manually log into the server and do a svn cleanup on the folder before the project will build again. Is there a workaround for this?
The new Cruise Control.Net 1.4.4 server has two additional properties on the Subversion Source Control Block.
See CCNET Documentation - Subversion Source Control Block
The cleanUp and revert properties does what you want.
Kinda of a kludge but could you create a project that runs on demand and does an svn cleanup?
I know you can in the Java version of CruiseControl so I assume you can do the same w/CC.NET.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With