09-19-2017 05:19 AM
Hi guys,
Would you know if it is possible, in case of scheduled pipeline run failure, to rerun it until it’s successful?
A Kind of retry until completes successful.
Thanks,
09-19-2017 11:50 AM
Yes. what you described can be done by a couple of pipelines utilizing Pipeline Monitoring API
The basic idea is to capture parameters in runtime history and rerun the failed pipeline with the captured parameters. This solution only work for a subset of the pipelines that meet following pre-requisites:
Pre-requisites:
Sample pipelines:
Here’s what you would see in the Dashboard for the testing:
As a general discussion, I am not going into the detail of how do you define successfulness.
Job-DoSomething_2017_09_19 (1).slp (2.4 KB)
Runtime-List_2017_09_19.slp (4.6 KB)
pipeRerunByRuuid_2017_09_19.slp (5.7 KB)
09-20-2017 06:21 AM
Thanks eguo, another good and well described answer from your side.
Let me review this.
Thanks,