On Mon, Aug 10, 2015 at 10:30 AM, Lakshmi Narasimhan Vaikuntam
<
vaikuntam....@gmail.com> 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: '…']