I just setup cruise control on my server for my projects .
But now i am little bit confused how these rake task and capistrano work .
I tried lots of settings but still no success . If somebody help how to run all rake task and after successful build how can i deploy my application .
I just setup cruise control on my server for my projects . But now
Share
Ok guys thanks after looking into code i find out that we can deploy -:
1.Either you can use ccrb_cap_deployer.rb plugin to do so , but it is little bit buggy so i made some changes in the path and pushed the code into git again here
Now we had to add these two lines inside the project configuration file /.cruise/projects/your_project/cruise_config.rb
Also this plugin only let deploy the code into respective servers when the build is successful . Cheers
2.Second way is to create one shell script named it as build_script.sh to this path /.cruise/projects/your_project/work/
After that add
lines into the build_script.sh and save , Then add project.build_command = ‘./build_script.sh’ inside the project configuration file /.cruise/projects/your_project/cruise_config.rb
Now everthing done and works fine but in second method the problem is that if the build fails as well then also your code is deployed to server . SO i think that is a bad approach .
Thanks for help everyone.