how to configure svn Task in CruiseControl.net to detect subversion external changes

本小妞迷上赌 提交于 2019-12-04 10:35:54

In CruiseControl.NET 1.4 there is a few new flags for the subversion source control block, one of them is CheckExternals set this to true in your config and any modifications in your externals should trigger a build.

<checkExternals>True</checkExternals>
<checkExternalsRecursive>True</checkExternalsRecursive>

I just setup a polling interval to check for mods - using the triggers node in ccnet.config it is an intervalTrigger. I also tell it to build only if modifications exists (the svn source changed) using the IfModificationExists attribute (which is the default)

You can set that interval pretty low if you want but I am not sure of a way to push a notification out of SVN that ccnet picks up.

Thanks Alex for the answer.

we also started using Relative external URL which is not working with CCNET 1.4 version,

it is failing when it tries to get the list of modifications.

and also i can see one other issue with this CheckExternals code.

(ie) when the externals are configured from different svn repositories.

and the external library is only changed, then also the history command will fail.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!