Unable to show the user configured output message in the Internal Developer Portal execution view if pipeline fails
planned
H
High Ant
Trying to output an error message to the Internal Developer Portal (IDP) execution view if pipeline fails. It shows the output message only if the pipeline succeeds but unable to do so for explicit pipeline failure.
Log In
Canny AI
Merged in a post:
IDP Workflow - Output Message on Failure
Y
Yellow green Deer
When using the IDP workflows. I would like to be able to pass an output back from the pipeline. I can do this quite easily on steps that are successful.
However I'd like to also handle failures so I can advise the user why something failed, without them having to dig into the idp log, find the pipeline url, identify the step and see on the console there. It's not a very good developer experience, and you have to know its possible to drilldown.
I want to return back why something failed so they can see it all within the IDP execution screen easily.
From what I can tell output variables don't get set when a script is exited, so I can't set it within a script that fails, and then reference as an IDP output.
Need a way to return back a custom message when a step fails to the IDP execution screen.
Himanshu Mishra
planned
Himanshu Mishra
under review