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, which will get the

Re: Execute groovy script in Masters throwing error

2014-08-14 Thread Eric Pyle
I think you need to import the classes containing those items that don't resolve. I don't have the doc in front of me so I can't check what class to import On Aug 14, 2014 3:04 PM, "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