erkonline
5 years agoNew Contributor
Calling a pipeline/task from curl command
I have created a pipeline/task and called that using curl command and it is returning the document which is available in the last snap. I have added error pipeline to it. Called main pipeline/task using curl again. When there is no error it is returning the document which is available in the last snap(from main pipeline) as expected but when there is failure it is simply returning instead of last snap output in the error pipeline. how to return some value to curl command when pipeline is failed and entered in error pipeline.