import hudson.model.*
It worked fine for me in my groovy scripts and i was able to able use
access jenkins classes.Can i know which version of jenkins are you using.As
far i now in jewnkins 2.7.4 ,there are some security updates
On Tuesday, 18 October 2016 01:10:01 UTC+5:30, ZT wrote:
>
> Hello
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