All,

This might be a very simple answer, but I am stuck!

I have a task that needs to query data from a database, and then trigger 
builds, set parameters, etc.

I have half a script that queries the database, using the jdbc driver 
(provided in a jar file), and another half of the script that does the 
stuff with the Jenkins objects.

However, I can't call the jenkins libraries from a 'normal' groovy task, 
and I can't load the jar file for the jdbc driver in the system groovy 
task, where I can access the Jenkins libraries.

When the normal task runs this (I think) spawns a new groovy task, and the 
class loaders pick up the jar file from the GROOVY_HOME\lib folder. Where 
would the system task be looking ?

Thanks

Mark H

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to