On Tue, Jan 2, 2018 at 11:54 PM, Rijo Simon <[email protected]> wrote:
> I have a created a DSL plugin as documented at the end of this link:
> https://jenkins.io/blog/2016/04/21/dsl-plugins/ (Check Making it a plugin).

I would strongly advise you not to use the builder pattern
(`Closure.DELEGATE_FIRST` etc.) shown in that blog post and the source
of the error you saw. Use plain function arguments or a `Map`-valued
parameter.

I would also advise you not to package DSLs in plugins. You can use

@Library('github.com/myacct/myrepo') _

to distribute a library directly—in which case this indeed becomes a
users’ list question.

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

Reply via email to