kubitron / redmine_git_hosting

A ChiliProject/Redmine plugin which makes configuring your own git hosting easy.
78 stars 15 forks source link

[FEATURE] Post-Receive Hook Modification #45

Closed macgngsta closed 12 years ago

macgngsta commented 12 years ago

When attempting to change the post-receive hook i get the following error message: "post-receive" is alreay present but it's not ours!

My guess from reading the issues in eric's and here is that this is by design, probably doing some md5 check to see if the hook is the correct one.

I would like to keep the same hook, but at the end of the hook I want to fire off a call to Jenkins to kick off a build. I've searched a bunch of other places, is there some other way to do this? or is there some way to bypass this checksum check?

kubitron commented 12 years ago

Ok. Try the latest master branch. If you go to the settings page for a repository, it provides the ability to add a post-receive url which posts a json description of the change.