On Fri, Jan 26, 2018 at 5:46 AM, Robert Sandell <[email protected]> wrote:
> http://javadoc.jenkins-ci.org/hudson/model/Run.html#setResult-hudson.model.Result-
>
> On the run instance you got as a parameter in the perform method.

No, that is not the best style. It will interact poorly with other
Pipeline features.

Simpler and better to throw an `AbortException` with the message of your choice.

-- 
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/CANfRfr0K5bocSm3MmWXsnVAsvxXt7Kps9P_rBMHjEg49KtsLFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to