Hi all,

I am implementing the pipeline functionality for an existing plugin.
Currently, on an eventual error the plugin sets the build status to
FAILURE: the build continues executing all the build steps after the
current one, and its status is set to failure, as expected.

But I would like the build to stop right after this step execution,
skipping all the following steps . On some SO posts I have found that the
ABORTED step should be preferred to FAILURE to obtain this behavior. Is
this right? I am persuaded that the official Javadoc documentation is
unclear. Has somebody a better explanation/documentation about the build
Result(s) codes?

Many thanks in advance,
Ivo

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF8Kif5jUUu9hf7h%2Bo%3DzMuqPY8cXxzacRwzQcrG7hunkNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to