in reply to Perlish alternative to CruiseControl (automated builds)?
Run from cron on a detached screen. Which means you can join the screen (screen -r cruise_control) if you ever want to watch the build process. Otherwise the screen exits when the build is finished.#!/bin/bash #assume we call this program /bin/cruise_control error_file=/tmp/make.$$ cd /your/project/path make ${ARGS} 2> $error_file || { cat $error_file | /bin/mail -s "project build error" you@yout.com }
01 * * * Mon-Fri root /usr/bin/screen -mdS cruise_control /bin/cruise_ +control
|
|---|