Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

How to handle errors (e.g. component, pipeline and network error) and send error message automatically by email #5

Open
RTewolde opened this issue Nov 19, 2018 · 1 comment

Comments

@RTewolde
Copy link

No description provided.

@edgano
Copy link

edgano commented Nov 22, 2018

A way to get it is using onError

workflow.onError {
    println "Oops... Pipeline execution stopped with the following message: ${workflow.errorMessage}"
}

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