Skip to content
cpjolicoeur edited this page Sep 13, 2010 · 27 revisions

As an example on how to use Cerberus, we will follow through the steps of using CI to build another one of my projects, BBRuby.

First we must install the gem.

$ sudo gem install cerberus

First off, let’s edit our Cerberus config file and set some defaults for all our projects

$ vim ~/.cerberus/config.yml

Personally, I want all my projects to send alerts via email and twitter, so this is what my config.yml looks like


publisher:
  active: mail twitter
  mail:
    address:  smtp.myserver.com
    port: 587
    domain: mydomain.com
    authentication: plain
    user_name: [email protected]
    password: mypassword
  twitter:
    login: twitter_login
    password: twitter_password

Next, we will add BBRuby to the Cerberus projects list

$ cerberus add git://github.com/cpjolicoeur/bb-ruby.git SCM=git [email protected]
Clone this wiki locally