On Fri, Jan 24, 2020 at 10:36 AM silkperformer
<[email protected]> wrote:
> I need to use a library installed on slave.
>
> Till JDK8 I used a hack to load this library:

Do not do that in any version.

> Is there a way to add a jar installed on the slave to the classpath

No; you may create a _new_ `URLClassLoader` and load classes from it
reflectively.

-- 
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/CANfRfr2ngEfpvD6UKUc4Vdi3FhfQxme%2BZ6NSzFLTv82O3QXP4g%40mail.gmail.com.

Reply via email to