版本控制Hudson设置的最佳做法 [英] Best practices for versioning Hudson settings

查看:173
本文介绍了版本控制Hudson设置的最佳做法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们经常在项目上使用Hudson持续集成服务器。但是Hudson似乎缺乏对作业配置的正确版本。

We're using Hudson continuous integration server frequently on projects. But Hudson seems lacking of proper versioning of the jobs configuration.

有几次,这导致了问题:有人改变或调整作业上的配置,工作已停止工作。

A few times, this has lead to problems: Somebody changes or tweaks the configuration on jobs and something that used to work stopped working.

我试图在我的本地Hudson服务器(在我的笔记本电脑上)进行版本控制作业。但这不是最佳的:1)它只为我。 2)我需要从中央构建服务器镜像作业 - 也可能需要修改它们在本地工作。 3)设置.gitignores文件忽略是很麻烦的。

I have tried to version-control jobs on my local Hudson server (on my laptop). But this is not optimal: 1) it's only for me. 2) i need to mirror jobs from a central build server – and may also need to modify them to work locally. 3) It's pretty cumbersome to setup .gitignores for files to ignore.

据我所知,Hudson没有办法查看作业的更改历史,插件也做。

As far as I know, there is no way in Hudson to view change history of jobs, and no plugin does it either.

此外,似乎没有办法导出/导入设置。

Also, there seems to be no way to export/import settings.

所以问题是:你跟踪变化吗?

So the question is: How do you keep track of changes? Both in jobs and in general setup of Hudson?

推荐答案

请参阅 HUDSON_HOME的哪个部分应该由源代码管理?

审核追踪插件可能有助于如果有人破坏配置,并且您遇到问题,请跟踪它。

The Audit Trail plugin might be useful to you too if people are breaking configurations and you're having trouble tracking it down.

这篇关于版本控制Hudson设置的最佳做法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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