有没有办法将Hudson/Jenkins配置文件保留在源代码管理中? [英] Is there a way to keep Hudson / Jenkins configuration files in source control?

查看:134
本文介绍了有没有办法将Hudson/Jenkins配置文件保留在源代码管理中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Hudson/Jenkins的新手,我想知道是否有一种方法可以将Hudson的配置文件检入到源代码管理中.

I am new to Hudson / Jenkins and was wondering if there is a way to check in Hudson's configuration files to source control.

理想情况下,我希望能够单击UI中的保存配置"按钮,并将Hudson配置文件签入源代码管理.

Ideally I want to be able to click some button in the UI that says 'save configuration' and have the Hudson configuration files checked in to source control.

推荐答案

最有用的答案

有一个名为 SCM Sync配置插件.

看看 filesystem-scm-plugin 来检测对xml文件的更改.您的第二部分是将更改提交到SVN.

Have a look at my answer to a similar question. The basic idea is to use the filesystem-scm-plugin to detect changes to the xml-files. Your second part would be committing the changes to SVN.

编辑:如果您找到确定更改用户的方法,请告诉我们.

If you find a way to determine the user for a change, let us know.

编辑2011-01-10 ,同时有一个新插件: SCM同步配置插件.目前,它仅适用于subversion和git,但计划支持更多存储库.我从0.0.3版本开始使用它,到目前为止效果很好.

EDIT 2011-01-10 Meanwhile there is a new plugin: SCM Sync configuration plugin. Currently it only works with subversion and git, but support for more repositories is planned. I am using it since version 0.0.3 and it worked good so far.

这篇关于有没有办法将Hudson/Jenkins配置文件保留在源代码管理中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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