gitlab-org--gitlab-foss/app/services/ci/test_hook_service.rb
2015-08-25 18:42:46 -07:00

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