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
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.


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