hardcode fix?
This commit is contained in:
parent
903c300018
commit
4366ce76f7
|
@ -68,7 +68,7 @@ class Project < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def xml_rpc_destroy
|
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
|
if result == BuildServer::SUCCESS
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
|
|
|
@ -57,7 +57,7 @@ class BuildServer
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.create_project name, platform_name, repo_name
|
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
|
end
|
||||||
|
|
||||||
def self.delete_project name, platform_name
|
def self.delete_project name, platform_name
|
||||||
|
|
Loading…
Reference in New Issue