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" <j...@catnook.com> a écrit :

> 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 receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/ba4ef6ef-80db-4530-b79a-321d518b66ce%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5TgD%3DSFe2QQoDHqaumVYxwzxBHQ5ZS7V9NLfLuHxiHLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to