Skip to content
Cruisecontrol.rb plugin to deploy your app using capistrano when the build is succesful
Pull request Compare This branch is even with aentos:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Cruisecontrol.rb plugin cap_deployer

This plugin will deploy your app using capistrano.

How it works

If the build fails the app won’t de be deployed and if it passes it will try to deploy to a list of stages you can supply.
It will send an email notifying if it was successful or not and a special artifact with the capistrano output will be created.


Copy the cap_deployer.rb file to the lib/builder_plugins/ directory.


In your project’s cruise_config.rb file:

Set the email addresses which should be notified about deployment:

project.cap_deployer.emails = ['']

Pass an array of stages you want to deploy to

project.cap_deployer.stages = ['staging','production']


Important: this plugin assumes you are using ssh keys for deployment


Something went wrong with that request. Please try again.