No commit activity in last 3 years
No release in over 3 years
A simple daemon to report last build status of projects and activities from cruisecontrol. Inspired from https://github.com/andrewpbrett/cruisecontrolrb_to_hipchat but with support of more recent api and multiple projects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0

Runtime

~> 0.2.0
~> 1.2.0
~> 0.13.1
~> 1.6.2
 Project Readme

This is a little Sinatra app notifies Hipchat of any changes in the build status on your CruiseControl.rb install.

Heroku-ready! Just follow these steps:

Installation

Install as a gem

gem install cruisecontrolrb_to_hipchat

or add to your Gemfile

# Gemfile
gem "cruisecontrolrb_to_hipchat"

and run bundle install

or from source

git clone git@github.com:zumobi/cruisecontrolrb_to_hipchat.git
cd cruisecontrolrb_to_hipchat
bundle install
rake build

Configuration

Make sure to define the following environment variable as they are required in either you .profile or /etc/profile.d/cruisecontrolrc_to_hipchat.sh (for all users)

HIPCHAT_AUTH_TOKEN=your_auth_token
HIPCHAT_ROOM_ID=your_room_id
CC_URL=your_cruise_control_url

The following are optionals

Basic auth for your CruiseControlrb install (recommended):

CC_USERNAME=your_username
CC_PASSWORD=your_password
POLLING_INTERVAL							 # polling interval in minutes. defaults to 1 minute.
HIPCHAT_FROM=cruise-control    # who the messages are "from" in hipchat. defaults to 'cruise-control'		

Running

As this gem uses dante, options are best describes here but here are some very simple setup

Run in foreground and STDOUT output (to test most likely)

cruisecontrolrb_to_hipchat

Run in foreground with logs

cruisecontrolrb_to_hipchat -l /var/log/myapp.log

Run as a daemon with a pid file and logs

cruisecontrolrb_to_hipchat -d -P /var/run/myapp.pid -l /var/log/myapp.log