I am trying to create a new environment(build) for using it with hudson...
Am doing this because i didn't want to mix up my test databases with hudson test database..
Thanks in advance..
I am trying to create a new environment(build) for using it with hudson...
Am doing this because i didn't want to mix up my test databases with hudson test database..
Thanks in advance..
Assuming you want create the hudson
environment.
config/environments/hudson.rb
. You can start by cloning an existing one, for instance config/environments/test.rb
.config/database.yml
for your environment.Now you can start the server
ruby script/server -e hudson
Run the console
ruby script/server hudson
And so on.
Create a file config/environments/build.rb
which will contain the options specific to your environment.
Add your new environment's database credentials in config/database.yml
.
Rock and roll!