Usually a child process inherits the whole environment of its parent. The
hook you are running is a child process spawned from a parent, that spawns
another child process. Since parents do not inherit from childs you won't
get this to work.
You only chance is reading the commit hash and thus ex
Yes, that is how I added a custom hook. My problem was I needed to pass the
username to the custom hook which is needed by another component. What I
did which I think is very ugly way is on the gitlab-shell custom script,
the one which runs the custom hooks, I write the username in a file while
Hi Austin. Here's how to configure custom git
hooks http://doc.gitlab.com/ce/hooks/custom_hooks.html
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to gitlabhq+unsubscr
I need to add an environment variable to my post-receive custom hook.
Please help.
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to gitlabhq+unsubscr...@googlegroups.c