The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to add hooks to a managed Git repository?

Fred Hoare
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 14, 2011

We'd like to add some server side hooks to a git repository. Is it possible to do this with a Fisheye managed git repository?

Thanks

Fred

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Douglas Fabretti
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 10, 2012

Hi Fred.

You can do it by locating your managed-repos (check your <FISHEYE_INST>/config.xml:

<repository-management repositories-root="/opt/atlassian/fecru/inst/managed-repos"/>

Inside that folder all managed repositories are located then you can add the hooks you want:

root@webserver64:/opt/atlassian/fecru/inst/managed-repos/git.git# ls
branches config description HEAD hooks info objects refs

Please let me know if that is what you are looking for.

Cheers,
Douglas Fabretti
Atlassian Suport

TAGS
AUG Leaders

Atlassian Community Events