Re: Execute groovy script in Masters throwing error

2014-08-14 Thread suchit biswal
yes I imported the packages, and copyied the hudsion-core.jar to the lip folder in masters resolved the issue On Thursday, August 14, 2014 12:04:31 PM UTC-7, suchit biswal wrote: > > Hi Folks, > > I am trying to execute the following groovy script as part of my build > step,

Execute groovy script in Masters throwing error

2014-08-14 Thread suchit biswal
Hi Folks, I am trying to execute the following groovy script as part of my build step, which will get the latest build number for a job and will insert as a env variable of the current job Please help me resolving this. *def item = hudson.model.Hudson.instance.getItem("SDPAutomationExecuti