Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-23-2006, 01:50 PM
jnapier jnapier is online now
Registered User
 
Join Date: 07-29-2003
Posts: 32
Continuous Failure Loop

I ran into a problem with the failure steps of one of my build scripts. The first Filure step calls a Global Sub Routine called Rollback Vs.Net solution to Latest Backup. Now, if one of the steps of this sub routine fails then the Failure Steps start over and I get into a continuous loop that never ends.

What is the best way to prevent this?

I have tried checking Continue Building and that has no effect. I have tried to specify a build failure step and that has no effect either.
Reply With Quote
  #2  
Old 01-23-2006, 02:58 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Either uncheck the 'Build failure steps' checkbox on the global subroutine steps that get called from failure steps or set the failure subroutine to call on those steps to a failure subroutine that doesn't include the same steps that are called for other steps that might fail. The second method worked in my tests; please ZIP and post/send a reproducible test case for "I have tried to specify a build failure step and that has no effect either."
Reply With Quote
  #3  
Old 01-23-2006, 03:51 PM
jnapier jnapier is online now
Registered User
 
Join Date: 07-29-2003
Posts: 32
Sounds like you are saying that Failure Steps can only call global sub routines that have the "Build Failure Steps" checkbox selected. Is that the case?
Reply With Quote
  #4  
Old 01-23-2006, 04:27 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
No, it can work either way, but if it is checked, you'll need to ensure that a failing failure step doesn't get called again if the global subroutine step called from a failure step fails.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:54 PM.


Copyright © 1999-2023 Kinook Software, Inc.