View Full Version : Continuous Failure Loop
jnapier
01-23-2006, 02:50 PM
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.
kinook
01-23-2006, 03:58 PM
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."
jnapier
01-23-2006, 04:51 PM
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?
kinook
01-23-2006, 05:27 PM
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.
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.