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 |
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.
|
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.. |
1 Attachment(s)
See attached sample.
|
Great! Thank you! I got confused about the concept of macro but now it's clear for me!
|
All times are GMT -5. The time now is 12:18 AM. |
Copyright © 1999-2023 Kinook Software, Inc.