且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

有没有办法将 Hudson/Jenkins 配置文件保留在源代码管理中?

更新时间:2022-03-27 22:26:34

最有帮助的答案

有一个插件叫做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.

EDIT 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.