diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-05-24 16:13:51 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-05-31 15:17:49 +0300 |
commit | 161af17c1b69e7e00aefcd4f540a55755259ceda (patch) | |
tree | 6a2c94a350a2fa53e05f07927df543ed3ba1a7bc /app/services/git_push_service.rb | |
parent | 19ee16a0f85dd4bacddbd066237e62a1bbb7113a (diff) |
Introduce source to pipeline entity
Diffstat (limited to 'app/services/git_push_service.rb')
-rw-r--r-- | app/services/git_push_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/git_push_service.rb b/app/services/git_push_service.rb index d22236b961b..f080e6326a1 100644 --- a/app/services/git_push_service.rb +++ b/app/services/git_push_service.rb @@ -106,7 +106,7 @@ class GitPushService < BaseService 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) - Ci::CreatePipelineService.new(@project, current_user, build_push_data).execute + Ci::CreatePipelineService.new(@project, current_user, build_push_data).execute(:push) if push_remove_branch? AfterBranchDeleteService |