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.
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 view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.