albanpeignier / cruisecontrolrb-campfire_notifier
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Dec 26 02:33:20 -0800 2009 | |
| |
README.rdoc | Sat Dec 26 11:02:05 -0800 2009 | |
| |
Rakefile.rb | Sat Dec 26 02:33:20 -0800 2009 | |
| |
campfire_notifier.rb | Tue Jan 05 05:55:21 -0800 2010 | |
| |
test/ | Tue Jan 05 05:55:21 -0800 2010 |
README.rdoc
CampFire Notifier
Make status available on Campfire…
Install
gem install broach
On debian system, broach requires:
sudo apt-get install ruby-dev libopenssl-ruby
Where you set your $CRUISE_HOME to be, usually ~/.cruise, there will be a builder_plugins folder. I have it setup to where I clone this plugin to my $CRUISE_HOME folder and create a symlink from inside the builder_plugins folder into the cruisecontrolrb-campfire-notifier folder.
~/.cruise
builder_plugins/
campfire_notifier.rb -> ~/.cruise/cruisecontrolrb-campfire_notifier/campfire_notifier.rb
cruisecontrolrb-campfire_notifier/
README.rdoc
campfire_notifier.rb
data.version
projects/
site.css
site_config.rb
Configuration
Inside your projects folder, you’ll have each project folder, and inside there you’ll have a cruise_config.rb file:
Project.configure do |project|
project.campfire_notifier.account = 'ccontrol'
project.campfire_notifier.token = 'secret'
project.campfire_notifier.room = 'Builds'
# Optional:
project.campfire_notifier.ssl = true
project.campfire_notifier.trac_url = '***/trac/***/changeset'
project.campfire_notifier.broken_image = 'http://***/sad.png'
project.campfire_notifier.fixed_image = 'http://***/happy.png'
project.campfire_notifier.only_failed_builds = true
end
Tests
gem install mocha gem install shoulda rake
Test Coverage
gem install rcov rake rcov
The Rakefile will check for all 3 required gems (broach, mocha, and shoulda) before running the tests.
