Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perlish alternative to CruiseControl (automated builds)?

by mhearse (Chaplain)
on May 27, 2008 at 23:47 UTC ( #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
Node Status?
node history
Node Type: note [id://688774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2019-06-18 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (82 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!