Method: Janky::BuildRequest.handle
- Defined in:
- lib/janky/build_request.rb
.handle(repo_uri, branch_name, pusher, commit, compare, room_id) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/janky/build_request.rb', line 3 def self.handle(repo_uri, branch_name, pusher, commit, compare, room_id) repos = Repository.find_all_by_uri(repo_uri) repos.each do |repo| begin new(repo, branch_name, pusher, commit, compare, room_id).handle rescue Janky::Error => boom Exception.report(boom, :repo => repo.name) end end repos.size end |