summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-19 13:39:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-19 13:39:53 +0000
commitdb26041f831c134f3de4def1a60c9f397618894a (patch)
tree4569708e369f97e436e0fd3aa83ddf5e2d414d68 /lib/tasks
parent1257f1960ff6d59b2f3f7890777d3481f1800430 (diff)
downloadredmine-db26041f831c134f3de4def1a60c9f397618894a.tar.gz
redmine-db26041f831c134f3de4def1a60c9f397618894a.zip
Adds sqlserver configuration for the CI server.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11201 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/ci.rake3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index 9bcfb502b..aa464fd66 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -55,6 +55,9 @@ namespace :ci do
when 'sqlite3'
dev_conf = { 'adapter' => 'sqlite3', 'database' => "db/#{dev_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
raise "Unknown database"
end