Inform the kernel about project git address(part 2)

This commit is contained in:
Vladimir Sharshov 2012-08-09 18:11:20 +04:00
parent f4b3c53362
commit d195ef3aad
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class BuildServer
self.client.call('add_to_repo', name, repo_name) self.client.call('add_to_repo', name, repo_name)
end end
def self.add_build_list project_name, project_version, plname, arch, bplname, update_type, build_requires, id_web, include_repos, priority def self.add_build_list project_name, project_version, plname, arch, bplname, update_type, build_requires, id_web, include_repos, priority, git_project_path
include_repos_hash = {}.tap do |h| include_repos_hash = {}.tap do |h|
include_repos.each do |r| include_repos.each do |r|
repo = Repository.find r repo = Repository.find r
@ -85,7 +85,7 @@ class BuildServer
end end
end end
# raise include_repos_hash.inspect # raise include_repos_hash.inspect
self.client.call('add_build_list', project_name, project_version, plname, arch, bplname, update_type, build_requires, id_web, include_repos_hash, priority) self.client.call('add_build_list', project_name, project_version, plname, arch, bplname, update_type, build_requires, id_web, include_repos_hash, priority, git_project_path)
end end
def self.delete_build_list idlist def self.delete_build_list idlist