Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

tasks/*/dependsOn [Success/Failure]? #107

Open
A139834 opened this issue Oct 12, 2017 · 1 comment
Open

tasks/*/dependsOn [Success/Failure]? #107

A139834 opened this issue Oct 12, 2017 · 1 comment

Comments

@A139834
Copy link

A139834 commented Oct 12, 2017

Hi,
Often if a job is composed of many stages it is necessary to perform clean up activities if a certain stage fails.

Is there some way to specify the equivalent of the try-catch-finally finally block(s) so that failures can be caught and cleanup activities can be specified? Or maybe a dependsOnSuccess/dependsOnFailure type specification could be added?

Thanks

@A139834 A139834 closed this as completed Oct 12, 2017
@A139834 A139834 reopened this Oct 12, 2017
@alexanderdean
Copy link
Contributor

Really cool idea! I like the try-catch-finally analogy. Thanks for the suggestion

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants