视觉SVN的Hudson插件 [英] Hudson plugins for visual svn

查看:80
本文介绍了视觉SVN的Hudson插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows Server 2008上设置了一个Hudson构建服务器.我们希望能够提交到存储库,并且在提交成功之后,我们希望Visual SVN服务器向Hudson构建服务器发送消息或触发器.让它知道需要执行构建.我们希望仅当有人进行提交时才构建它,所以我们不想因为不需要它而不断轮询svn.

I have a hudson build server set up on a windows server 2008. We want to be able to commit to a repository and after the commit succeeds we want visual svn server to send a message or a trigger to the hudson build server to let it know it needs to execute a build. We want it to build only when someone does a commit so we don't want to poll svn constantly because its not necessary.

是否存在用于可视化svn的插件,该插件可以自动将消息发送给hudson,或者有没有使用wget的更好的方法?我曾尝试在Visual svn服务器的post commit钩子中的hudson build url上使用wget,但我意识到post commit钩子只能为整个存储库设置,而不能为visual svn服务器中的单个项目设置,所以如果我们对存储库中其他项目的小改动,即使与hudosn链接的项目中未发生任何更改,它也会告诉hudson它需要构建...

Is there a plugin for visual svn that can automatically send a message to hudson or is there a better way of doing this without using wget? I've tried using wget on the hudson build url in the post commit hook of visual svn server but I realized that the post commit hooks can only be set for the entire repository and not individual projects in visual svn server, so if we made a small change to a different project in the repository its going to tell hudson it needs to build even though no changes have occurred in the project that is linked with hudosn...

推荐答案

让哈德森想出一个解决办法. Hudson可以轮询存储库(仅项目的URL),以查找是否存在更改,并仅在检测到更改时进行构建.

How about let Hudson figure that one out. Hudson can poll the repository (only the URL of your project) to find out if there are changes and build only if changes are detected.

这篇关于视觉SVN的Hudson插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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