Browse files

Updated jenkins build script to use test RAILS_ENV when setting up DB.

  • Loading branch information...
1 parent 35cf22e commit 1c423511e71eb448e1c95bfa3408a43d656b371b @heathd heathd committed Apr 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1
@@ -1,3 +1,4 @@
#!/bin/bash -x
bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment
-bundle exec rake db:create db:migrate db:test:prepare && RAILS_ENV=test bundle exec rake --trace
+RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load
+RAILS_ENV=test bundle exec rake --trace

0 comments on commit 1c42351

Please sign in to comment.