On Wed, Aug 31, 2016 at 8:59 AM,  <[email protected]> wrote:
> it's
> better to separate it - especially when you have a builder and recorder in
> one plugin and you'd like to make it a one step in pipeline.

If there is a reason for these to be separate in a freestyle project,
why should a Pipeline script be obliged to run both in conjunction?

> In what cases it's advised to separate? and not share code?

· you need to write an asynchronous step
· you need to use some more advanced Pipeline APIs (e.g., adding an
`Action` to a `FlowNode`)
· there is no way the current `SimpleBuildStep`/`SimpleBuildWrapper`
databinding could work sensibly in a Pipeline script

-- 
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/CANfRfr3Br6B7fXhik%3DX%3DDHEVG%2BTrcq6Kb0PL8hDNgjGvW%3DwN3Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to