从 Visual svn 触发 teamcity 构建服务器中的构建
当有人在 Visual svn 上提交到存储库时,有没有办法通知 teamcity?这样,每次有人提交到存储库时,teamcity 中的构建都会立即触发,而开发人员无需等待轮询在其设定的时间间隔内启动。
Is there a way to notify teamcity when ever someone does a commit to a repository on visual svn? This is so every time someone commits to the repository a build in teamcity will trigger immediately without the developer having to wait for polling to kick in on its set time interval.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您也许可以使用 Subversion 挂钩来实现这一目标,但这真的值得吗?您可以将 TeamCity 服务器设置为每 10 秒轮询一次,这对 SVN 存储库的性能影响不大,而且对于开发人员的等待来说可能也没什么影响。 (我的意思是,你的构建需要多长时间?)
You could probably do something using Subversion hooks to achieve that, but is it really worthwhile? You could set your TeamCity server to poll every 10 seconds, which is nothing in terms of a performance hit to the SVN repository and probably nothing much in terms of the wait for developers. (I mean, how long does your build take?)