#1
|
|||
|
|||
Error summary
Hello,
is it possible to send an email at the end of a build with a unique message listing all failed steps? The steps are obviously set to Continue on failure but if I define a failure step (send email) I get an email for each failed step. Thanks in advance |
#2
|
|||
|
|||
In the (continue) failure step, append the FAILSTEP info to a temporary macro, then include that macro's contents in a Send Mail step at the end of the build.
|
#3
|
|||
|
|||
Yes I had the same idea. So I defined a FAILED_STEPS in the Project (Macros). In Failure steps is a Run Script (vbscript):
FAILED_STEPS = FAILED_STEPS + " - " + %FAILSTEP_NAME% At the end of build steps there is a Run script: Builder.LogMessage "Result: " + FAILED_STEPS The result is always an empty string.. Probably I'm get confusing about macros and variables.. |
#4
|
|||
|
|||
See attached sample.
|
#5
|
|||
|
|||
Great! Thank you! I got confused about the concept of macro but now it's clear for me!
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|