This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Executes given params.task closure and if it fails, asks the user if it should be retried. | |
* The task will then be executed again. If the user clicks abort, an exception will be | |
* thrown aborting the pipeline. | |
* | |
* After the task either completes successfully or after the user clicks abort, | |
* the params.andFinally closure will be executed. | |
* | |
* Usage: | |
* <pre><code> |