1

I'm looking to version and backup the task configurations and scripts in hudson now that we have more than one person editing them and this seems like a great job for git. I'll bet someone already has a plugin or something that will do this automagically. If not then would it work and or be ellegant to just run git init in the hudson config dir?

Arthur Ulfeldt
  • 90,827
  • 27
  • 201
  • 284
  • needs to deal with permissions: it would be great if the logged in user's name was on each change – Arthur Ulfeldt Dec 18 '10 at 01:56
  • You can also edit your question if you want to add additional information. No need to comment on your own question. – Kissaki Dec 18 '10 at 02:43
  • Have you looked at the Backup and Job Config History plugins? They don't do the git part, but at least seem to store some info about changes made and by whom. – Christopher Orr Dec 18 '10 at 10:04
  • duplicate: http://stackoverflow.com/questions/2087142/is-there-a-way-to-keep-hudson-configuration-files-in-source-control – William Leara Dec 18 '10 at 15:25

2 Answers2

1

There is a new plugin: SCM Sync configuration plugin. So far it only works with subversion, but the author wants to add other SCMs as well. Let him know, what you need. I don't know how easy it is to implement git support.

Peter Schuetze
  • 16,185
  • 4
  • 44
  • 58
0

You can use git in that directory just like in any other directory.

I doubt there’s a plugin for backing up configuration files on changes to git automatically.

Kissaki
  • 8,810
  • 5
  • 40
  • 42