View Single Post
  #2  
Old 05-08-2003, 03:54 PM
pjaquiery pjaquiery is online now
Registered User
 
Join Date: 01-19-2003
Location: Dunedin, New Zealand
Posts: 114
In a similar situation I throw an exception that is handled by the "Failure Steps" processing. Add a script step to do the trick:

for VBScript:
Err.Raise 1, Step.Name, "Forcing build failure..."

for JScript:
throw "failure"

(with thanks for telling me how!)
Reply With Quote