Jenkins Groovy - Trying to load a JDBC driver

Sett 8 ganger
Hopp til første uleste melding

Randall Becker

ulest,
18. aug. 2020, 16:43:2118.08.2020
til 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
Svar alle
Svar til forfatter
Videresend
0 nye meldinger