使用CruiseControl .NET和Subversion处理svn锁定/清理 [英] Handling svn locks / cleanup when using CruiseControl .NET and Subversion

查看:130
本文介绍了使用CruiseControl .NET和Subversion处理svn锁定/清理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用带有Subversion源代码控制插件的CruiseControl .NET自动构建我们的项目。

I am using CruiseControl .NET with the Subversion source control plugin to automatically build our project.

某些项目会自动检查修改,但有时会检查失败,并且CruiseControl .NET将项目标记为异常:

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)

此后,我必须手动登录服务器并在文件夹上进行svn清理,然后项目才能再次生成。有解决方法吗?

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?

推荐答案

新的Cruise Control.Net 1.4.4服务器在Subversion源上具有两个附加属性。控制块。

The new Cruise Control.Net 1.4.4 server has two additional properties on the Subversion Source Control Block.

请参见 CCNET文档-Subversion源代码控制块

cleanUp和还原属性可以满足您的要求。

The cleanUp and revert properties does what you want.

这篇关于使用CruiseControl .NET和Subversion处理svn锁定/清理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆