Adds sqlserver configuration for the CI server.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11201 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1257f1960f
commit
db26041f83
|
@ -55,6 +55,9 @@ namespace :ci do
|
||||||
when 'sqlite3'
|
when 'sqlite3'
|
||||||
dev_conf = { 'adapter' => 'sqlite3', 'database' => "db/#{dev_db_name}.sqlite3" }
|
dev_conf = { 'adapter' => 'sqlite3', 'database' => "db/#{dev_db_name}.sqlite3" }
|
||||||
test_conf = { 'adapter' => 'sqlite3', 'database' => "db/#{test_db_name}.sqlite3" }
|
test_conf = { 'adapter' => 'sqlite3', 'database' => "db/#{test_db_name}.sqlite3" }
|
||||||
|
when 'sqlserver'
|
||||||
|
dev_conf = { 'adapter' => 'sqlserver', 'database' => dev_db_name, 'host' => 'mssqlserver', 'port' => 1433, 'username' => 'jenkins', 'password' => 'jenkins' }
|
||||||
|
test_conf = { 'adapter' => 'sqlserver', 'database' => test_db_name, 'host' => 'mssqlserver', 'port' => 1433, 'username' => 'jenkins', 'password' => 'jenkins' }
|
||||||
else
|
else
|
||||||
raise "Unknown database"
|
raise "Unknown database"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue