Not really following what you are trying to do, but what you have
tried is not going to work.

Keep it simple. Define Pipeline steps that return simple primitive
types or structs with `@Whitelisted` getters, and which take argument
types which are mappable via Jenkins databinding, which limits them
basically to `String`, `boolean`, and some `Describable`
constructions. If you really need a higher-level convenience DSL,
write it in Groovy using those steps, plus existing ones like `sh`, as
building blocks.

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

Reply via email to