Hello,

I have written some custom groovy scripts (bundled as Jars) which need to 
access the class jenkins.model.Jenkins

I have my custom JARS installed into Jenkins and they are loaded properly 
(verified through the Jenkins Script Console). However, When my script 
imports jenkins.model.Jenkins, it fails with a NoClassDef error.

I can see the jenkins core jar in /var/jenkins_home/war/WEB-INF/lib but 
they do not seem to be visible to my scripts. 

I am guessing this is either a classloader or a security restriction. 

Any pointers to resolve this would be appreciated.

Regards,
Rahul

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/52c1baf1-e1fe-4583-ab6a-2a0307e9f37c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to