Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perlish alternative to CruiseControl (automated builds)?

by mhearse (Chaplain)
on May 27, 2008 at 23:47 UTC ( [id://688774]=note: print w/replies, xml ) Need Help??


in reply to Perlish alternative to CruiseControl (automated builds)?

#!/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 }
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.
01 * * * Mon-Fri root /usr/bin/screen -mdS cruise_control /bin/cruise_ +control

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://688774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found