Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6553601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:36:04+00:00 2026-05-25T12:36:04+00:00

I just setup cruise control on my server for my projects . But now

  • 0

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 .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:36:05+00:00Added an answer on May 25, 2026 at 12:36 pm

    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

    https://vparihar01@github.com/webonise/cruisecontrol.git 
    # in mean time I add some more plugins and features . Also add the wiki for proper step how to setup cruise control server and how make it customize as per your need
    

    Now we had to add these two lines inside the project configuration file /.cruise/projects/your_project/cruise_config.rb

    project.cap_deployer.emails = ['asda@fsdfsfsdfs.com'] #here add the email to notify given user if deployment is successful or not 
    project.cap_deployer.stages = ['staging','production'] #here add the where you want to deploy test , staging or production
    

    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

      #!/bin/bash
      # conditionally install project gems from Gemfile
      bundle check || bundle install || exit 1
      cap deploy
    

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just set up cruise control.net on our build server, and I am
We have just setup our hudson server to build .NET projects which seems to
I have just setup a OpenBSD little personal development server running PHP with an
I am new to Version Control. Just setup an SVN Server on my Ubuntu.
I have already setup Cruise Control build server and it is working fine. It's
I just setup AnkhSVN after having used TFS till now What in AnkhSVN is
I have an MVC 1.0 app just setup but it only shows the Index.aspx
I just got setup on my first Windows Server 2008 / IIS7.5 server for
I just setup a LAMP development server and am still trouble-shooting some things. The
I just setup flowplayer to play rtmp streams, but for some reason I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.