- megadebug
This commit is contained in:
parent
d924e5e321
commit
ba81ac0cc3
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue