diff options
author | gpongelli <gabriele.pongelli@gmail.com> | 2017-03-07 15:59:20 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-03-07 15:59:20 +0300 |
commit | 4bcd900f14336df6c661a5c26b111eb4f039b7eb (patch) | |
tree | d5b8edc610b7bf0f00276603471f37a56b8590f0 /app/services | |
parent | ac9d792946deb17a402646e5481087e4d92f88ad (diff) |
Moved call of SystemHooksService from UpdateMergeRequestsWorker to GitPushServic…
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/git_push_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/git_push_service.rb b/app/services/git_push_service.rb index dbe2fda27b5..bc7431c89a8 100644 --- a/app/services/git_push_service.rb +++ b/app/services/git_push_service.rb @@ -99,6 +99,8 @@ class GitPushService < BaseService UpdateMergeRequestsWorker .perform_async(@project.id, current_user.id, params[:oldrev], params[:newrev], params[:ref]) + SystemHookPushWorker.perform_async(build_push_data.dup, :push_hooks) + EventCreateService.new.push(@project, current_user, build_push_data) @project.execute_hooks(build_push_data.dup, :push_hooks) @project.execute_services(build_push_data.dup, :push_hooks) |