On Wed, Jan 3, 2018 at 1:50 PM, Sharon Grubner <[email protected]> wrote:
> requires all users to know the
> declarative pipeline syntax

Why not just use the Declarative visual editor in Blue Ocean, for
users unfamiliar with the syntax?

> does not allow sharing common functions and
> practices.

You can use Groovy libraries from Declarative, with certain restrictions.

I am not sure I see the point here. If you want to expose a
programmatic interface to users, then why are you using Declarative at
all? You can publish libraries for use from Scripted which offer
reusable functional chunks of all kinds already (including
“higher-order” functions such as control operators), and this would be
much more direct as your script would be the Groovy that actually
runs, rather than a builder that creates a script that is interpreted
by Declarative to create something to run. Maybe I am just not
following what your tool actually does.

-- 
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/CANfRfr1_KFxTjnEiddcwZv%3D7jndJvgX%2BgRp%3DUL5DeB5bmx%2B7%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to