Jenkins Groovy - Trying to load a JDBC driver

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Jenkins Groovy - Trying to load a JDBC driver

the.n...@gmail.com
Can someone throw some light on this, please? I am trying to load a JDBC type 4 driver from the local system (no agents involved) in order to update a database during deployment. The classLoader.rootLoader is null in the Jenkins groovy container, so I'm not sure how to accomplish this. The pipeline is not running in a groovy sandbox - all sorts of issues came up when it was, like using the File object.

Thanks,
Randall

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/60009954-adf6-47ab-a7bd-10686d05e4f1o%40googlegroups.com.