Jenkins Groovy - Trying to load a JDBC driver

8 views
Skip to first unread message

Randall Becker

unread,
Aug 18, 2020, 4:43:21 PM8/18/20
to Jenkins Users
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
Reply all
Reply to author
Forward
0 new messages