Personal tools
You are here: Home CVS/Bugzilla/Shell Help Documentation Setting up a Nightly Build
Document Actions

Setting up a Nightly Build

by admin last modified 2003-03-27 03:15 PM

Setting up a Nightly Build

It is possible to setup a nightly build in your server shell account. To do this you should create a script that checks out your source code (remember that on the server you can simply use cvs -d /cvs/able rather than pserver) and builds and tests it in a sandbox. The script for the fluid project is located in /home/fluid/fluidnightlybuild.py. It is in Python and may be copied for your use.

Once you have an automated build script you need to tell the server it needs to be run. You do this with the crontab command. Use crontab -e to edit your account's jobs. and crontab -l to list your current jobs'. For the Fluid project nightly build our file looks like:

   {fluid.cs.cmu.edu:~} crontab -l
   # DO NOT EDIT THIS FILE - edit the master and reinstall.
   # (/tmp/crontab.27992 installed on Fri Mar 14 22:45:19 2003)
   # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
   # At 5 min after midnight do the Fluid Nightly Build
   5 0 * * *       /bin/tcsh -c $HOME/fluidnightlybuild.py
   {fluid.cs.cmu.edu:~}

Read the crontab documentation using man crontab at the shell prompt.

« January 2009 »
Su Mo Tu We Th Fr Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
 

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: