- megadebug

This commit is contained in:
Alexey Nayden 2011-04-22 19:13:26 +04:00
parent d924e5e321
commit ba81ac0cc3
1 changed files with 1 additions and 1 deletions

View File

@ -85,10 +85,10 @@ class BuildList < ActiveRecord::Base
private private
def set_default_status def set_default_status
self.status = WAITING_FOR_RESPONSE unless self.status.present? self.status = WAITING_FOR_RESPONSE unless self.status.present?
return true
end end
def place_build def place_build
raise 'fail'
RAILS_DEFAULT_LOGGER.fatal "place build" RAILS_DEFAULT_LOGGER.fatal "place build"
self.status = BuildServer.add_build_list project.name, branch_name, project.platform.name, arch.name self.status = BuildServer.add_build_list project.name, branch_name, project.platform.name, arch.name
RAILS_DEFAULT_LOGGER.fatal "status = #{self.status}" RAILS_DEFAULT_LOGGER.fatal "status = #{self.status}"