diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-12 10:51:31 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-12 10:51:31 +0300 |
commit | 319704451233f4abfbb0e4bcc9bb3e0a756f5eb1 (patch) | |
tree | 84bf4724b4079e05f6230ca4dcc88f9f41ed8532 /app/services/test_hook_service.rb | |
parent | 31bcd04711d448c016506897b8431273e3454faa (diff) |
Refactor push data builder. Moved it to separate class
Also execute GitLab CI on creating tag via UI
Diffstat (limited to 'app/services/test_hook_service.rb')
-rw-r--r-- | app/services/test_hook_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/test_hook_service.rb b/app/services/test_hook_service.rb index 17d86a7a274..3c03aeaaf66 100644 --- a/app/services/test_hook_service.rb +++ b/app/services/test_hook_service.rb @@ -1,6 +1,6 @@ class TestHookService def execute(hook, current_user) - data = GitPushService.new.sample_data(hook.project, current_user) + data = Gitlab::PushDataBuilder.build(hook.project, current_user) hook.execute(data) end end |