I have a pipeline with a bunch of stages. The build can fail at any stage.
In post, I send the result of the build to a discord channel.
I’d like to be more specific with this message and include the errors encountered in the build.
Is there anyway to retrieve the list of errors and append them to my message?
Seems like it should be quite straight forward but I can’t find the proper variable with that info.
Hi, I want to do the exact same thing. have you found a way?
I used “try” “catch” to get the error then send it to discord post failure but I only caught very generic errors such as “script returned exit code 6”. which is not very helpful.
I never received a response or found a solution myself.
I did hear about the try catch method. It seems over complicated when there are multiple steps in the pipeline.