I use GitLab Community Edition 8.2 and want to add post-commit hook.
I created file path_to_project.git/custom_hooks/post-commit with rights
$ ls -l1 custom_hooks/post-commit
-rwxr-xr-x 1 git git 45 Dec 14 21:31 custom_hooks/post-commit
and content
#!/bin/bash
echo "test custom" > /tmp/hook
as described here: http://doc.gitlab.com/ce/hooks/custom_hooks.html
But it not work (check by commiting via web interface). I tried also 'normal' git hook placement (project.git/hooks/post-commit), but it not work also.