[refs #2109] Change XML-RPC call for build list

This commit is contained in:
konstantin.grabar 2011-10-25 19:17:06 +04:00
parent d4e526a3d0
commit d4d43f3be1
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class BuildList < ActiveRecord::Base
def place_build def place_build
#XML-RPC params: project_name, project_version, plname, arch, bplname, update_type, build_requires, id_web #XML-RPC params: project_name, project_version, plname, arch, bplname, update_type, build_requires, id_web
self.status = BuildServer.add_build_list project.name, project_version, pl.unixname, arch.name, bpl.unixname, update_type, build_requires, id self.status = BuildServer.add_build_list project.name, project_version, pl.unixname, arch.name, (pl_id == bpl_id ? '' : bpl.unixname), update_type, build_requires, id
self.status = BUILD_PENDING if self.status == 0 self.status = BUILD_PENDING if self.status == 0
save save
end end