从Subversion标记自动化构建 [英] Automating builds from subversion tags

查看:79
本文介绍了从Subversion标记自动化构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使工程组的构建过程自动化.作为这种自动化的一部分,我正在努力达到以下目的:应用遵循模式的特定标签的行为将启动一个自动化过程,该过程将执行以下操作:

I'm trying to automate the build process for engineering group. As part of that automation, I'm trying to get to a point where the act of applying a specific tag that adheres to a pattern will kick off an automated process that will do the following:

  • 查看源代码
  • 从模板创建构建脚本
  • 构建项目

我敢肯定我可以通过Subversion的钩子来做到这一点,但是我试图找出一种方法来解决Subversion钩子之外的问题.

I'm pretty certain I could do this with a post-hook in subversion, but I'm trying to figure out a way to do this with something other than a subversion hook.

  • 监视Subversion存储库中的标签目录以启动我的工作流程是否有意义?
  • 是否有任何像样的工具可以帮助您解决此问题(如果可能,.NET会很棒).
  • 我最好只是编写一个引擎来做到这一点吗?

我的偏好:

  • 完成全部或部分操作的现有产品
  • 如果需要进行开发工作,则最好使用.NET
  • 可与Windows一起使用(我们有一个基于Linux的存储库,但所有构建都在Windows上进行)

推荐答案

我喜欢哈德森-容易设置并使用SVN开箱即用.

I like hudson - EASY to set up and works out of the box with SVN.

您可以将其配置为基于每次提交.

You can configure it to build on every commit.

我下载了它,并在一天之内开始使用它进行构建.它经过了很多调整,但我会推荐给任何人.

I downloaded it and got started building with it within a day. It has gone through a lot of tweaks, but I would recommend it to anyone.

我也使用了巡航控制系统,但对此并不满意.除了跨平台问题外,我没有其他具体原因.

I have also used cruise control but am not as happy with that. I don't have any specific reasons other than cross-platform issue.

编辑

我最近在hudson构建服务器上添加了一个作业,用于监听google/gmail jabber聊天.我可以使用这种机制将常规"构建升级"为发行版本.我只是建立了一个新工作,该工作执行了将私有版本升级/发布到候选发布版本中所必需的步骤.

I recently added a job on my hudson build server that listens for a google/gmail jabber chat. I can "promote" a "regular" build to a release build with this mechanism. I just set up a new job that does the steps necessary to promote/publish a private build into a release candidate.

这篇关于从Subversion标记自动化构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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