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

View File

@ -90,7 +90,7 @@ class BuildList < ActiveRecord::Base
def 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.repository.platform.name, arch.name
RAILS_DEFAULT_LOGGER.fatal "status = #{self.status}"
self.status = BUILD_PENDING if self.status == 0
save