On Mon, Aug 10, 2015 at 10:30 AM, Lakshmi Narasimhan Vaikuntam
<[email protected]> wrote:
> public class A {
You must: `extends AbstractDescribableImpl<A>` and create `A/config.jelly`.
> @DataBoundConstructor
> public A( String arg1, String arg2) {
> }
You also need public getters for these.
> @Extension
`@Extension` goes on the descriptor, not the describable.
> public class MyStep{
`extends SCMStep`?
> @DataBoundConstructor
> public MyStep(A arg) {
> }
Again need a getter for `arg`.
> Is there any way to overcome this problem with the snippet generator without
> adding a dummy parameter?
I suspect this is the same problem as filed in JENKINS-29711. There is
no workaround other than documenting that in current Workflow releases
the required syntax is
mystep arg: [arg1: '…', arg2: '…']
--
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/CANfRfr3Fj1iFRCePJGK7Y8wbAn6A%3DMaamGqucTmQKx%2BqA-5ziw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.