debian-mirror-gitlab/app/services/ci/test_hook_service.rb
2015-09-25 12:07:36 +05:30

7 lines
165 B
Ruby

module Ci
class TestHookService
def execute(hook, current_user)
Ci::WebHookService.new.build_end(hook.project.commits.last.last_build)
end
end
end