hardcode fix?

This commit is contained in:
Alexey Nayden 2011-04-14 15:57:52 +04:00
parent 903c300018
commit 4366ce76f7
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class Project < ActiveRecord::Base
end
def xml_rpc_destroy
result = BuildServer.delete_project unixname, platform.unixname, repository.unixname
result = BuildServer.delete_project unixname, repository.platform.unixname, repository.unixname
if result == BuildServer::SUCCESS
return true
else

View File

@ -57,7 +57,7 @@ class BuildServer
end
def self.create_project name, platform_name, repo_name
self.client.call('create_project', name, platform_name, repo_name)
self.client.call('create_project', name, platform_name, repo_name + '/release')
end
def self.delete_project name, platform_name