It's the same instance. On 04.03.2015, at 14:02, Sverre Moe <[email protected]> wrote:
> The Groovy Postbuild plugin exposes some predefined variables like. > • hudson - the current Hudson instance (javadoc). > > I have checked the Javadoc and it looks like much of hudson instance is > deprecated. > > getInstance() > Deprecated. > Here only for compatibility. Use Jenkins.getInstance() instead. > > Perhaps this plugin should be updated to expose instead: > • jenkins - the current Jenkins instance (javadoc). > > In the mean time till this is updated/fixed in the plugin how do I get the > jenkins instance myself? > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/1477128d-edec-4860-9a11-473ae942aaf8%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/763D3776-14DD-4C36-A021-D77A965F2262%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
