Depends on the source control systen you are using but onfailure you could 
always do an UPDATE to the source directory using the current rev - 1, then re 
build.
 
we use svn so I always run 'svnrevision' on the sources I just checked out at 
the start to get the current revision and store it in a varaible to be used at 
a later time. You can store the revision in a txt file to be read when you want 
to re-build using the previous set of sources.
 
Roger

--- On Thu, 4/9/09, amar <[email protected]> wrote:


From: amar <[email protected]>
Subject: [ccnet-user] Revert back To successful build
To: "ccnet-user" <[email protected]>
Date: Thursday, April 9, 2009, 4:51 AM



Hi all,
         When build fails due to some reason i want revert back to
previous build so in the server there will be always stable code.How
to do this ?


Thanks,
Amar



      

Reply via email to