diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-23 08:45:04 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-23 08:46:27 +0100 |
commit | 9a863145dd8c33154efe6e955952e96e3cae0b84 (patch) | |
tree | 59df96b3a5ab247db9bc52dba8e431c13fb3481f | |
parent | 926bef44f0c14a2ef22406c3fe885cd0be2903ae (diff) | |
download | gitlab-shell-9a863145dd8c33154efe6e955952e96e3cae0b84.tar.gz |
Return true from GitlabPostReceive to ensure custom hooks run.
-rw-r--r-- | lib/gitlab_post_receive.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab_post_receive.rb b/lib/gitlab_post_receive.rb index 154e045..d4aff3d 100644 --- a/lib/gitlab_post_receive.rb +++ b/lib/gitlab_post_receive.rb @@ -16,7 +16,7 @@ class GitlabPostReceive # get value from it ENV['GL_ID'] = nil - update_redis + success = update_redis begin broadcast_message = GitlabNet.new.broadcast_message @@ -28,6 +28,8 @@ class GitlabPostReceive rescue GitlabNet::ApiUnreachableError nil end + + success end protected |