|
#1
|
|||
|
|||
Failure Steps are not being executed
I have a single failure step defined that will send an E-mail to the group when a build fails. I have tried numerous steps and can not get the Failed Steps to be executed when running from the Projects Steps tab.
If I go to the Failure Steps tab and then execute the step directly from there by selecting "Rebuild Selected" the E-mail will be sent no problem. I have the 'Build failure steps' checked but when I assign the Failure step specifically or leave it blank so that it is supposed to run all failure steps, then I'm getting no e-mail notification. I have created a simple Project Step (vbscript) that will fail everytime and I cannot get it to run the failure step. Version is 6.1 Thanks --Mark |
#2
|
|||
|
|||
Building the attached project, I get the expected output of
Building project step 'Project steps'... Building project step 'Run Script'... Error in Run Script (VBScript) script code at Line 1, Column 11 (Expected end of statement) Code: code that should fail to run Step 'Run Script' failed Building failure step 'Send Mail'... ... Also note that when doing Rebuild Selected (rather than Build or Rebuild), failure steps are not executed if a step fails to build. If that is not the issue here, please send or post your bld file. Thanks. |
#3
|
|||
|
|||
Ahhh, I was always doing "Rebuild Selected" and expecting it work. I just wanted to see it work before modifying my entire project to use this failure step.
If I do the full build then it works. Thank you. |
#4
|
|||
|
|||
In that case, you could use Build from Cursor or Start from Cursor (resetting first if the step is marked completed).
http://www.visualbuild.com/Manual/methodsofbuilding.htm |
Thread Tools | |
Display Modes | Rate This Thread |
|
|