hardcode fix?
This commit is contained in:
parent
903c300018
commit
4366ce76f7
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue