如何在Hudson的POLL SCM中过滤SVN分支?
我们在托管多个项目的 SVN 存储库上使用 Hudson。即使没有更改任何文件,其中一个项目也需要很长时间才能构建。现在,Hudson 的“Poll SVN”检测到 subversion 存储库已更改,并将尝试构建项目,即使该更改位于不同的项目中。
有没有办法设置“轮询SCM”只响应某个分支的更改?
We're using Hudson on an SVN repository that hosts a number of projects. One of these projects takes a long time to build, even if no files were changed. Right now Hudson's "Poll SVN" detects that the subversion repository has changed and will try to build the project, even if that change was in a different project.
Is there a way to set up "Poll SCM" to only respond to changes in a certain branch?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如何配置项目的存储库 URL (http://subversion. server/svn/project/trunk)还是存储库的主路径(http://subversion.server/svn/project/trunk)?服务器/svn)?
如果您的项目由分布在存储库中的不同模块组成,则需要通过添加更多 SVN 位置来单独配置每个位置。
How do you configure the Repository URL of the project (http://subversion.server/svn/project/trunk) or is it the main path of your repository (http://subversion.server/svn)?
If your Project consists of different modules that are spread out across the repository, you need to configure every location individually by adding more SVN locations.
如果您的存储库如下所示:
然后像这样设置 Hudson:
存储库 URL:
svn://svn-server/repo/trunk/very-big-project
如果项目是独立的(并且不'不需要分支和标记在一起)为每个项目设置单独的主干可能更有意义:
那么 Hudson 将是
存储库 URL:
svn://svn-server/repo/very-big-project/trunk< /代码>
If your repository looks like this:
Then set Hudson up like this:
Repository URL:
svn://svn-server/repo/trunk/very-big-project
If the projects are independent (and don't need to be branched and tagged together) it might make more sense to have separate trunks for each project:
Then Hudson would be
Repository URL:
svn://svn-server/repo/very-big-project/trunk