On Wednesday, February 18, 2015 at 6:18:03 PM UTC-5, Jos Backus wrote:
>
> How does one reference workflow steps like sh and build from inside an
> instance method? Using them unqualified yields a no method error.
If you are using the global class library system, read
https://github.com/jenkin
I tried that as I saw someone else suggest that, but I could not get it to
work. Then I found somewhere in the Github docs that this doesn't work,
presumably because serializing Groovy classes isn't supported. So I ended up
using a closure for the effect I was after, and that worked.
Thanks for
Should/couldn't you pass this from the base context to your instance method
and then do something like ctx.sh in that method (with ctx=this when
creating your instance)
Le 19 févr. 2015 00:18, "Jos Backus" a écrit :
> Hi,
>
> How does one reference workflow steps like sh and build from inside an
Hi,
How does one reference workflow steps like sh and build from inside an instance
method? Using them unqualified yields a no method error.
Thanks,
Jos
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop